π§ Ethora RAG Demos
March 18, 2026 Β· View on GitHub
Retrieval-Augmented Generation (RAG) demos built with Ethora, LangChain, and OpenAI.
Quickly learn how to build knowledge-based AI assistants that can index your own website or documents.
Part of the Ethora SDK ecosystem β see all SDKs, tools, and sample apps. Follow cross-SDK updates in the Release Notes.
π Overview
This repository contains practical examples showing how to connect Ethoraβs AI chat widget and backend tools with RAG pipelines.
Each demo is designed to help developers understand how to:
- Crawl and index web pages or documents
- Store embeddings in a vector database
- Retrieve relevant chunks based on user queries
- Use LLMs (OpenAI, Anthropic, etc.) to generate contextual answers
- Serve the results via Ethoraβs chat component or WordPress plugin
You can use these demos as templates for your own AI assistants, knowledge bases, or support chatbots.
π¦ Demos Included
| Demo | Description |
|---|---|
basic_rag_openai | Minimal RAG pipeline using OpenAI embeddings and text completion. |
rag_with_site_crawler | End-to-end demo combining the site_crawler tool for automated website indexing. |
rag_langchain | Example using LangChain Retriever + Chain for custom prompt templates. |
rag_api_server | Demonstrates how to serve results to your Ethora Chat Component or WordPress plugin. |
π§° Tech Stack
- Python 3.10+
- LangChain
- OpenAI API (or other LLM providers)
- FAISS / ChromaDB
- Ethora Chat Component (for front-end embedding)
- Ethora Site Crawler (for ingestion)
βοΈ Quick Start
Clone the repo and install dependencies:
git clone https://github.com/dappros/rag_demos.git
cd rag_demos
pip install -r requirements.txt
Set your API keys (for example, OpenAI):
export OPENAI_API_KEY="sk-..."
Run any demo:
python demos/basic_rag_openai.py
You can also index your website before running:
python ../site_crawler/crawl.py https://yourwebsite.com
Then query your knowledge base using the chat widget or CLI interface.
π¬ Connect to Ethora Chat Widget
Once you have a RAG backend running, you can embed it into any website:
<script src="https://cdn.jsdelivr.net/npm/ethora-chat-component@latest/dist/widget.js"></script>
<script>
EthoraChatWidget.init({
endpoint: "https://your-server/api/rag",
title: "Ask our AI Assistant",
});
</script>
You can also use the WordPress plugin for no-code integration.
π Related Repositories
| Project | Description |
|---|---|
| ethora-chat-component | Embeddable AI chat widget built with React & TypeScript. |
| ethora-wp-plugin | WordPress plugin for adding AI chat assistants. |
| site_crawler | Lightweight crawler and indexer for website content. |
| ethora | Main Ethora platform β low-code engine for chat, AI, and Web3 apps. |
π§ Roadmap
- Add demo for multi-vector store (FAISS + Chroma)
- Add support for PDF & DOCX ingestion
- Add streaming chat UI example
- Integrate with local open-source LLMs (Mistral, Ollama, etc.)
- Add Docker-based RAG starter kit
π€ Contributing
Contributions are welcome! To contribute:
- Fork this repo
- Create a new branch
- Submit a pull request with a clear description
For larger features, please open an issue first to discuss your idea.
π§Ύ License
This project is open source under the MIT License (content of websites used in demos is not included and belongs to its original owners).
π‘ About Ethora
Ethora is a low-code βsuper-appβ engine for chat, AI assistants, digital wallets, and communities. It allows developers to rapidly build apps that combine messaging, AI, and Web3 in one stack.
- π ethora.com
- π¬ Community Forum
- π§° Developer Docs
If you find this repo useful, please β star it and share your RAG demo with us!
β To use:
- Go to your repo β
Add file β Create new file β README.md - Paste everything above
- Commit to
main - Optionally run
git add README.md && git commit -m "add improved README"locally.