Skip to content

Commit

Permalink
add tools to the chat api in the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
BruceMacD committed Jul 29, 2024
1 parent 8d5e8e0 commit 52fc7a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ ollama.chat(request)
- `format` `<string>`: (Optional) Set the expected format of the response (`json`).
- `stream` `<boolean>`: (Optional) When true an `AsyncGenerator` is returned.
- `keep_alive` `<string | number>`: (Optional) How long to keep the model loaded.
- `tools` `<Tool[]>`: (Optional) A list of tool calls the model may make.
- `options` `<Options>`: (Optional) Options to configure the runtime.

- Returns: `<ChatResponse>`
Expand Down

0 comments on commit 52fc7a7

Please sign in to comment.