mirror of
https://github.com/ollama/ollama.git
synced 2025-07-28 12:23:30 +02:00
docs: fix syntax error in openai.md (#7986)
This commit is contained in:
@@ -61,7 +61,7 @@ embeddings = client.embeddings.create(
|
||||
```
|
||||
#### Structured outputs
|
||||
```py
|
||||
rom pydantic import BaseModel
|
||||
from pydantic import BaseModel
|
||||
from openai import OpenAI
|
||||
|
||||
client = OpenAI(base_url="http://localhost:11434/v1", api_key="ollama")
|
||||
|
Reference in New Issue
Block a user