discourse-ai/lib/inference
Roman Rizzi 79021252e9
REFACTOR: Tidy-up embedding endpoints config. (#937)
Two changes worth mentioning:

`#instance` returns a fully configured embedding endpoint ready to use.
All endpoints respond to the same method and have the same signature - `perform!(text)`

This makes it easier to reuse them when generating embeddings in bulk.
2024-11-25 13:12:43 -03:00
..
cloudflare_workers_ai.rb REFACTOR: Tidy-up embedding endpoints config. (#937) 2024-11-25 13:12:43 -03:00
discourse_classifier.rb REFACTOR: Tidy-up embedding endpoints config. (#937) 2024-11-25 13:12:43 -03:00
discourse_reranker.rb SECURITY: Place a SSRF protection when calling services from the plugin. (#485) 2024-02-21 17:14:50 -03:00
gemini_embeddings.rb REFACTOR: Tidy-up embedding endpoints config. (#937) 2024-11-25 13:12:43 -03:00
hugging_face_text_embeddings.rb REFACTOR: Tidy-up embedding endpoints config. (#937) 2024-11-25 13:12:43 -03:00
open_ai_embeddings.rb REFACTOR: Tidy-up embedding endpoints config. (#937) 2024-11-25 13:12:43 -03:00
open_ai_image_generator.rb SECURITY: Place a SSRF protection when calling services from the plugin. (#485) 2024-02-21 17:14:50 -03:00
stability_generator.rb FEATURE: Stable diffusion 3 support (#582) 2024-04-19 18:08:16 +10:00