mirror of
https://github.com/supabase/supabase.git
synced 2026-10-17 23:29:08 +03:00
* ci: ai tests * chore(ai-commands): update readme * fix: dont load .env.local in ci environment * fix: pass openai env variable into ci job * feat(ai): llm evaluated tests * chore(ai): remove unused jest snapshots
13 lines
375 B
Markdown
13 lines
375 B
Markdown
# 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:
|
|
|
|
```ts
|
|
import { chatRlsPolicy } from 'ai-commands/edge'
|
|
```
|