AzureOpenAI client - can't define full URL #17990
Unanswered
martimfasantos
asked this question in
Q&A
Replies: 1 comment
-
Hello @martimfasantos! I'm here to help you with your AzureOpenAI client issue. Let's get this sorted out! To define a custom full URL for the self.model = AzureOpenAI(
engine=settings.azure_deployment_name,
azure_endpoint="https://<company-specific>.azure-api.net/openai-inov-lab/",
api_version=settings.azure_api_version,
api_key=settings.azure_api_key.get_secret_value(),
) Make sure that the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Is there a way of defining a custom full URL for the
AzureChatOpenAI
class?? I am having trouble making request to URLs like this:https://[company-specific].azure-api.net/openai-inov-lab/deployments/[deployment-name]
My current code:
Beta Was this translation helpful? Give feedback.
All reactions