Skip to content

Commit

Permalink
fix: fixing post chat lambda to take additional args for prompt gener…
Browse files Browse the repository at this point in the history
…ater
  • Loading branch information
JasonNotJson committed Nov 26, 2023
1 parent 9230bd3 commit 29bfbb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lambda/post-chat/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def post_chat(prompt, timetable):
recommender = CourseRecommender(s3_client, bucket, school_code_map)


prompt = recommender.generate_gpt_prompt(timetable)
prompt = recommender.generate_gpt_prompt(prompt, timetable)

response = ai_client.chat.completions.create(
model= "gpt-3.5-turbo-1106",
Expand Down

0 comments on commit 29bfbb7

Please sign in to comment.