Go to file
Sam ed311de937
FIX: various bugs in AI interface (#1430)
* FIX: improve transition logic in forms

previously back button would take you back to the /new route

* FIX: enum selection not working for persona tools

* seed information correctly in the DB

* fix broken spec

* Update assets/javascripts/discourse/components/ai-tool-editor-form.gjs

Co-authored-by: Alan Guo Xiang Tan <gxtan1990@gmail.com>

---------

Co-authored-by: Alan Guo Xiang Tan <gxtan1990@gmail.com>
2025-06-12 13:50:52 +10:00
.github/workflows
admin/assets/javascripts/discourse FEATURE: Display features that rely on multiple personas. (#1411) 2025-06-09 16:13:09 -03:00
app FIX: improve admin api for artifact key values (#1425) 2025-06-11 19:33:34 +10:00
assets FIX: various bugs in AI interface (#1430) 2025-06-12 13:50:52 +10:00
config UX: Show error and ability to try again when no suggestions (#1426) 2025-06-11 12:05:10 -07:00
db FIX: various bugs in AI interface (#1430) 2025-06-12 13:50:52 +10:00
discourse_automation
evals
lib FIX: Don't check for #blank? when manipulating chunks (#1428) 2025-06-11 20:38:58 -03:00
public/ai-share FEATURE: persistent key-value storage for AI Artifacts (#1417) 2025-06-11 06:59:46 +10:00
spec FIX: various bugs in AI interface (#1430) 2025-06-12 13:50:52 +10:00
svg-icons
test/javascripts
tokenizers
.discourse-compatibility DEV: Also detect locale of categories and do not translate if already in the locale (#1413) 2025-06-06 22:41:48 +08:00
.gitignore
.npmrc
.prettierignore
.prettierrc.cjs
.rubocop.yml
.streerc
.template-lintrc.cjs
Gemfile
Gemfile.lock
LICENSE
README.md
about.json
eslint.config.mjs
package.json
plugin.rb DEV: Use a PORO to represent modules/features. (#1421) 2025-06-10 14:37:53 -03:00
pnpm-lock.yaml
stylelint.config.mjs
translator.yml

README.md

Discourse AI Plugin

Plugin Summary

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

Evals

The directory evals contains AI evals for the Discourse AI plugin. You may create a local config by copying config/eval-llms.yml to config/eval-llms.local.yml and modifying the values.

To run them use:

cd evals ./run --help

Usage: evals/run [options]
    -e, --eval NAME                  Name of the evaluation to run
        --list-models                List models
    -m, --model NAME                 Model to evaluate (will eval all models if not specified)
    -l, --list                       List evals

To run evals you will need to configure API keys in your environment:

OPENAI_API_KEY=your_openai_api_key ANTHROPIC_API_KEY=your_anthropic_api_key GEMINI_API_KEY=your_gemini_api_key