Skip to content

Commit

Permalink
Use deault temperature(.7) for chat stream
Browse files Browse the repository at this point in the history
  • Loading branch information
beastoin committed Jan 20, 2025
1 parent 0d87518 commit dc6c085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/utils/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
llm_large = ChatOpenAI(model='o1-preview')
llm_large_stream = ChatOpenAI(model='o1-preview', streaming=True, temperature=1)
llm_medium = ChatOpenAI(model='gpt-4o')
llm_medium_stream = ChatOpenAI(model='gpt-4o', streaming=True, temperature=1)
llm_medium_stream = ChatOpenAI(model='gpt-4o', streaming=True)
embeddings = OpenAIEmbeddings(model="text-embedding-3-large")
parser = PydanticOutputParser(pydantic_object=Structured)

Expand Down

0 comments on commit dc6c085

Please sign in to comment.