Skip to content

Commit

Permalink
Remove response_format in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
collindutter committed Jan 6, 2025
1 parent 6173a56 commit c80f087
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions docs/griptape-framework/drivers/src/prompt_drivers_3.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import os

import schema

from griptape.drivers import OpenAiChatPromptDriver
from griptape.structures import Agent

Expand All @@ -11,14 +9,6 @@
model="gpt-4o-2024-08-06",
temperature=0.1,
seed=42,
response_format={
"type": "json_schema",
"json_schema": {
"strict": True,
"name": "Output",
"schema": schema.Schema({"css_code": str, "relevant_emojies": [str]}).json_schema("Output Schema"),
},
},
),
input="You will be provided with a description of a mood, and your task is to generate the CSS color code for a color that matches it. Description: {{ args[0] }}",
)
Expand Down

0 comments on commit c80f087

Please sign in to comment.