Skip to main content
Botpress home page
Docs
Tutorial
API Reference
Changelog
Dashboard
Dashboard
Search...
Navigation
Search...
⌘K
Community Discord
News & Resources
Introduction
Basics of Botpress
BETA
First steps
Prompting
Adding knowledge
Custom logic
Storing information
Basics of Botpress
First steps
Adding knowledge
Copy page
Copy page
View as Markdown
View as Markdown
OpenAI
Open in ChatGPT
Open in ChatGPT
Anthropic
Open in Claude
Open in Claude
Open in Perplexity
Open in Perplexity
Copy MCP Server
Copy MCP Server
Connect to Cursor
Connect to Cursor
Connect to VS Code
Connect to VS Code
Now that our bot has a custom prompt, let’s try asking it a question:
That’s not very helpful. The bot couldn’t answer the question because we haven’t given it the store’s opening hours. Let’s add them:
Under
Knowledge Bases
, select
Rich Text
.
Select the newly created rich text file.
This opens a blank text field. Copy and paste in the following text:
Report incorrect code
Copy
Monday-Friday: 10:00 AM to 6:00 PM
Saturday-Sunday: 11:00 AM to 3:00 PM
Now, let’s try that same question again in the emulator:
Much better! The bot was able to answer the question correctly.
Was this page helpful?
Yes
No
Suggest edits
Raise issue
Previous
Next
⌘I