瀏覽代碼

Update README.md

Co-authored-by: Jeffrey Morgan <jmorganca@gmail.com>
Bruce MacDonald 1 年之前
父節點
當前提交
6305023e59
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -187,7 +187,7 @@ A custom client can be created with the following fields:
 - `fetch` `<Object>`: (Optional) The fetch library used to make requests to the Ollama host.
 
 ```javascript
-import { Ollama } from '../src/index'
+import { Ollama } from 'ollama'
 
 const ollama = new Ollama({ host: 'http://localhost:11434' })
 const response = await ollama.chat({