Skip to content

Commit

Permalink
chore(product-assistant): lower temperature for models (#25848)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
skoob13 and github-actions[bot] authored Oct 28, 2024
1 parent e2f4b4a commit 4cc0def
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ee/hogai/trends/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def router(self, state: AssistantState):

@property
def _model(self) -> ChatOpenAI:
return ChatOpenAI(model="gpt-4o", temperature=0.7, streaming=True)
return ChatOpenAI(model="gpt-4o", temperature=0.2, streaming=True)

@cached_property
def _events_prompt(self) -> str:
Expand Down Expand Up @@ -283,7 +283,7 @@ def router(self, state: AssistantState):

@property
def _model(self):
return ChatOpenAI(model="gpt-4o", temperature=0.7, streaming=True).with_structured_output(
return ChatOpenAI(model="gpt-4o", temperature=0.2, streaming=True).with_structured_output(
GenerateTrendTool().schema,
method="function_calling",
include_raw=False,
Expand Down

0 comments on commit 4cc0def

Please sign in to comment.