1.0.15 • Published 7 days ago

@nlux/hf v1.0.15

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

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

7 days ago

2.0.1-alpha

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

5 months ago

0.8.12

5 months ago

0.8.11

5 months ago

0.8.10

5 months ago

0.8.9

5 months ago

0.8.8

5 months ago

0.8.5

5 months ago

0.8.7

5 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

6 months ago

0.5.3

6 months ago

0.5.2

6 months ago

0.5.1

6 months ago

0.5.0

6 months ago

0.4.9

6 months ago

0.4.8

6 months ago

0.4.7

6 months ago

0.4.6

6 months ago