Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
π
π
π
Powered by
Hall
Inactive
Updated last year
0
Follow
Azure
Azure
Inactive
0
Follow
J
James_ws
last year
Β·
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
Share
Open in Discord
L
Logan M
last year
Did you call the
set_global_service_context(...)
part?
J
James_ws
last year
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.
L
Logan M
last year
Did you set the embed model the same as the demo code?
J
James_ws
last year
yes
Add a reply
Sign up and join the conversation on Discord
Join on Discord