Discover and explore top open-source AI tools and projects—updated daily.
React component for RAG-enabled AI assistant
Top 94.3% on SourcePulse
This React component provides a pre-built, customizable chat interface for RAG-enabled AI assistants. It targets Next.js developers seeking to quickly integrate AI chat functionality, leveraging Upstash Vector for context retrieval and Together AI for LLM processing, with streaming responses via Vercel AI SDK.
How It Works
The component orchestrates a RAG pipeline by combining Upstash Vector for real-time similarity search on user-provided data, Together AI for generating responses from a chosen LLM, and the Vercel AI SDK for efficient, streamed output. This approach simplifies the integration of complex RAG workflows into frontend applications.
Quick Start & Requirements
npm install @upstash/rag-chat-component
UPSTASH_VECTOR_URL
, UPSTASH_VECTOR_TOKEN
, OPENAI_API_KEY
, TOGETHER_API_KEY
. Optional: UPSTASH_REDIS_URL
, UPSTASH_REDIS_TOKEN
, TOGETHER_MODEL
.tailwind.config.ts
.Highlighted Details
docs2vector
tool for data ingestion.vercel.json
configuration.Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The component requires specific Upstash and Together AI API keys, and its functionality is tied to these external services. Vercel serverless function timeouts may require manual adjustment.
6 months ago
Inactive