You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the OpenAIEmbedding class supports a dimensions parameter to specify the embedding size, but the AzureOpenAIEmbedding class does not. It would be beneficial to have this option in AzureOpenAIEmbedding as well.
Example Use Case with OpenAIEmbedding:
from llama_index.embeddings.openai import OpenAIEmbedding
embed_model = OpenAIEmbedding(
model="text-embedding-3-large",
dimensions=512,
)
embeddings = embed_model.get_text_embedding(
"Open AI new Embeddings models with different dimensions is awesome."
)
print(len(embeddings))
Reason
No response
Value of Feature
No response
The text was updated successfully, but these errors were encountered:
Feature Description
Currently, the OpenAIEmbedding class supports a dimensions parameter to specify the embedding size, but the AzureOpenAIEmbedding class does not. It would be beneficial to have this option in AzureOpenAIEmbedding as well.
Example Use Case with OpenAIEmbedding:
Reason
No response
Value of Feature
No response
The text was updated successfully, but these errors were encountered: