New Library To Create AI Chatbots Super Fast with React & Javascript, using ChatGPT, Hugging Face, or any LLM
New Library To Create AI Chatbots Super Fast with React & Javascript, using ChatGPT, Hugging Face, or any LLM
Hi Reddit! I recently started a new open source project for a React JS / Javascript library that makes it super simple to create conversational AI interfaces, using ChatGPT or any other LLM.
The project is called NLUX (for Natural Language User Experience) and you can already start using it to easily embed AI chatbots into your web app.
Some useful info 👇
Project Website:
-
Nlux.ai — for docs, examples, source code, etc.
NPM Packages:
-
@nlux/react — the React JS library
-
@nlux/core — vanilla Javascript version, to use with any JS framework
What you can do with NLUX:
-
Build AI Chat Interfaces In Minutes — High quality conversational AI UI in a few lines of code.
-
React Components & Hooks —
<AiChat />comp anduseAdapter()hook for easy integration. -
Flexible LLM Adapters —
ChatGPT,HuggingFace, and more coming soon. -
An API to Create Your Own Adapter — for any LLM or custom backend.
-
Chatbot Personas — Configure the bot and user profiles for personalised interactions.
-
Zero Dependencies - Lightweight codebase, with zero-dep ! except for LLM front-end libraries.
Give it a try and let me know what you think!