discourse-ai/lib
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
..
ai_bot FEATURE: RAG search within tools (#802) 2024-09-30 17:27:50 +10:00
ai_helper FIX: Bail earlier when a chat thread has no messages (#789) 2024-08-30 17:17:14 -03:00
automation FIX: Triage's search_for_text should be case-insensitive (#767) 2024-08-22 18:32:42 -03:00
completions FEATURE: basic support for GPT-o models (#804) 2024-09-17 09:41:00 +10:00
configuration FIX: Correctly display errors when parent module needs to be disabled first (#788) 2024-08-30 17:16:11 -03:00
database DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
embeddings FEATURE: Make tool support polymorphic (#798) 2024-09-16 08:17:17 +10:00
inference DEV: Log error responses on Gemini / Cloudflare embeddings requests (#736) 2024-08-01 17:25:24 -03:00
nsfw DEV: Fix various typos (#434) 2024-01-19 12:51:26 +01:00
sentiment UX: Use stacked line chart for post sentiment (#737) 2024-08-02 14:23:29 -07:00
summarization FEATURE: move summary to use llm_model (#699) 2024-07-04 10:48:18 +10:00
tasks/modules FEATURE: Add BGE-M3 embeddings support (#569) 2024-04-10 17:24:01 -03:00
tokenizer FEATURE: GPT4o Tokenizer (#721) 2024-07-22 15:26:14 -03:00
toxicity FIX: Truncate content for sentiment/toxicity classification (#431) 2024-01-17 15:17:58 -03:00
utils FEATURE: Add basic connection check to DNS SRV resources (#563) 2024-04-12 10:39:19 -03:00
automation.rb FEATURE: Initial support for seeded LLMs (#756) 2024-08-28 15:57:58 -03:00
chat_message_classificator.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
classificator.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
engine.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
guardian_extensions.rb FEATURE: Allow specific groups access to summary feature on PMs (#760) 2024-08-21 07:58:24 +10:00
multisite_hash.rb FIX: properly cache user locale (#593) 2024-04-26 09:28:35 -03:00
post_classificator.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
summarization.rb FEATURE: move summary to use llm_model (#699) 2024-07-04 10:48:18 +10:00