Skip to content

Commit

Permalink
Merge pull request #114 from Capstone-Projects-2023-Spring/Final-Demo…
Browse files Browse the repository at this point in the history
…-Cleanup

Adjustment to tutor flashcards command
  • Loading branch information
timlopes17 authored Apr 27, 2023
2 parents ad12c85 + 5c12fbf commit 9f26aca
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Python/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -997,9 +997,8 @@ async def flashcards(ctx: discord.ApplicationContext, topic: str):
{"role": "user",
"content": f"In less than 150 words, can you create 3 flash cards for the following topic or information with the following format:\n"
f"Question: INSERT QUESTION HERE\n||Answer: INSERT ANSWER HERE|| for each flashcard. Please do not forget the || before"
f"and after the answer, it is very important. If can't finish a flashcards because of the word limit, do not create the"
f"flashcard. Here is the topic or information, to"
f"save words write the answer as short as possible: {topic}"}
f"and after the answer, it is very important. If you can't finish a flashcard because of the word limit, do not create the"
f"flashcard. To save space, write the answer as short as possible. Here is the topic or information: {topic}"}
)

while True:
Expand Down

0 comments on commit 9f26aca

Please sign in to comment.