Skip to content

Latest commit

 

History

History
77 lines (45 loc) · 7.41 KB

README.md

File metadata and controls

77 lines (45 loc) · 7.41 KB

QvikChat

Framework to build secure, performant and reliable chat apps and services quickly and efficiently.

Develop a self-hosted production-ready AI-powered chat app or service at a rapid pace with this Firebase Genkit and LangChain based framework.

QvikChat is a framework that provides you with a solid foundation to build powerful AI-powered chat service endpoints quickly and efficiently. It includes support for multiple types of conversations (open-ended, close-ended), chat history, response caching, authentication, and information retrieval using Retrieval Augmented Generation (RAG).

Get Started | Documentation

Pre-deploy Workflow - lint, test, build CodeQL Dependency review Publish package to NPM npm version

QvikChat Chat Endpoint demo

QvikChat RAG Demo

Features

  • Endpoints with Chat History, Authentication, Caching, and RAG: Built-in architecture to help you build chat endpoints with support for conversation history, authenticated endpoints, response caching for faster response times, and RAG for answering queries that require additional context data.
  • RAG: Built-in support for loading text, CSV, JSON, PDF, or code files easily, and generating and storing embeddings in a vector store to support information retrieval for context-aware chat endpoints. Add additional data loaders easily through LangChain, for example, to support ingesting data from cloud storage. For all available integrations for data loaders, check Document loaders | 🦜️🔗 Langchain.
  • Deploy to any NodeJS platform: Deploy your app or service to any NodeJS platform, including Firebase, Google Cloud, AWS, Heroku, etc., with ease.
  • Dotprompt: Supports Dotprompt for well-structured prompts with all relevant metadata and input-output data validation.
  • Firebase Firestore: In-built support for using Cloud Firestore as the chat history store, cache store, and API key store.
  • Firebase Genkit: Built using the open-source Firebase Genkit framework to help you build powerful production-ready AI-powered services with the possibility of easily extending the framework's functionalities through Genkit plugins.
  • LangChain: Built using the open-source LangChain framework to help you process data for RAG and information retrieval. Easily extend the framework by using any LangChain-supported embedding model, vector store, data loader, and more.
  • Focus on Performance, Reliability, and Security: Every component in QvikChat is built to ensure low latency and scalable performance without compromising on security. From using prompts that help mitigate LLM hallucination and deter prompt injection attacks, to providing in-built support for enabling authentication for each endpoint, QvikChat is designed to help you build secure, performant, and reliable chat apps and services.

QvikChat Starter Template

To get up and running quickly, you can use the QvikChat starter template. The starter template is a pre-configured project with all the necessary configurations and setup to get you started with QvikChat write quality and reliable code. It comes pre-configured with support for TypeScript, ESLint, Prettier, Jest, SWC, and GitHub Actions, so you can get started with developing the next revolutionary chat app right away.

To learn more about the QvikChat starter template, check the QvikChat Starter Template repo.

Documentation

You can view QvikChat's official documentation here: QvikChat.

You can also check Examples to see some examples of using QvikChat, for example, building a custom RAG chat service that can suggest products to customers.

Upcoming Changes

Below are some of the upcoming changes that the QvikChat project will focus on:

  • Better Observability & Tracing: Adding support for better observability and tracing to help you monitor and debug your chat services more effectively.
  • Usage Tracking: Adding support for tracking usage of the chat service, including tracking the number of requests, response times, token usage, and more.
  • More examples: Adding more examples of various use-cases where QvikChat could be used to increase the pace of development and reduce complexity. There will be more examples coming up specifically for RAG and multimodal chat services.
  • Completely Self-hosted Solution: We plan on adding more integrations to QvikChat to enable development of completely self-hosted chat services. This includes the use of self-hosted LLM model (through Ollama) and self-hosted vector store (through ChromaDB / Milvus).

Check the QvikChat Milestones for upcoming changes specific to each feature release.

Sponsor

If you find value from this project, please consider contributing or sponsoring the project to help maintain and improve it. All contributions and support are greatly appreciated!

Sponsor ♥

Notes

QvikChat uses the Firebase Genkit and LangChain open-source frameworks under the hood for several functionalities. Its important to note that Firebase Genkit is currently in beta, and the public API and framework design may change in backward-incompatible ways. We will do our best to keep this project up-to-date with the latest changes in Firebase Genkit and LangChain.

Contributions

Contributions are welcome! Please refer to the contribution guidelines for more information.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Issues

If you encounter any issues or bugs while using QvikChat, please report them by following these steps:

  1. Check if the issue has already been reported by searching our issue tracker.
  2. If the issue hasn't been reported, create a new issue and provide a detailed description of the problem.
  3. Include steps to reproduce the issue and any relevant error messages or screenshots.

Open Issue