The Node.js Middleware For Building Context-Aware Conversational AI Apps ✨💬
nlbridge is part of the nlux project ― a collection of
open-source libraries for building conversational AI interfaces.
Docs Website | Discord Community | X
nlbridge is an open-source Node.js library that enables building powerful APIs to integrate large language models
(LLMs) like ChatGPT into your website or app. It integrates perfectly with nlux, the React JS and Javascript library
for conversational UIs, but it can also be used independently with any server or client.
- Ready-made API Endpoint ― Quickly create an API endpoint that performs the most common conversational AI tasks (question-answering, speech-to-text, etc.) using your favourite language model.
- Express.js Middleware ― Easily integrate
nlbridgewith your Express.js server. - Context Management ― Manage conversational context and state across multiple requests.
- Streaming Responses ― Stream large language model responses to the client as they are generated.
- Dev Server ― Develop and test your conversational AI UI app with a built-in dev server.
This GitHub repository contains the source code for the nlbridge library.
It is a monorepo that contains the following NPM packages:
@nlbridge/express- Express.js middleware fornlbridge.@nlbridge/server- Dev server for testing, demo and development.@nlbridge/core- Core utilities, types, and functions for LLM APIs.
nlbridge is designed to work seamlessly with nlux, the conversational UI library for React and JS. You can use
nlux to build a conversational UI that connects to your nlbridge endpoint via the @nlux/nlbridge
and @nlux/nlbridge-react NPM packages.
To learn, please visit nlux.dev/nlbridge
- Star The Repo 🌟 ― If you like
nlbridge, please star the repo to show your support.
Your support is what keeps this open-source project going 🧡 - GitHub Discussions ― Ask questions, report issues, and share your ideas with the community.
- Discord Community ― Join the
nluxDiscord server to chat with the community and get support. A channel is dedicated tonlbridgeexists there.
nlux is licensed under the terms of the Mozilla Public License 2.0.
Wondering what that means? Learn more on MPL 2.0 FAQ.
nlux is a new open-source project that's being led by Salmen Hichri, a senior software
engineer with over a decade of experience building user interfaces and developer
tools at companies like Amazon and Goldman Sachs, and contributions to open-source projects.