1.0.10 • Published 22 hours ago

@nlux/hf-react v1.0.10

Weekly downloads
-
License
MPL-2.0
Repository
github
Last release
22 hours ago

nlux React Hugging Face Adapter

Free And Open Source Docs nlux.ai

This package enables the integration between nlux and Hugging Face, the AI models platform.
More specifically ― the package include the adapter to connect to chat models hosted and exposed via Hugging Face Inference Endpoints.

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

Vanilla JS 🟨 vs React JS ⚛️

This package @nlux/hf-react is meant for use with the React JS version of nlux. If you're looking for the vanilla JS version, please check the @nlux/hf 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

1.0.9

22 hours ago

2.0.0-alpha.1

1 day ago

1.0.10

22 hours ago

1.0.8

18 days ago

1.0.7

27 days ago

1.0.6

27 days ago

1.0.5

1 month ago

1.0.4

1 month ago

1.0.2

1 month ago

1.0.3

1 month ago

1.0.1

2 months ago

1.0.0

2 months ago

0.12.2

2 months ago

0.12.1

2 months ago

0.12.0

2 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.1

3 months ago

0.10.2

3 months ago

0.10.3

3 months ago

0.9.3

4 months ago

0.10.0

4 months ago

0.9.2

4 months ago

0.9.1

4 months ago

0.9.0

4 months ago

0.8.13

4 months ago

0.8.12

4 months ago

0.8.11

4 months ago

0.8.10

4 months ago

0.8.9

4 months ago

0.8.8

4 months ago

0.8.5

4 months ago

0.8.7

4 months ago

0.8.4

5 months ago

0.8.1

5 months ago

0.8.3

5 months ago

0.8.2

5 months ago

0.8.0

5 months ago

0.7.3

5 months ago

0.7.2

5 months ago

0.6.9

5 months ago

0.7.1

5 months ago

0.7.0

5 months ago

0.6.8

5 months ago

0.6.7

5 months ago

0.6.6

5 months ago

0.6.5

5 months ago

0.6.4

5 months ago

0.6.3

5 months ago

0.6.2

5 months ago

0.6.1

5 months ago

0.6.0

5 months ago

0.5.9

5 months ago

0.5.8

5 months ago

0.5.7

5 months ago

0.5.6

5 months ago

0.5.5

5 months ago

0.5.4

5 months ago

0.5.3

5 months ago

0.5.2

5 months ago

0.5.1

5 months ago

0.5.0

5 months ago

0.4.9

5 months ago

0.4.8

5 months ago

0.4.7

5 months ago

0.4.6

5 months ago