connect_sse#
- langchain_community.chat_models.zhipuai.connect_sse(
- client: Any,
- method: str,
- url: str,
- **kwargs: Any,
Context manager for connecting to an SSE stream.
- Parameters:
client (Any) – The HTTP client.
method (str) – The HTTP method.
url (str) – The URL.
kwargs (Any) – Additional keyword arguments.
- Yields:
The event source.
- Return type:
Iterator