Skip to content

Commit

Permalink
Change embeddings doc to embed
Browse files Browse the repository at this point in the history
  • Loading branch information
BruceMacD committed Jul 19, 2024
1 parent fdae8fe commit 8ffd25a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,10 @@ ollama.show(request)
- `options` `<Options>`: (Optional) Options to configure the runtime.
- Returns: `<ShowResponse>`

### embeddings
### embed

```javascript
ollama.embeddings(request)
ollama.embed(request)
```

- `request` `<Object>`: The request object containing embedding parameters.
Expand All @@ -187,7 +187,7 @@ ollama.embeddings(request)
- `truncate` `<boolean>`: (Optional) Truncate the input to fit the maximum context length supported by the model.
- `keep_alive` `<string | number>`: (Optional) How long to keep the model loaded.
- `options` `<Options>`: (Optional) Options to configure the runtime.
- Returns: `<EmbeddingsResponse>`
- Returns: `<EmbedResponse>`

### ps

Expand Down

0 comments on commit 8ffd25a

Please sign in to comment.