Embeddings errors

Error 1

Job exception: No inference endpoint configured

hostname vmi1371983-app
process_id 3544209
application_version d178d75e1e05d7c2b137b167cab45cac838e1f73
current_db default
current_hostname dex-forum.com
job Jobs::EmbeddingsBackfill
problem_db default
time 6:51 pm
opts
/var/www/discourse/plugins/discourse-ai/lib/embeddings/vector_representations/bge_large_en.rb:24:in `vector_from’
/var/www/discourse/plugins/discourse-ai/lib/embeddings/vector_representations/base.rb:145:in `generate_representation_from’
/var/www/discourse/plugins/discourse-ai/app/jobs/scheduled/embeddings_backfill.rb:31:in `block in execute’
activerecord-7.0.8/lib/active_record/relation/batches.rb:71:in `each’
activerecord-7.0.8/lib/active_record/relation/batches.rb:71:in `block in find_each’
activerecord-7.0.8/lib/active_record/relation/batches.rb:138:in `block in find_in_batches’
activerecord-7.0.8/lib/active_record/relation/batches.rb:245:in `block in in_batches’
activerecord-7.0.8/lib/active_record/relation/batches.rb:229:in `loop’
activerecord-7.0.8/lib/active_record/relation/batches.rb:229:in `in_batches’
activerecord-7.0.8/lib/active_record/relation/batches.rb:137:in `find_in_batches’
activerecord-7.0.8/lib/active_record/relation/batches.rb:70:in `find_each’
/var/www/discourse/plugins/discourse-ai/app/jobs/scheduled/embeddings_backfill.rb:30:in `execute’
/var/www/discourse/app/jobs/base.rb:297:in `block (2 levels) in perform’
rails_multisite-5.0.0/lib/rails_multisite/connection_management.rb:82:in `with_connection’
/var/www/discourse/app/jobs/base.rb:284:in `block in perform’
/var/www/discourse/app/jobs/base.rb:280:in `each’
/var/www/discourse/app/jobs/base.rb:280:in `perform’
/var/www/discourse/app/jobs/base.rb:351:in `perform’
mini_scheduler-0.16.0/lib/mini_scheduler/manager.rb:122:in `process_queue’
mini_scheduler-0.16.0/lib/mini_scheduler/manager.rb:70:in `worker_loop’
mini_scheduler-0.16.0/lib/mini_scheduler/manager.rb:59:in `block (2 levels) in ensure_worker_threads’

Error 2 error when trying to load /lastest.json

error 3 Sidekiq is consuming too much memory (using: 523.54M) for ‘dex-forum.com’, restarting

error 4 Deprecation notice: Array types for custom fields are deprecated, use type :json instead (removal in Discourse 3.3.0)
At /var/www/discourse/lib/plugin/instance.rb:580:in block in register_post_custom_field_type

I would recommend to turn off this site setting: ai embeddings enabled.

You can refer to Discourse AI to configure embeddings the correct way.

4 Likes

ty

and what is this?

Sidekiq is consuming too much memory (using: 508.41M) for 'dex-forum.com', restarting