1.0.15 • Published 6 days ago

@nlux/langchain v1.0.15

Weekly downloads
-
License
MPL-2.0
Repository
github
Last release
6 days ago

nlux JS LangChain Adapter

Free And Open Source Docs nlux.ai

This package enables the integration between nlux and LangChain, the LLM framework.
More specifically ― the package includes the adapter to connect nlux JS to backends built using LangServe.

Features:

  • Support for both /invoke and /stream endpoints to allow for responses to be streamed back as they are generated.
  • Can utilize the /input_schema to construct a matching payload.
  • Ability to customize the payloads, both sent and received.

For more information on how to use this package, please visit:
docs.nlux.ai/api/adapters/langchain-langserve

Vanilla JS 🟨 vs React JS ⚛️

This package @nlux/langchain is meant for use with the vanilla JS version of nlux. If you're looking for the React JS version, please check the @nlux/langchain-react package.

About nlux

nlux (for Natural Language User Experience) is an open-source Javascript library that makes it simple to integrate powerful large language models (LLMs) like ChatGPT into your web app or website. With just a few lines of code, you can add conversational AI capabilities and interact with your favourite LLM.

Key Features 🌟

  • Build AI Chat Interfaces In Minutes ― High quality conversational AI interfaces with just a few lines of code.
  • React Components & Hooks<AiChat /> for UI and useChatAdapter hook for easy integration.
  • LLM Adapters ― For ChatGPT / LangChain 🦜 LangServe / HuggingFace 🤗 Inference.
  • A flexible interface to Create Your Own Adapter for any LLM or API.
  • Bot and User Personas ― Customize the bot and user personas with names, images, and more.
  • Streaming LLM Output ― Stream the chat response to the UI as it's being generated.
  • Customizable Theme - Easily customize the look and feel of the chat interface using CSS variables.
  • Event Listeners - Listen to messages, errors, and other events to customize the UI and behaviour.
  • Zero Dependencies ― Lightweight codebase, with zero-dep except for LLM front-end libraries.

Docs & Examples 📖

For developer documentation, examples, and API reference ― you can visit: nlux.ai

2.0.2-alpha

6 days ago

2.0.1-alpha

6 days ago

1.0.15

7 days ago

1.0.14

8 days ago

1.0.13

8 days ago

1.0.12

8 days ago

1.0.9

9 days ago

2.0.0-alpha.1

9 days ago

1.0.10

9 days ago

1.0.8

26 days ago

1.0.7

1 month ago

1.0.6

1 month ago

1.0.5

1 month ago

1.0.4

1 month ago

1.0.2

2 months ago

1.0.3

2 months ago

1.0.1

2 months ago

1.0.0

2 months ago

0.12.2

2 months ago

0.12.1

3 months ago

0.12.0

3 months ago

0.11.2

3 months ago

0.11.0

3 months ago

0.11.1

3 months ago

0.10.11

3 months ago

0.10.10

3 months ago

0.10.9

3 months ago

0.10.7

3 months ago

0.10.8

3 months ago

0.10.6

3 months ago

0.10.4

3 months ago

0.10.5

3 months ago

0.10.3

3 months ago

0.10.2

3 months ago

0.10.1

3 months ago