npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@oconva/qvikchat

v2.0.4

Published

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

Downloads

271

Readme

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