aconnect_sse#

langchain_community.chat_models.zhipuai.aconnect_sse(client: Any, method: str, url: str, **kwargs: Any) AsyncIterator[source]#

Async 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:

AsyncIterator