Skip to content

Commit

Permalink
Update ollama.md (#635)
Browse files Browse the repository at this point in the history
  • Loading branch information
MeDott29 authored May 19, 2024
1 parent c1aa5a1 commit d317c65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/examples/ollama.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ Instructor's patch enhances an openai api with the following features:

## Ollama

Start by downloading [Ollama](https://ollama.ai/download), and then pull a model such as Llama 2 or Mistral.
Start by downloading [Ollama](https://ollama.ai/download), and then pull a model such as Llama 3 or Mistral.

!!! tip "Make sure you update your `ollama` to the latest version!"

```
ollama pull llama2
ollama pull llama3
```

```python
Expand All @@ -49,7 +49,7 @@ client = instructor.from_openai(
)

resp = client.chat.completions.create(
model="llama2",
model="llama3",
messages=[
{
"role": "user",
Expand Down

0 comments on commit d317c65

Please sign in to comment.