Browse Source

docs: fix syntax error in openai.md (#7986)

湛露先生 4 months ago
parent
commit
7f0ccc8a9d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/openai.md

+ 1 - 1
docs/openai.md

@@ -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")