Skip to content

Commit

Permalink
Rephrase pydantic->JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmvd committed Dec 23, 2024
1 parent 3f66d89 commit c5cd7a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion timesketch/lib/llms/aistudio.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def generate(self, prompt: str, response_schema: Optional[dict] = None) -> str:
Args:
prompt: The prompt to use for the generation.
response_schema: An optional Pydantic model to define the expected response format (JSON).
response_schema: An optional JSON schema to define the expected response format.
Returns:
The generated text as a string (or parsed data if response_schema is provided).
Expand Down

0 comments on commit c5cd7a5

Please sign in to comment.