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
When embedding file, it is error. Why, because Open AI Azure base url is NOT really base url. It doesn't work unless you put the full URL for chat completion. Meanwhile OpenAI Azure has DIFFERENT url for each model and task and purpose.
Expected behavior
Embedding not error and success.
Steps to reproduce
Setup OpenAI Azure model, setup LLM and embedding BOTH to OpenAI Azure.
Go to Knowledge base, upload any file pdf, and see error Unsupported data type.
Additional information
No response
The text was updated successfully, but these errors were encountered:
So, what kind of file you did you upload and what chunking method did you choose?
I was uploading pdf file, I'm using default chunking method ("General").
I believe the root cause is the url path put in the setting. Azure OpenAI has different path and different model names for each usage. We can't put one url config for multiple purpose (LLM, Embedding, etc). It has to be one url per model as each has different "Deployment Name".
Since the configuration validate for chat completion, the embedding doesn't work.
Is there an existing issue for the same bug?
Branch name
main
Commit ID
main
Other environment information
Actual behavior
When embedding file, it is error. Why, because Open AI Azure base url is NOT really base url. It doesn't work unless you put the full URL for chat completion. Meanwhile OpenAI Azure has DIFFERENT url for each model and task and purpose.
Expected behavior
Embedding not error and success.
Steps to reproduce
Additional information
No response
The text was updated successfully, but these errors were encountered: