Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Hallacy/11 4 release #54

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

Merged
merged 6 commits into from
Dec 14, 2021
Merged

Hallacy/11 4 release #54

merged 6 commits into from
Dec 14, 2021

Conversation

hallacy
Copy link
Collaborator

@hallacy hallacy commented Dec 13, 2021

  • Answers and Classification endpoints now have their own prepare_data functions, similar to search
  • Moved the utils file used in the embeddings examples to embeddings_utils. This will allow the code to be imported
  • Changed the default api_prefix to be "" and instead moved that logic into init.py. You might need to update any local OPENAI_API_BASE that you've set.

hallacy and others added 6 commits December 13, 2021 14:09
* Make embeddings_utils be importable

* Small tweaks to dicts for typing
* Remove default api_prefix and move v1 prefix to default api_base

* Run black and isort
It's almost never set, and sometimes doesn't even make sense.
#93)

* Break out prepare_data into answers, classifications, and search

* And cleaned up CLI
* Add validators for search files

* Clean up fields
Copy link
Collaborator

@BorisPower BorisPower left a comment

Choose a reason for hiding this comment

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

Wow, nice!

@hallacy hallacy merged commit b39bddd into main Dec 14, 2021
@hallacy hallacy deleted the hallacy/11_4_release branch December 14, 2021 00:32
cgayapr pushed a commit to cgayapr/openai-python that referenced this pull request Dec 14, 2024
* Make embeddings_utils be importable (openai#104)

* Make embeddings_utils be importable

* Small tweaks to dicts for typing

* Remove default api_prefix and move v1 prefix to default api_base (openai#95)

* make construct_from key argument optional (openai#92)

* Split search.prepare_data into answers/classifications/search versions (openai#93)

* Break out prepare_data into answers, classifications, and search

* And cleaned up CLI

* Validate search files (openai#69)

* Add validators for search files

* Clean up fields

Co-authored-by: kennyhsu5 <[email protected]>
Co-authored-by: Madeleine Thompson <[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.

4 participants