regostar / eventique

AI Enhanced Event Planning
MIT License
0 stars 2 forks source link

Task : # 48 Backend : Develop an API end-point at the server side that takes user prompt and returns a list of tasks #51

Open regostar opened 5 months ago

regostar commented 5 months ago

Story: #48

Develop an API on the backend that receives the user's event description and sends a response of a suggested tasks list. This API should in turn interact with the LLM and get a response from it, then return to the user.

Dependent on Task #52

regostar commented 4 months ago

Sample prompt -

{"response": "**A birthday** is an anniversary of the day a person was born. It is a day for celebration and reflection. People often mark their birthdays by having parties, eating cake, and receiving gifts. Some cultures also have special traditions for celebrating birthdays, such as lighting candles or releasing balloons.\n\n**Birthdays are a time to reflect on the past year and to look forward to the year ahead.** They are a time to celebrate life and to be grateful for the people and things we have. Birthdays are also a time to set new goals and to make plans for the future.\n\n**No matter how you choose to celebrate your birthday, it is a special day that should be cherished.** It is a day to celebrate your life and to be thankful for all that you have.\n\n**Here are some ideas for how to celebrate your birthday:**\n\n* **Have a party.** Invite your friends and family over for a party. You can have a theme party, a pool party, or a barbecue.\n* **Go out to dinner.** Celebrate your birthday at your favorite restaurant with your friends or family.\n* **Take a trip.** Go on a weekend getaway or a longer vacation to celebrate your birthday.\n* **Do something you love.** Spend your birthday doing something you love, such as reading, hiking, or playing video games.\n* **Volunteer your time.** Spend your birthday helping others by volunteering your time at a soup kitchen, homeless shelter, or animal shelter.\n* **Spend time with loved ones.** The best way to celebrate your birthday is to spend time with the people you love.\n\nNo matter how you choose to celebrate, make sure to make your birthday a special day that you will remember for years to come."}