Go to file
Discourse Translator Bot de0a52a0d9
Update translations (#1265)
2025-04-28 13:41:53 +02:00
.github/workflows
admin/assets/javascripts/discourse
app DEV: Group PMs by date (#1287) 2025-04-25 13:20:18 -05:00
assets DEV: Update sidebar grouping date labels (#1290) 2025-04-26 15:31:22 -05:00
config Update translations (#1265) 2025-04-28 13:41:53 +02:00
db DEV: Migration to backfill bot PM custom field (#1282) 2025-04-24 13:02:43 -05:00
discourse_automation
evals
lib FEATURE: Allow for persona & llm selection in bot conversations page (#1276) 2025-04-24 11:17:24 -05:00
public/ai-share
spec DEV: Update sidebar grouping date labels (#1290) 2025-04-26 15:31:22 -05:00
svg-icons
test/javascripts
tokenizers
.discourse-compatibility
.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: Update gems for Ruby 3.4 compatibility (#1281) 2025-04-24 13:02:51 -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