discourse-ai/app
Sam 5cbc9190eb
FEATURE: RAG search within tools (#802)
This allows custom tools access to uploads and sophisticated searches using embedding.

It introduces:

 - A shared front end for listing and uploading files (shared with personas)
 -  Backend implementation of index.search function within a custom tool.

Custom tools now may search through uploaded files

function invoke(params) {
   return index.search(params.query)
}

This means that RAG implementers now may preload tools with knowledge and have high fidelity over
the search.

The search function support

    specifying max results
    specifying a subset of files to search (from uploads)

Also

 - Improved documentation for tools (when creating a tool a preamble explains all the functionality)
  - uploads were a bit finicky, fixed an edge case where the UI would not show them as updated
2024-09-30 17:27:50 +10:00
..
controllers/discourse_ai FEATURE: RAG search within tools (#802) 2024-09-30 17:27:50 +10:00
helpers/discourse_ai/ai_bot FIX: AI Bot Shared Conversation didn't respect CDN / Subfolder (#657) 2024-06-06 15:13:51 -03:00
jobs FEATURE: RAG search within tools (#802) 2024-09-30 17:27:50 +10:00
mailers FEATURE: support sending AI report to an email address (#368) 2023-12-19 17:51:49 +11:00
models FEATURE: RAG search within tools (#802) 2024-09-30 17:27:50 +10:00
serializers FEATURE: RAG search within tools (#802) 2024-09-30 17:27:50 +10:00
services/discourse_ai FIX: more robust summary implementation (#750) 2024-08-13 08:47:47 -03:00
views FIX: AI Bot Shared Conversation didn't respect CDN / Subfolder (#657) 2024-06-06 15:13:51 -03:00