# Embeddings errors

**URL:** https://meta.discourse.org/t/embeddings-errors/293201
**Category:** Support
**Tags:** ai
**Created:** [January 28, 2024, 9:55pm UTC](https://meta.discourse.org/t/embeddings-errors/293201 "2024-01-28T21:55:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![danielabc](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@danielabc](https://meta.discourse.org/u/danielabc)
#### Post date: [January 28, 2024, 9:55pm UTC](https://meta.discourse.org/t/embeddings-errors/293201/1 "2024-01-28T21:55:35Z")

</div>

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](http://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](http://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`

---

<div class="post-metadata">

### Author: ![nat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nat/32/235063_2.png) [@nat](https://meta.discourse.org/u/nat)
#### Post date: [January 29, 2024, 12:18pm UTC](https://meta.discourse.org/t/embeddings-errors/293201/2 "2024-01-29T12:18:05Z")

</div>

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

You can refer to [Discourse AI](https://meta.discourse.org/t/discourse-ai/259214#embeddings-7) to configure embeddings the correct way.

---

<div class="post-metadata">

### Author: ![danielabc](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@danielabc](https://meta.discourse.org/u/danielabc)
#### Post date: [January 29, 2024, 5:31pm UTC](https://meta.discourse.org/t/embeddings-errors/293201/3 "2024-01-29T17:31:57Z")

</div>

ty

and what is this?

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