README.md12 lines · main
1# ai-commands
2
3## Main purpose
4
5This package contains all features involving AI and LLMs (eg. via OpenAI API).
6Each feature is implemented as a function which can be easily tested for regressions.
7
8The streaming functions only work on Edge runtime so they can only be imported via a special `edge` subpath like so:
9
10```ts
11import { chatRlsPolicy } from 'ai-commands/edge'
12```
Preview

ai-commands

Main purpose

This package contains all features involving AI and LLMs (eg. via OpenAI API). Each feature is implemented as a function which can be easily tested for regressions.

The streaming functions only work on Edge runtime so they can only be imported via a special edge subpath like so:

import { chatRlsPolicy } from 'ai-commands/edge'