Antonio Jimenez

Results 9 comments of Antonio Jimenez

I'm having the same issue. However, in my case, my deployment is also called `text-embedding-ada-002` too but it's failing with the following error: `InvalidRequestError: Too many inputs for model None....

Actually, by reading the error again, it seems like it's not related to the name of the model and azure just throttling. So, in order to configure langchain embeddings properly,...

@floleuerer wait, there's no `AzureOpenAIEmbeddings`, is there? Were you referring to `AzureOpenAI` instead?

Thanks for confirming. Got excited to think they had a version for Azure! Although it doesn't make a big difference as it's just a config matter. I just got to...

Gotcha! I'll try to fork the new version this week.

> I ran into the same issue with the chunk_size and Embeddings in Azure OpenAI Services and provided a fix. The easiest way is to initialize your OpenAIEmbeddings with chunk_size=1...

> Actually, by reading the error again, it seems like it's not related to the name of the model and azure just throttling. > > So, in order to configure...

> > embeddings = OpenAIEmbeddings(chunk_size=1) > > This also worked for me. Thanks! > > However, what are the implications of setting chunk size to 1? I think latency (costs...