Skip to main content
This function creates a chat stream. By using the MorphChatStreamChunk returned by this function and passing it to <Chat/>, you can build a chat application utilizing LLM.
morph_lib.stream

Parameters

str
Text to be displayed in the chat stream.

Example