.env
file.
<LLM />
component and the LLM API.
Implement the chat app logic in the Python function and use the yield
to stream the chat logs, allowing the <LLM />
component to automatically display the streaming results.
postData
attribute of the <LLM />
component takes prompt
and thread_id
as arguments.