Skip to content

Commit

Permalink
fix: modified the code
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanleomk committed Nov 11, 2024
1 parent 0ba2ab0 commit 8b571a5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/blog/posts/chat-with-your-pdf-with-gemini.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ from pydantic import BaseModel
client = instructor.from_gemini(
client=genai.GenerativeModel(
model_name="models/gemini-1.5-flash-latest",
),
mode=instructor.Mode.GEMINI_JSON,
)
)

# Define your output structure
Expand Down

0 comments on commit 8b571a5

Please sign in to comment.