langchain_community.chat_models.minimax
.connect_httpx_sseΒΆ
- langchain_community.chat_models.minimax.connect_httpx_sse(client: Any, method: str, url: str, **kwargs: Any) Iterator [source]ΒΆ
Context manager for connecting to an SSE stream.
- Parameters
client (Any) β The httpx client.
method (str) β The HTTP method.
url (str) β The URL to connect to.
kwargs (Any) β Additional keyword arguments to pass to the client.
- Yields
An EventSource object.
- Return type
Iterator