瀏覽代碼

add tools to the chat api in the readme (#122)

Bruce MacDonald 11 月之前
父節點
當前提交
8ab57ca32b
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      README.md

+ 1 - 0
README.md

@@ -72,6 +72,7 @@ ollama.chat(request)
   - `format` `<string>`: (Optional) Set the expected format of the response (`json`).
   - `format` `<string>`: (Optional) Set the expected format of the response (`json`).
   - `stream` `<boolean>`: (Optional) When true an `AsyncGenerator` is returned.
   - `stream` `<boolean>`: (Optional) When true an `AsyncGenerator` is returned.
   - `keep_alive` `<string | number>`: (Optional) How long to keep the model loaded.
   - `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.
   - `options` `<Options>`: (Optional) Options to configure the runtime.
 
 
 - Returns: `<ChatResponse>`
 - Returns: `<ChatResponse>`