Created by @rUv
ruvBot
is an advanced AI-powered chatbot based on the LlamaIndex framework, enhanced with Next.js for web application development. It's designed to interact intelligently with users, providing information and assistance across various domains.
- Streaming Output: Delivers real-time responses from the AI, enhancing user interaction.
- Chat Memory: Maintains conversation context across sessions, allowing for more meaningful and continuous interactions.
- OpenAI Assistants API: Leverages the power of OpenAI's language models for high-quality, context-aware responses.
- Custom Knowledge Base: Users can upload their own knowledge files to
/data
directory, allowing ruvBot to provide specialized information. - Versatile Applications: Ideal for knowledge management, customer support, educational assistance, and more.
- Knowledge Management: Helps in organizing and retrieving information efficiently.
- Customer Support: Provides automated, yet personalized, responses to customer queries.
- Educational Tool: Assists in learning and tutoring across various subjects.
- Content Exploration: Aids in navigating through large documents or datasets, offering insights and summaries.
- Node.js
- Access to a key-value store for chat history (e.g., Replit Database).
- OpenAI API Key (GPT-3).
Clone the repository and install dependencies:
git clone https://github.com/ruvnet/ruvbot
cd ruvBot
npm install
- Set up environment variables for database access and OpenAI API key.
- Upload documents to
/data
to customize the bot's knowledge base.
Start the ruvbot
./run.sh
Access the bot at https://localhost:3000.
Modify the welcome message and internal prompts to tailor the bot's interaction style and responses:
- Welcome Message: Edit
/components/ui/chat-section.tsx
. - Internal Prompts: Adjust in
route.ts
.
LlamaIndex is an innovative framework designed to streamline the integration of AI models into applications. It simplifies the process of connecting with AI services like OpenAI, providing a seamless development experience for creating AI-powered applications.
We welcome your feedback and contributions. Enhance ruvBot by submitting issues and pull requests on our GitHub repository.