Unverified Commit fa75998c authored by Matt Williams's avatar Matt Williams Committed by GitHub
Browse files

Update examples/typescript-simplechat/readme.md


Co-authored-by: default avatarBruce MacDonald <brucewmacdonald@gmail.com>
parent 5344f886
# Simple Chat Example
The **chat** endpoint is one of two ways to generate text from an LLM with Ollama. At a high level you provide the endpoint an array of objects with a role and content specified. Then with each output and prompt, you add more of those role/content objects, which builds up the history.
The **chat** endpoint is one of two ways to generate text from an LLM with Ollama. At a high level you provide the endpoint an array of message objects with a role and content specified. Then with each output and prompt, you add more messages, which builds up the history.
## Review the Code
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment