civil-dude / lusat

The Lusat TS library.

Home Page:https://lusat.dev/docs/lusat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lusat lusat minzip package size lusat package version lusat license

AI Superpowers for your apps. Install:

npm i lusat


Log · Website · Docs · Rysana


Usage

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.

You can install Lusat with npm, pnpm, or yarn:

npm i lusat
pnpm i lusat
yarn add lusat

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

Documentation

For details on how to build with Lusat, see the Lusat documentation.

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'

About

The Lusat TS library.

https://lusat.dev/docs/lusat

License:MIT License


Languages

Language:TypeScript 100.0%