Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option to use Azure endpoints for the /completions & /search operations. #45

Merged
merged 9 commits into from
Jan 22, 2022

Conversation

sorinsuciu-msft
Copy link
Contributor

No description provided.

@sorinsuciu-msft sorinsuciu-msft changed the title Add an option to use Azure endpoints for the /completions operation. Add an option to use Azure endpoints for the /completions & /search operations. Nov 23, 2021
Copy link
Collaborator

@kennyhsu5 kennyhsu5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added some comments to see if we can simplify this. Let me know if anything doesn't make sense.

Overall, I think it would be great if we could avoid having an api_type and then having to switch implementations internally based on that.

openai/api_resources/abstract/api_resource.py Show resolved Hide resolved
openai/api_resources/abstract/api_resource.py Outdated Show resolved Hide resolved
openai/api_requestor.py Outdated Show resolved Hide resolved
@kennyhsu5 kennyhsu5 merged commit c93af95 into openai:main Jan 22, 2022
baseprime pushed a commit to breezerfp/breeze-openai that referenced this pull request Mar 20, 2024
* Revamp cli args (openai#45)

* Rachel/follow (openai#46)

* Add fine_tunes.follow. Add better error handling for disconnected streams

* return early

* fix an oops

* lint

* Nicer strings

* ensure end token is not applied to classification (openai#44)

* ensure end token is not applied to classification

* black

Co-authored-by: Boris Power <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants