Find answers from the community

Updated last year

Azure

Hi, I'm trying to implement AzureOpenAI using the exact code here: https://gpt-index.readthedocs.io/en/latest/examples/customization/llms/AzureOpenAI.html however it keeps telling me I need to include a deployment_id or engine parameter to create an embedding class. Yet, when i add "engine" or "deployment_id" it says it's not a valid parameter.
L
J
4 comments
Did you call the set_global_service_context(...) part?
ah okay that fixes that issue but now there's also an error relating to embed_model not having a callback attribute which arises inside the service context. it refers to embed_model as a tuple.
Did you set the embed model the same as the demo code?
Add a reply
Sign up and join the conversation on Discord