Skip to content

Commit

Permalink
docs: remove create example from README (ollama#199)
Browse files Browse the repository at this point in the history
This got missed during API updates.
  • Loading branch information
BruceMacD authored and AbdulrhmanGoni committed Jan 28, 2025
1 parent ed85f8b commit 4d094cd
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

The Ollama JavaScript library's API is designed around the [Ollama REST API](https://github.com/jmorganca/ollama/blob/main/docs/api.md)
Expand Down

0 comments on commit 4d094cd

Please sign in to comment.