Trying out the Lightrag_azure_openai_demp.py and I got mostly everything working. I have access to azure openai's text-embedding-3-small and text-embedding-3-large models.
When it gets to the code with the embeddings model, I keep running into this issue:
OperationNotSupported","message":"The chatCompletion operation does not work with the specified model, text-embedding-3-small
which seems like the chatCompletion functionality does not work with embeddings model? Anyone happen to run into this issue or had to use a different azure model for the embeddings section?
Another try I did was changed the model in the embeddings section to a gpt4 model instead to see what happens. It gets stuck with this error during the testing function and when trying to insert a book txt file.
ValueError: Request failed with status 400: Unsupported data type
So would anyone happen to have any success with getting this script to run, and if so, what kind of model did you use in the embeddings section? Maybe I'm supposed to be using a different azure openai model?
Trying out the Lightrag_azure_openai_demp.py and I got mostly everything working. I have access to azure openai's text-embedding-3-small and text-embedding-3-large models.
When it gets to the code with the embeddings model, I keep running into this issue:
OperationNotSupported","message":"The chatCompletion operation does not work with the specified model, text-embedding-3-small
which seems like the chatCompletion functionality does not work with embeddings model? Anyone happen to run into this issue or had to use a different azure model for the embeddings section?
Another try I did was changed the model in the embeddings section to a gpt4 model instead to see what happens. It gets stuck with this error during the testing function and when trying to insert a book txt file. ValueError: Request failed with status 400: Unsupported data type
So would anyone happen to have any success with getting this script to run, and if so, what kind of model did you use in the embeddings section? Maybe I'm supposed to be using a different azure openai model?
Thank you.