Guides
Learn how to customize, configure, and extend react-ai-chat.
Learn how to get more out of react-ai-chat.
These guides cover customization, theming, RAG, the CLI, and the generated chatbot so you can adapt the package to your application.
Explore the guides
RAG
Connect your own content and give the chatbot a knowledge base.
Theming
Customize colors, themes, and appearance for your chatbot.
Customization
Customize the ready-made chatbot with your own styles and components.
Generated Chatbot
Understand how the ready-made chatbot is built and how its UI works.
CLI
Generate embedding indexes and manage your chatbot knowledge base.
Choose a guide
Customize the chatbot
Change the chatbot's appearance and behavior to fit your application.
Start with Customization to learn about the available customization options.
Add your own knowledge
Use RAG when your chatbot needs to answer questions using your own documentation, business content, portfolio data, or other sources.
See RAG to learn how retrieval works and how to configure it.
Match your design
Use the theme system to match the chatbot with your application's existing design.
See Theming for theme tokens, light and dark modes, and CSS variables.
Understand the generated UI
The ready-made Chatbot component is built using the same provider and context APIs available to you.
Read Generated Chatbot to understand how the pieces fit together.
Generate embeddings
The CLI can process your content and generate an embedding index for RAG.
See CLI for the available commands and embedding providers.
When to use these guides
Use the guides when you want to move beyond the basic chatbot setup.
Basic chatbot
↓
Customize the UI
↓
Add your own theme
↓
Connect your content with RAG
↓
Generate and maintain embeddingsYou can work through the guides independently based on what your application needs.