瀏覽代碼

docs: remove create example from README (#199)

This got missed during API updates.
Bruce MacDonald 3 月之前
父節點
當前提交
b95d44c005
共有 1 個文件被更改,包括 0 次插入12 次删除
  1. 0 12
      README.md

+ 0 - 12
README.md

@@ -40,18 +40,6 @@ for await (const part of response) {
 }
 }
 ```
 ```
 
 
-## Create
-
-```javascript
-import ollama from 'ollama'
-
-const modelfile = `
-FROM llama3.1
-SYSTEM "You are mario from super mario bros."
-`
-await ollama.create({ model: 'example', modelfile: modelfile })
-```
-
 ## API
 ## API
 
 
 The Ollama JavaScript library's API is designed around the [Ollama REST API](https://github.com/jmorganca/ollama/blob/main/docs/api.md)
 The Ollama JavaScript library's API is designed around the [Ollama REST API](https://github.com/jmorganca/ollama/blob/main/docs/api.md)