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.
11 lines (7 loc) • 416 B
text/mdx
Import the `createAiChat` and `createChatAdapter` functions from the `@nlux/core` and `@nlux/nlbridge` packages.
```tsx
import {createAiChat} from '@nlux/core';
import {createChatAdapter} from '@nlux/nlbridge';
```
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 _nlbridge_ API.