feat: Use embeddings in help center search (#9227)
This commit is contained in:
7
enterprise/app/services/features/base_service.rb
Normal file
7
enterprise/app/services/features/base_service.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
class Features::BaseService
|
||||
MIGRATION_VERSION = ActiveRecord::Migration[7.0]
|
||||
|
||||
def vector_extension_enabled?
|
||||
ActiveRecord::Base.connection.extension_enabled?('vector')
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user