discourse/plugins/discourse-ai
Keegan George 5dd149079b
FEATURE: Append limited search results with semantic search (#35446)
## 🔍 Overview

This update adds AI enhancement to the quick search feature of
Discourse. When the setting:
`ai_embeddings_semantic_quick_search_enabled` is enabled and a search is
made using quick search menu yielding only a few results or none, AI
results will be appended to the result.


## 📹 Preview

### Before


https://github.com/user-attachments/assets/f3880cc3-9e9e-4b1e-8fd2-bb2cc27fd7de

### After

https://github.com/user-attachments/assets/c6975690-2aa3-44a9-b8e8-ad4d42effa9b
2025-10-16 09:27:31 -07:00
..
admin/assets/javascripts/discourse DEV: Remove unused service injections (#34750) 2025-10-08 13:31:41 +02:00
app FEATURE: Append limited search results with semantic search (#35446) 2025-10-16 09:27:31 -07:00
assets FEATURE: Append limited search results with semantic search (#35446) 2025-10-16 09:27:31 -07:00
config FEATURE: Append limited search results with semantic search (#35446) 2025-10-16 09:27:31 -07:00
db FIX: Don’t create AI Problem check trackers without a target LLM. (#35447) 2025-10-16 12:38:06 -03:00
discourse_automation FIX: allow AI tagging automation to tag posts by bots (#35310) 2025-10-09 18:45:43 -04:00
evals DEV: Switch AI debug messages to off by default (#35320) 2025-10-10 21:47:36 +08:00
lib FEATURE: Append limited search results with semantic search (#35446) 2025-10-16 09:27:31 -07:00
public/ai-share
spec FEATURE: Append limited search results with semantic search (#35446) 2025-10-16 09:27:31 -07:00
svg-icons
test/javascripts FEATURE: Append limited search results with semantic search (#35446) 2025-10-16 09:27:31 -07:00
.prettierignore
about.json
plugin.rb DEV: Resolve 'unknown OID' warnings for pgvector columns (#35393) 2025-10-14 22:30:06 +01:00
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