Add embedding columns for tasks and tickets#160
Add embedding columns for tasks and tickets#160dolliecoder wants to merge 2 commits intoAOSSIE-Org:mainfrom
Conversation
📝 WalkthroughWalkthroughAdds Postgres Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~5 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 🧹 Recent nitpick comments
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In `@sqls/04_tickets_schema.sql`:
- Line 7: The tickets schema migration uses the pgvector type via the
description_embedding column (vector(768)) before the extension is created; add
a CREATE EXTENSION IF NOT EXISTS vector; statement to an earlier migration or
directly at the top of 04_tickets_schema.sql (before any CREATE TABLE that
references vector) so the vector type exists when description_embedding is
declared, and remove or keep idempotent the later CREATE EXTENSION in
09_meeting_vector_search.sql to avoid ordering failures.
|
moved pgvector extension creation to an early shared schema so vector types are available before task/ticket tables are defined |
This PR adds embedding columns for task and ticket descriptions as a schema-only, foundational step toward RAG support.
What changed :
Added a nullable description_embedding vector column to:
tasks
tickets
Vector dimensions match the existing meeting embeddings for consistency.
Before :
Tasks and tickets had no schema support for storing embeddings.
Future semantic search or RAG work for these entities was blocked at the database layer.
After :
Tasks and tickets can now store vector embeddings.
No existing behavior, queries, or APIs are affected.
Why this is safe:
Schema-only change (no triggers, no generation logic).
Nullable columns with no runtime usage.
No behavioral or AI-pipeline changes.
Fully reversible.
Context :
This PR is a small, incremental step toward Issue #65.
Follow-up PRs will handle vector search and embedding generation separately to keep reviews focused and low-risk.
Summary by CodeRabbit