Skip to content

Commit c80f087

Browse files
committed
Remove response_format in docs
1 parent 6173a56 commit c80f087

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

docs/griptape-framework/drivers/src/prompt_drivers_3.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import os
22

3-
import schema
4-
53
from griptape.drivers import OpenAiChatPromptDriver
64
from griptape.structures import Agent
75

@@ -11,14 +9,6 @@
119
model="gpt-4o-2024-08-06",
1210
temperature=0.1,
1311
seed=42,
14-
response_format={
15-
"type": "json_schema",
16-
"json_schema": {
17-
"strict": True,
18-
"name": "Output",
19-
"schema": schema.Schema({"css_code": str, "relevant_emojies": [str]}).json_schema("Output Schema"),
20-
},
21-
},
2212
),
2313
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] }}",
2414
)

0 commit comments

Comments
 (0)