mix arcana.gen.embedding_migration (Arcana v2.0.1)

Copy Markdown View Source

Generates a migration to update vector column dimensions.

Use this when switching to an embedding model with different dimensions.

$ mix arcana.gen.embedding_migration

The task will:

  1. Detect the current embedding configuration dimensions
  2. Show the detected dimensions
  3. Generate a migration to update the vector column

Options

  • --dimensions - Override auto-detected dimensions