tembo-io / pg_vectorize

The simplest way to build AI workloads on Postgres
https://tembo.io/pg_vectorize/
706 stars 17 forks source link

Update error handling for `vectorize.rag()` #78

Closed EvanHStanton closed 6 months ago

EvanHStanton commented 6 months ago

vectorize.rag()

Before:

`ERROR:  called `Result::unwrap()` on an `Err` value: InvalidPosition`

Updated:

ERROR:  agent_name 'product_chat' not yet initialized. Please run `vectorize.init_rag` before `vectorize.rag`.