Go to file
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
.github/workflows Initial commit 2023-02-17 11:33:47 -03:00
admin/assets/javascripts/discourse UX: move templates to main LLM config tab, restyle (#813) 2024-09-30 17:15:11 +10:00
app FEATURE: RAG search within tools (#802) 2024-09-30 17:27:50 +10:00
assets FEATURE: RAG search within tools (#802) 2024-09-30 17:27:50 +10:00
config FEATURE: RAG search within tools (#802) 2024-09-30 17:27:50 +10:00
db FEATURE: RAG search within tools (#802) 2024-09-30 17:27:50 +10:00
discourse_automation Revert "FEATURE: Triage rule can skip posts created via email (#775)" (#776) 2024-08-27 15:45:55 -03:00
lib FEATURE: RAG search within tools (#802) 2024-09-30 17:27:50 +10:00
public/ai-share UX: improve appearance of attributed quote when sharing (#665) 2024-06-11 12:06:57 -04:00
spec FEATURE: RAG search within tools (#802) 2024-09-30 17:27:50 +10:00
test/javascripts DEV: Prevent close of summary from outside clicks (#808) 2024-09-18 10:36:42 -07:00
tokenizers FEATURE: Set endpoint credentials directly from LlmModel. (#625) 2024-05-16 09:50:22 -03:00
.discourse-compatibility DEV: Pin plugin for Discourse < 3.4.0.beta1-dev (#735) 2024-08-02 17:03:27 +08:00
.eslintrc.cjs DEV: Update linting configs (#280) 2023-11-03 11:30:09 +00:00
.gitignore Initial commit 2023-02-17 11:33:47 -03:00
.prettierignore FEATURE: UI to update ai personas on admin page (#290) 2023-11-21 16:56:43 +11:00
.prettierrc.cjs DEV: Update linting configs (#280) 2023-11-03 11:30:09 +00:00
.rubocop.yml DEV: Update linting configs (#280) 2023-11-03 11:30:09 +00:00
.streerc DEV: Update linting configs (#280) 2023-11-03 11:30:09 +00:00
.template-lintrc.cjs DEV: Update linting (#326) 2023-11-29 23:01:48 +01:00
Gemfile DEV: Update linting configs (#280) 2023-11-03 11:30:09 +00:00
Gemfile.lock Build(deps-dev): Bump rexml from 3.3.3 to 3.3.6 (#768) 2024-09-01 12:23:09 +02:00
LICENSE Initial commit 2023-02-17 11:33:47 -03:00
README.md CHORE: Update Readme (#185) 2023-09-04 15:46:35 -03:00
package.json DEV: Update rubocop-discourse to version 3.8.0 (#641) 2024-05-28 11:15:42 +02:00
plugin.rb DEV: Move composer AI helper to toolbar (#796) 2024-09-13 11:59:30 -07:00
translator.yml UX: Display the indexing progress for RAG uploads (#557) 2024-04-09 11:03:07 -03:00
yarn.lock Build(deps): Bump micromatch from 4.0.5 to 4.0.8 (#790) 2024-09-01 12:45:48 +02:00

README.md

Discourse AI Plugin

Plugin Summary

For more information, please see: https://meta.discourse.org/t/discourse-ai/259214?u=falco