Skip to content

[Feature]: PGVector-backed log indexing and search #24

@deekshithgowda85

Description

@deekshithgowda85

Title: PGVector-backed log indexing and search

Description
Add semantic search for logs using pgvector: store embeddings for log chunks and expose a search endpoint. Include a retention policy and optional memory/size limits for indexing. Optionally summarize long logs with AI before indexing.

Expected outcome

  • DB schema changes for deployment_log_vectors.
  • Background indexer (Inngest function or worker) that creates embeddings and stores vectors.
  • Search API endpoint returning ranked results.

Relevant files

  • lib/db.ts
  • lib/vector-indexer.ts (new)
  • app/api/logs/search/route.ts (new)

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions