Find answers from the community

Updated 3 months ago

AzureOpenAI

Looking at the docs posted by
Plain Text
llm = AzureOpenAI(
    engine="my-custom-llm",
    model="gpt-35-turbo-16k",
    temperature=0.0,
    azure_endpoint="https://<your-resource-name>.openai.azure.com/",
    api_key="<your-api-key>",
    api_version="2023-07-01-preview",
)


if you use the latest llama index & openai, did api_base get deprecated and became azure_endpoint ?
https://github.com/run-llama/llama_index/blob/main/docs/examples/llm/azure_openai.ipynb
W
L
2 comments
Yea, just the way you instansiate azure has changed ever so slightly, since there was a new openai client released
Add a reply
Sign up and join the conversation on Discord