discourse-ai/lib/embeddings/vector_representations
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
..
all_mpnet_base_v2.rb REFACTOR: Tidy-up embedding endpoints config. (#937) 2024-11-25 13:12:43 -03:00
base.rb REFACTOR: Tidy-up embedding endpoints config. (#937) 2024-11-25 13:12:43 -03:00
bge_large_en.rb REFACTOR: Tidy-up embedding endpoints config. (#937) 2024-11-25 13:12:43 -03:00
bge_m3.rb REFACTOR: Tidy-up embedding endpoints config. (#937) 2024-11-25 13:12:43 -03:00
gemini.rb REFACTOR: Tidy-up embedding endpoints config. (#937) 2024-11-25 13:12:43 -03:00
multilingual_e5_large.rb REFACTOR: Tidy-up embedding endpoints config. (#937) 2024-11-25 13:12:43 -03:00
text_embedding_3_large.rb REFACTOR: Tidy-up embedding endpoints config. (#937) 2024-11-25 13:12:43 -03:00
text_embedding_3_small.rb REFACTOR: Tidy-up embedding endpoints config. (#937) 2024-11-25 13:12:43 -03:00
text_embedding_ada_002.rb REFACTOR: Tidy-up embedding endpoints config. (#937) 2024-11-25 13:12:43 -03:00