class <%= migration_class_name %> < ActiveRecord::Migration<%= migration_version %> def change add_column :<%= table_name %>, :embedding, :vector, limit: LangchainrbRails .config .vectorsearch .llm .default_dimensions end end