UNPKG

remix-nlux

Version:

Remix IDE NLUX integration. Remix IDE is the leading IDE for building and deploying smart contracts on Ethereum. NLUX is a JavaScript and React library for building conversational AI experiences.

10 lines (7 loc) 416 B
Import the `createAiChat` and `createChatAdapter` functions from the `@nlux/core` and `@nlux/langchain` packages. ```tsx import {createAiChat} from '@nlux/core'; import {createChatAdapter} from '@nlux/langchain'; ``` The `createAiChat` function will create the main chat component that you will use to display the chat UI.<br /> The `createChatAdapter` function is used to create an adapter for the LangServe API.