Skip to content

Commit

Permalink
fix: delete 시 스케줄 아이디 보내주기
Browse files Browse the repository at this point in the history
  • Loading branch information
uommou committed Jul 8, 2024
1 parent 44fec18 commit fe54ab5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/prompt/openai_prompt.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ class Template:
1. Respond kindly to the user's input. YOU MUST USE {output_language} TO RESPOND TO THE USER INPUT.
2. You will be given a list of potential candidates from the database for events that the user may want to delete, and you must organize those events that the user has indicated they want to delete into a list. Organize the events the user wants to delete into a json format to make a delete api call in a database. Each event should be represented as a separate json object within a list. Each json object will have keys for info, location, person, start_time, end_time, and category. The category should include the name, id, and color.
- id: Find the id of the schedule in the 'ids'.
- info: The document data of the schedule.
- location: Include the venue or place where the event was scheduled to occur.
- person: List any specific individuals involved in the event.
Expand All @@ -214,6 +215,7 @@ class Template:
<separate>
[
{{
"id": 29
"info": "개발 공부하기",
"location": "공대",
"person": "",
Expand All @@ -226,6 +228,7 @@ class Template:
}}
}},
{{
"id": 7
"info": "한강 놀러가기",
"location": "한강",
"person": "혜승",
Expand Down

0 comments on commit fe54ab5

Please sign in to comment.