discourse-ai/lib/embeddings
Sam 12869f2146
FIX: testing tool was not showing rag results (#867)
This changeset contains 4 fixes:

1. We were allowing running tests on unsaved tools,
this is problematic cause uploads are not yet associated or indexed
leading to confusing results. We now only show the test button when
tool is saved.


2. We were not properly scoping rag document fragements, this
meant that personas and ai tools could get results from other
unrelated tools, just to be filtered out later


3. index.search showed options as "optional" but implementation
required the second option

4. When testing tools searching through document fragments was
not working at all cause we did not properly load the tool
2024-10-25 16:01:25 +11:00
..
strategies DEV: Update rubocop-discourse to version 3.8.0 (#641) 2024-05-28 11:15:42 +02:00
vector_representations FIX: testing tool was not showing rag results (#867) 2024-10-25 16:01:25 +11: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