Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rysana-ai/rysana-ai
The Rysana AI TS library.
https://github.com/rysana-ai/rysana-ai
ai ai-copilot cmdk command-menu function-call hotkey llm lusat react rysana rysana-ai typescript
Last synced: about 2 months ago
JSON representation
The Rysana AI TS library.
- Host: GitHub
- URL: https://github.com/rysana-ai/rysana-ai
- Owner: rysana-ai
- License: mit
- Created: 2023-06-22T19:39:46.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-19T23:21:34.000Z (4 months ago)
- Last Synced: 2024-07-06T08:03:04.161Z (3 months ago)
- Topics: ai, ai-copilot, cmdk, command-menu, function-call, hotkey, llm, lusat, react, rysana, rysana-ai, typescript
- Language: TypeScript
- Homepage: https://rysana.com/ai
- Size: 35.2 KB
- Stars: 112
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# **Lusat** [![lusat minzip package size](https://img.shields.io/bundlephobia/minzip/lusat?label=zipped)](https://www.npmjs.com/package/lusat) [![lusat package version](https://img.shields.io/npm/v/lusat.svg?colorB=green)](https://www.npmjs.com/package/lusat) [![lusat license](https://img.shields.io/npm/l/lusat.svg?colorB=lightgrey)](https://github.com/lusatai/lusat/blob/main/LICENSE)
AI Superpowers for your apps. Install:
```bash
npm i lusat
```**Lusat** is [Rysana's](https://rysana.com) 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.
Log
--
Website
--
Docs
--
Rysana
## Documentation
For details on how to build with Lusat, see the [Lusat documentation](https://rysana.com/docs/lusat).
## Installation
You can install `lusat` with `npm`, `pnpm`, or `yarn`, and you can build it from source with the `build` script.
npm
pnpm
yarn
```bash
npm i lusat
``````bash
pnpm i lusat
``````bash
yarn add lusat
```## API Platform
If you want to use the [Rysana AI](https://rysana.com/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.
```bash
# .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`:
```ts
import { action, app } from 'lusat'
```You can import platform-specific code from independently bundled files, e.g. for React:
```ts
import { useHotkey } from 'lusat/ui/react'
```or for third-party adapters:
```ts
import { gptFunctions } from 'lusat/adapters/openai'
```