Skip to content

Commit

Permalink
Add temperature option
Browse files Browse the repository at this point in the history
  • Loading branch information
smokestacklightnin committed Mar 31, 2024
1 parent 99f42d3 commit 1c7ffa6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ragna/assistants/_ollama.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ async def _call_api(
],
"model": self._MODEL,
"stream": True,
}, # TODO: Add optional parameters for the model
"temperature": 0.0,
},
) as response:
await self._assert_api_call_is_success(response)

Expand Down

0 comments on commit 1c7ffa6

Please sign in to comment.