Skip to content

chore: Remove the following gitlab embeddings rake task

Nathan Weinshenker requested to merge nweinshenker/remove_rake_task into master

What does this MR do and why?

This MR removes the following gitlab embeddings rake task:

namespace :gitlab do
  namespace :llm do
    namespace :embeddings do
      namespace :vertex do
        desc 'Seed embeddings test database with pre-generated embeddings'
        task :seed, [] => [:environment] do |_t, _args|
          # ...
        end

        desc 'Extract the embeddings for selected questions into a fixture'
        task :extract_embeddings, [] => [:environment] do |_t, _args|
          # ...
        end
      end
    end
  end
end

Our embeddings have been migrated to the AI Gateway as such we no longer need to manually extract embeddings to our local vertex_gitlab_docs database. The following rake task is no longer needed now.

Referenced: #462924

MR acceptance checklist

  1. Make no regression's have been made.

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.


This description was generated for revision d41177db using AI

Merge request reports