discourse-ai/db
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
..
fixtures DEV: AI bot migration to the Llm pattern. (#343) 2024-01-04 10:44:07 -03:00
migrate FEATURE: add support for new OpenAI embedding models (#445) 2024-01-29 13:24:30 -03:00
post_migrate FIX: Use XML tags in generate_titles prompt. (#322) 2023-11-28 12:52:22 -03:00