agenerate_from_stream#
- async langchain_core.language_models.chat_models.agenerate_from_stream(stream: AsyncIterator[ChatGenerationChunk]) ChatResult [source]#
Async generate from a stream.
- Parameters:
stream (AsyncIterator[ChatGenerationChunk]) – Iterator of ChatGenerationChunk.
- Returns:
Chat result.
- Return type: