Add unique identifiers to your tables
Generate UUIDs for automatic row identification.
Updated Open in Colab
Parse and access specific fields from structured JSON responses returned by language models.
Core Operations · Notebook · Updated
Colab runs it in your browser. If it calls a model provider, it asks for that provider's API key in a cell.
You use JSON path notation to extract specific fields from API responses and store them in computed columns.
pip install pixeltable openai
OPENAI_API_KEYopenai.chat_completions()pxt.create_table()insert()add_computed_column()# Add computed column for API response (returns full JSON)t.add_computed_column(response=openai.chat_completions(messages=[{'role': 'user', 'content': t.prompt}],model='gpt-4o-mini',))
One cell of the notebook, copied as it is. Open it in Colab for the rest.
Generate UUIDs for automatic row identification.
Combine data from multiple tables using inner, left, and cross joins.
Undo mistakes, audit changes, and create point-in-time snapshots of your data.
Build reusable aggregation logic for group-by queries and analytics.