lusat
v0.0.29
Published
The Lusat TS library
Downloads
33
Readme
Lusat
AI Superpowers for your apps. Install:
npm i lusat
Lusat is Rysana's open source tookit for building powerful, secure, and intuitive AI-augmented natural language applications for the web. This is the TypeScript/JavaScript version of the Lusat toolkit.
Documentation
For details on how to build with Lusat, see the Lusat documentation.
Installation
You can install lusat
with npm
, pnpm
, or yarn
, and you can build it from source with the build
script.
npm i lusat
pnpm i lusat
yarn add lusat
API Platform
If you want to use the Rysana AI platform, you will need to create an account and create a project. You will need the your API key to use the Rysana AI platform.
# .env
RYSANA_API_KEY=your-api-key
Imports
Currently, Lusat for TS/JS is bundled into a single lusat
package on NPM.
You can import core functionality without including platform-specific code from lusat
:
import { action, app } from 'lusat'
You can import platform-specific code from independently bundled files, e.g. for React:
import { useHotkey } from 'lusat/ui/react'
or for third-party adapters:
import { gptFunctions } from 'lusat/adapters/openai'