discourse-ai/lib/embeddings/vector_representations
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
..
all_mpnet_base_v2.rb DEV: Move to single table per embeddings type (#561) 2024-08-08 11:55:20 -03:00
base.rb FIX: testing tool was not showing rag results (#867) 2024-10-25 16:01:25 +11:00
bge_large_en.rb DEV: Move to single table per embeddings type (#561) 2024-08-08 11:55:20 -03:00
bge_m3.rb DEV: Move to single table per embeddings type (#561) 2024-08-08 11:55:20 -03:00
gemini.rb DEV: Move to single table per embeddings type (#561) 2024-08-08 11:55:20 -03:00
multilingual_e5_large.rb DEV: Move to single table per embeddings type (#561) 2024-08-08 11:55:20 -03:00
text_embedding_3_large.rb DEV: Move to single table per embeddings type (#561) 2024-08-08 11:55:20 -03:00
text_embedding_3_small.rb DEV: Move to single table per embeddings type (#561) 2024-08-08 11:55:20 -03:00
text_embedding_ada_002.rb DEV: Move to single table per embeddings type (#561) 2024-08-08 11:55:20 -03:00