[ ] The root path / will serve the react applications.
[ ] The /api path will serve the Fast API.
Chat APP
[ ] Store the purpose template on the front end at the initiation of the chat.
[ ] When the front end sends the first message, we add the message into the pre-stored prompt and build the definitive prompt.
Django API (for postgress communication)
[ ] Develop a GET /conversation//memory to pre-fetch. We will call this endpoint right after each answer has been given to the user.
Fast API
[ ] Develop a Python function to getContext(purpose, [last_messages]). Building the context requires one or more questions because the context may vary depending on the question.
/
will serve the react applications./api
path will serve the Fast API.Chat APP
Django API (for postgress communication)
Fast API