Introduction - Building a ChatBot
Chatbot Concept
- Artificial intelligence that interacts using natural language
- Able to understand user requests
- Can integrate with external APIs and databases
Setup in Data2
Creating the Store
- Create a new Store in the workspace
- Chosen name: "Store Chatbot"
- Configured fields:
- Used a DataFieldBlock
- Configured to save to the Story's "prompt" field
- Placeholder set to "Type..."
- Used the OnClick function
- Configured a series of interactions:
- Setter to insert messages
- ArrayPush to add messages
- Creating an object with information:
Testing and Validation
- Used LogService to check message insertion
- Demonstrated inserting the message "Hello world"