Skip to content

Commit

Permalink
Merge pull request #8 from SPARCS-Service-Hackathon-2024/gpt-summarize
Browse files Browse the repository at this point in the history
Gpt summarize
  • Loading branch information
mjkweon17 authored Feb 15, 2024
2 parents 3f4b6c5 + ed29140 commit 53d1da4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gpt/summarize.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def generate_summary(input_messages):
# Prepare the output
output = [
{"speaker": "ai", "text": input_messages[0]["text"]}, # The first AI question
{"speaker": "ai", "text": summary_response} # The GPT-generated summary
{"speaker": "user", "text": summary_response} # The GPT-generated summary
]
return output
except Exception as e:
Expand Down

0 comments on commit 53d1da4

Please sign in to comment.