https://github.com/rebackkhq/nextjsrag
We are building this for Rebackk to enhance our product’s AI capabilities, specifically in customer interactions and security incident management. The integration of RAG could greatly improve our response accuracy and ensure that users have real-time, data-driven insights at their disposal.
https://github.com/rebackkhq/nextjsrag
ai api-integration artificial-intelligence chatbots developer-tools langchain machine-learning nextjs nlp ollama open-source rag vercel-ai-sdk web-development
Last synced: 9 months ago
JSON representation
We are building this for Rebackk to enhance our product’s AI capabilities, specifically in customer interactions and security incident management. The integration of RAG could greatly improve our response accuracy and ensure that users have real-time, data-driven insights at their disposal.
- Host: GitHub
- URL: https://github.com/rebackkhq/nextjsrag
- Owner: RebackkHQ
- License: mit
- Created: 2024-10-23T16:35:38.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-26T13:30:45.000Z (over 1 year ago)
- Last Synced: 2025-04-01T05:11:34.253Z (11 months ago)
- Topics: ai, api-integration, artificial-intelligence, chatbots, developer-tools, langchain, machine-learning, nextjs, nlp, ollama, open-source, rag, vercel-ai-sdk, web-development
- Language: TypeScript
- Homepage: https://rag-demo.rebackk.xyz
- Size: 570 KB
- Stars: 2
- Watchers: 0
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Next.js RAG (Retrieval-Augmented Generation)

**Next.js RAG** is an open-source project that implements a Retrieval-Augmented Generation (RAG) feature using **Next.js**, **Langchain**, and **Ollama**. This project is designed to help developers integrate RAG capabilities into their Next.js applications, offering real-time, data-driven insights powered by language models.
This project is an extraction of a core feature embedded in **Rebackk** to enhance AI capabilities in customer interactions and security incident management. While the embedded version remains private, we are excited to offer this open-source version to help others leverage RAG in their own applications.
## Features
- **Retrieval-Augmented Generation**: Integrates external data sources to enrich language model responses.
- **Next.js-based**: Fully server-side and API routes support for efficient querying and responses.
- **Langchain integration**: Handles retrieval and orchestration of large language models (LLMs) and external data.
- **Ollama-powered**: Utilizes Ollama for generating responses based on retrieved data.
- **Extensible**: Easily customizable and extendable to support additional data sources or LLMs.
- **Open-source**: Available to the developer community to build intelligent chatbots, dynamic FAQs, automated customer support, etc.
## Use Cases
- **Customer Support**: Build an intelligent FAQ or support system to answer customer queries based on real-time data.
- **Knowledge Base**: Provide accurate, up-to-date information from a dynamic knowledge base, including documentation or stored articles.
- **Security Incident Management**: Use RAG to manage security incidents, retrieve historical data, and provide recommended solutions based on past incidents. (As Used By Rebackk)
Made with [Contrib.rocks](https://contrib.rocks)
### Stats

## License
This project is licensed under the MIT License.
## Acknowledgments
- [Next.js](https://nextjs.org/)
- [Langchain](https://js.langchain.com/docs/introduction/)
- [Ollama](https://github.com/Ollama/ollama)
- [Vercel AI SDK](https://sdk.vercel.ai/)