Skip to content

Conversation

ykoh42
Copy link
Contributor

@ykoh42 ykoh42 commented Mar 1, 2025

This PR includes the following changes:

  1. Fix embedding model selection
  1. Add an EmbeddingsExample
  • Added an example for embedding usage to improve documentation and clarity.

ykoh42 added 2 commits March 1, 2025 13:21
…ions

TEXT_EMBEDDING_ADA_002 does not support the `dimensions` option,
so the model has been changed to TEXT_EMBEDDING_3_SMALL to ensure proper functionality.
@ykoh42 ykoh42 requested a review from a team as a code owner March 1, 2025 04:54
@ykoh42 ykoh42 changed the base branch from main to next March 1, 2025 04:54
@TomerAberbach TomerAberbach merged commit e1b68de into openai:next Mar 5, 2025
2 checks passed
@stainless-app stainless-app bot mentioned this pull request Mar 5, 2025
TomerAberbach added a commit that referenced this pull request Mar 5, 2025
* docs: note required fields in `builder` javadoc (#272)

* chore(client): expose `Optional`, not nullable, from `ClientOptions` (#274)

* fix(api): add missing file rank enum + more metadata (#276)

* docs: add audio transcription example

* docs: embeddings example (#263)

* fix: change model to TEXT_EMBEDDING_3_SMALL due to unsupported dimensions

TEXT_EMBEDDING_ADA_002 does not support the `dimensions` option,
so the model has been changed to TEXT_EMBEDDING_3_SMALL to ensure proper functionality.

* docs: add `EmbeddingsExample`

* release: 0.31.1

---------

Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
Co-authored-by: Tomer Aberbach <[email protected]>
Co-authored-by: Ykoh <[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