-
Notifications
You must be signed in to change notification settings - Fork 15.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
community: Update azureml endpoint #28953
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Skipped Deployment
|
) | ||
if field_value == AzureMLEndpointApiType.serverless and not ( | ||
endpoint_url.endswith("/completions") # type: ignore[union-attr] | ||
or endpoint_url.endswith("/chat/completions") # type: ignore[union-attr] | ||
or endpoint_url.endswith("/models/chat/completions") # type: ignore[union-attr] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this check add anything? if it ends with /models/chat/completions
, it already ends with /chat/completions
(or even just /completions
), right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, i could have removed it. Sorry about that, my bad.
- In this PR, I have updated the AzureML Endpoint with the latest endpoint. - **Description:** I have changed the existing `/chat/completions` to `/models/chat/completions` in libs/community/langchain_community/llms/azureml_endpoint.py - **Issue:** langchain-ai#25702 --------- Co-authored-by: = <=>
/chat/completions
to/models/chat/completions
in libs/community/langchain_community/llms/azureml_endpoint.py