Ingest Into Vector Database
library_ingestIngest a full-text library source by chunking, embedding, and storing it. Idempotent; requires OpenAI and Supabase credentials.
Instructions
Chunk, embed, and store a text. Idempotent. Full-text sources only. Requires OPENAI_API_KEY + SUPABASE_URL + SUPABASE_SERVICE_ROLE_KEY.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| source | Yes | Library source name. Run library_list_sources for the current list and descriptions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| source | Yes | ||
| sourceId | Yes | ||
| chunksDropped | Yes | ||
| chunksWritten | Yes | ||
| skippedDuplicate | Yes |