Skip to content

Commit

Permalink
correct summarization prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
abdoulfataoh authored Sep 29, 2023
1 parent 46c00ad commit 0cbb96e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/summarize/openai.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def summarization_task(
max_tokens: int,
top_p: float = 1.0,
) -> str:
ask = 'Resume moi moi ce texte:\n{input}'
ask = 'Resume moi ce texte:\n{input}'
response = self._openai.Completion.create(
model=self._model_name,
prompt=ask,
Expand Down

0 comments on commit 0cbb96e

Please sign in to comment.