Rake tasks in the AI plugin not working

I got it working by going into the container and doing:

bundle install --with migrations

The problem is that the rake task rake ai:embeddings:backfill does this:

  Parallel.each(topics.all, in_processes: args[:concurrency].to_i, progress: "Topics") do |t|
    ActiveRecord::Base.connection_pool.with_connection do
      vector_rep.generate_representation_from(t)
    end
  end

which needs to have ruby-progressbar loaded, but it is ignored because its in the Gemfile migrations group.

2 Likes