pxt service update starts the insert and search endpoints.
Create the tables with pxt schema update app.py my_app, then open them with t = pxt.get_table('my_app.docs'). Cookbooks on this topic use pxt.create_table() so you can run cells without a project. An app puts the same columns on a TableModel in app.py and creates the tables with pxt schema update.
pxt service list prints the URL. POST /docs to insert. POST /search with {"query_text": "..."} to rank chunks.
On Cloud, create an API key in the dashboard, set PIXELTABLE_API_KEY, then run pxt db update, pxt schema update, and pxt service update against pxt://org:mydb.
Export those tables for training: Datasets from media. Tool calls as columns: Agents.
RAG pipeline
POST
/docs to insert. Chunks stay current.Semantic text search
Rank chunks with
{"query_text": "..."}.Similar images
The same index pattern on images.
HTTP serving
Insert and search routes from the same file.