Skip to content

Commit

Permalink
Update - modified default parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
aybruhm committed Dec 19, 2023
1 parent c6412cb commit 79e8de8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/chat_json_format/app.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import agenta as ag
from agenta.sdk.types import BinaryParam
from openai import OpenAI

client = OpenAI()
Expand All @@ -20,7 +19,7 @@
model=ag.MultipleChoiceParam("gpt-3.5-turbo", CHAT_LLM_GPT),
max_tokens=ag.IntParam(-1, -1, 4000),
prompt_system=ag.TextParam(SYSTEM_PROMPT),
force_json_response=BinaryParam(),
force_json_response=ag.BinaryParam(False),
)


Expand Down

0 comments on commit 79e8de8

Please sign in to comment.