Files
supabase/packages/ai-commands
Ivan VasilovandGreg Richardson 1d2418ee85 chore: Skip building of libpg-query (#35255)
* Don't build libpg-query package.

* Use the WASM build of libpg-query in ai-commands.

* Fix missing mdast type.

* fix: wasm loading in ai-commands tests

* fix: better polyfill

* Make the sql-to-rest page to be client-side only.

---------

Co-authored-by: Greg Richardson <greg.nmr@gmail.com>
2025-04-24 22:26:19 +02:00
..
2024-11-12 11:55:01 -03:30

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'