medicode
/
priv
/repo
/migrations
/20240125172111_create_description_vector_index_on_code_vectors.exs
defmodule Medicode.Repo.Migrations.CreateDescriptionVectorIndexOnCodeVectors do | |
use Ecto.Migration | |
def change do | |
create index("code_vectors", ["description_vector vector_cosine_ops"], using: :hnsw) | |
end | |
end | |