discourse-ai/lib/inference
Sam b2b01185f2
FEATURE: add support for new OpenAI embedding models (#445)
* FEATURE: add support for new OpenAI embedding models

This adds support for just released text_embedding_3_small and large

Note, we have not yet implemented truncation support which is a
new API feature. (triggered using dimensions)

* Tiny side fix, recalc bots when ai is enabled or disabled

* FIX: downsample to 2000 items per vector which is a pgvector limitation
2024-01-29 13:24:30 -03:00
..
cloudflare_workers_ai.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
discourse_classifier.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
discourse_reranker.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
gemini_embeddings.rb FEATURE: Support for Gemini Embeddings (#382) 2023-12-28 10:28:01 -03:00
hugging_face_text_embeddings.rb FEATURE: Support for SRV records for Discourse services (#414) 2024-01-10 19:23:07 -03:00
open_ai_embeddings.rb FEATURE: add support for new OpenAI embedding models (#445) 2024-01-29 13:24:30 -03:00
open_ai_image_generator.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
stability_generator.rb DEV: Fix various typos (#434) 2024-01-19 12:51:26 +01:00