/nlbridge

Primary LanguageTypeScriptMozilla Public License 2.0MPL-2.0

nlbridge

The Node.js Middleware For Building Context-Aware Conversational AI Apps โœจ๐Ÿ’ฌ

Free & Open Source npm @nlux/react

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.

Key Features ๐ŸŒŸ

  • 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 nlbridge with 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.

Repo Content ๐Ÿ“ฆ

This GitHub repository contains the source code for the nlbridge library. It is a monorepo that contains the following NPM packages:

Integration With nlux ๐Ÿ’ฌ

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

Community & Support ๐Ÿ™

  • 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 nlux Discord server to chat with the community and get support. A channel is dedicated to nlbridge exists there.

License ๐Ÿ“ƒ

nlux is licensed under the terms of the Mozilla Public License 2.0.
Wondering what that means? Learn more on MPL 2.0 FAQ.

About The Developer ๐Ÿ‘จโ€๐Ÿ’ป

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.