Skip to content

Commit

Permalink
Try enabling stop param
Browse files Browse the repository at this point in the history
  • Loading branch information
kgrofelnik committed Apr 18, 2024
1 parent ac811f1 commit bf43f06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oracles/src/domain/llm/generate_response_use_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ async def _generate_openai_with_params(chat: Chat) -> Optional[ChatCompletion]:
presence_penalty=chat.config.presence_penalty,
response_format=chat.config.response_format,
seed=chat.config.seed,
# stop=chat.config.stop,
stop=chat.config.stop,
temperature=chat.config.temperature,
top_p=chat.config.top_p,
tools=chat.config.tools,
Expand Down

0 comments on commit bf43f06

Please sign in to comment.