Hello team!!
i am having some trouble connecting the frontend UI to the Backend data for my AI chatbot project,
currently i am trying to figure out how to create a list that contains both user input (user message) and also the AI’s returned message. (kind of like a messaging chatsystem with chatbubbles from the AI and User)
I am previewing the “AI Knowledge base Template,” for some clues, (i didnt use the template because i already upgraded my current project)
right now i have these databases:
the AI knowledge base template has 2 data models:
- record
- user account
im guessing that the user’s account is for login purposes, however within my app i dont really want to create an account system (unless it is needed or would simplify message storage)
my question is how would i create the list and have it show data from the user’s text input AND AI text answer just like the template?
(User inputs text: a new component to the list is added with User’s input, then AI responds, creating another component containing the AI’s answer)
Thank you for your guy’s support!!
