nlux
nlux copied to clipboard
The π£πΌππ²πΏπ³ππΉ Conversational AI JavaScript Library π¬ βΒ UI for any LLM, supporting LangChain / HuggingFace / Vercel AI, and more 𧑠React, Next.js, and plain JavaScript βοΈ
https://docs.nlkit.com/nlux/reference/versions/migration-from-v1-to-v2#aichat-config-options tells that `promptOptions.placeholder` has been moved to `componentOptions` However, they are actually moved to `composerOptions`. Caused decent inconvenience. Also can we get a confirmation that other info is validated?
I looked at the examples and I didn't see any where messages are properly stored and re-submitted, and your online sample doesn't seem to have this ability either. Is this...
### Discussed in https://github.com/nlkitai/nlux/discussions/142 Originally posted by **visheshnarayan** September 3, 2024 Hello, Is it possible to allow a personal custom model to return an image in response to a user...
Using the NLUX with React inside a Tauri- or Neutralino App, selection a conversation starter has the following effect: - The starter prompt shows up in the composer - The...
I am connecting AiChat to AI agent via LangServe with: ``` const chatAdapter = useAsStreamAdapter(streamText); ``` and default streamText code: ``` import {StreamingAdapterObserver} from '@nlux/react'; export const streamText = async...
Hi! The docs show that Custom Renderers can also work for for Vanilla JS, but if I define a simple function to test it, it does not work (nothing happens)....
The copy button can't work https://docs.nlkit.com/nlux/examples/syntax-highlighter Brower: ChromeοΌ latest version
Despite configured in DisplayOptions ``` import { highlighter } from "@nlux/highlighter"; createAiChat() .withDisplayOptions({ colorScheme: 'light' }) .withMessageOptions({ syntaxHighlighter: highlighter, }) ``` ``` ... ``` is rendered in the DOM
Right now, when the user presses cancel during agent streaming, the current streamed message and last user message is deleted. This behavior isn't ideal, as most LLM chat playgrounds will...
The Langchain langserve React adapter application sample (https://docs.nlkit.com/nlux/examples/langchain-langserve-adapter) calls the input_schema endpoint multiple times at startup. To be precise: 7 in dev mode and 4 when deployed (the difference is...