Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ollama.md #635

Merged
merged 3 commits into from
May 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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!"
MeDott29 marked this conversation as resolved.
Show resolved Hide resolved

```
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
Loading