AI Assistant
400–1200 credits / message Knowledge baseAn AI assistant you add to your website with a single line; it answers visitor questions using only the documents you upload.
The AI Assistant is a chat window that answers your site visitors 24/7. You upload documents such as product information, FAQs and price lists to its knowledge base; the assistant answers only from this information, in the language the visitor writes in.
It does not make things up: when a topic is not in the knowledge base, it says it does not know and, if needed, points the visitor to your contact details. It politely declines off-topic requests such as general chat or writing code.
To set it up, create the agent in the dashboard, upload your documents and add the one-line script to your website. Each answer costs credits based on the model tier you choose.
Tiers and credits
| Tier | Credits / message |
|---|---|
| Fast | 400 |
| Balanced | 800 |
| Expert | 1200 |
Knowledge base
Up to 20 files, 20 MB each. Allowed types: pdf, txt, md, csv, doc, docx, json.
File upload credits: file size (bytes) × 0.0005, rounded up.
How to add it to your website
Create your agent in the dashboard, get its public key and add the line below to your website's HTML.
<script src="https://api.apikodu.com/erse-assistant.js" data-agent-key="ers_pub_XXXXXXXXXXXX"></script>
The key in the example is a placeholder; use your own agent's public key.
Start building in minutes
Create a free account, get your API key and send your first request in minutes.