discourse-ai/lib/embeddings
Sam 4923837165
FIX: Llm selector / forced tools / search tool (#862)
* FIX: Llm selector / forced tools / search tool


This fixes a few issues:

1. When search was not finding any semantic results we would break the tool
2. Gemin / Anthropic models did not implement forced tools previously despite it being an API option
3. Mechanics around displaying llm selector were not right. If you disabled LLM selector server side persona PM did not work correctly.
4. Disabling native tools for anthropic model moved out of a site setting. This deliberately does not migrate cause this feature is really rare to need now, people who had it set probably did not need it.
5. Updates anthropic model names to latest release

* linting

* fix a couple of tests I missed

* clean up conditional
2024-10-25 06:24:53 +11:00
..
strategies DEV: Update rubocop-discourse to version 3.8.0 (#641) 2024-05-28 11:15:42 +02:00
vector_representations FEATURE: Index embeddings using bit vectors (#824) 2024-10-14 13:26:03 -03:00
entry_point.rb FEATURE: API scope for semantic search (#785) 2024-08-30 09:35:20 +10:00
semantic_related.rb FIX: improve embedding generation (#452) 2024-01-31 10:38:47 -03:00
semantic_search.rb FIX: Llm selector / forced tools / search tool (#862) 2024-10-25 06:24:53 +11:00
semantic_topic_query.rb DEV: Add apply_modifier for SemanticTopicQuery topics list (#830) 2024-10-10 12:13:16 -05:00