discourse-ai/app/serializers
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_api_audit_log_serializer.rb DEV: Use explicit serializers for all models (#691) 2024-06-27 10:43:00 -03:00
ai_chat_channel_serializer.rb DEV: Use explicit serializers for all models (#691) 2024-06-27 10:43:00 -03:00
ai_custom_tool_list_serializer.rb FEATURE: custom user defined tools (#677) 2024-06-27 17:27:40 +10:00
ai_custom_tool_serializer.rb FEATURE: RAG search within tools (#802) 2024-09-30 17:27:50 +10:00
ai_tool_serializer.rb DEV: AI bot migration to the Llm pattern. (#343) 2024-01-04 10:44:07 -03:00
ai_topic_summary_serializer.rb FIX: Use correct date for cached summary (#733) 2024-07-31 15:21:26 -03:00
llm_model_serializer.rb UX: move templates to main LLM config tab, restyle (#813) 2024-09-30 17:15:11 +10:00
localized_ai_persona_serializer.rb FEATURE: optional tool detail blocks (#662) 2024-06-11 18:14:14 +10:00
reviewable_ai_chat_message_serializer.rb FIX: 500 error when reviewable has a missing message (#397) 2024-01-03 11:49:47 -03:00
reviewable_ai_post_serializer.rb DEV: DiscourseAI -> DiscourseAi rename to have consistent folders and files (#9) 2023-03-14 16:03:50 -03:00