Skip to content

Commit

Permalink
Update ollama_model.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jagapiou authored Aug 9, 2024
1 parent 5725e10 commit 5d5b652
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion concordia/language_model/ollama_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ def sample_text(
prompt=prompt_with_system_message,
options={'stop': terminators},
keep_alive='10m',
).response
)
result = response.response

if self._measurements is not None:
self._measurements.publish_datum(
Expand Down

0 comments on commit 5d5b652

Please sign in to comment.