mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-21 18:39:57 +00:00
community[patch]: Support Streaming in Azure Machine Learning (#18246)
- [x] **PR title**: "community: Support streaming in Azure ML and few naming changes" - [x] **PR message**: - **Description:** Added support for streaming for azureml_endpoint. Also, renamed and AzureMLEndpointApiType.realtime to AzureMLEndpointApiType.dedicated. Also, added new classes CustomOpenAIChatContentFormatter and CustomOpenAIContentFormatter and updated the classes LlamaChatContentFormatter and LlamaContentFormatter to now show a deprecated warning message when instantiated. --------- Co-authored-by: Sachin Paryani <saparan@microsoft.com> Co-authored-by: Bagatur <baskaryan@gmail.com>
This commit is contained in:
@@ -2,10 +2,10 @@ from langchain_community.llms.azureml_endpoint import (
|
||||
AzureMLEndpointClient,
|
||||
AzureMLOnlineEndpoint,
|
||||
ContentFormatterBase,
|
||||
CustomOpenAIContentFormatter,
|
||||
DollyContentFormatter,
|
||||
GPT2ContentFormatter,
|
||||
HFContentFormatter,
|
||||
LlamaContentFormatter,
|
||||
OSSContentFormatter,
|
||||
)
|
||||
|
||||
@@ -16,6 +16,6 @@ __all__ = [
|
||||
"OSSContentFormatter",
|
||||
"HFContentFormatter",
|
||||
"DollyContentFormatter",
|
||||
"LlamaContentFormatter",
|
||||
"CustomOpenAIContentFormatter",
|
||||
"AzureMLOnlineEndpoint",
|
||||
]
|
||||
|
Reference in New Issue
Block a user