discourse-ai/lib/completions/endpoints
Sam c34fcc8a95
FEATURE: forum researcher persona for deep research (#1313)
This commit introduces a new Forum Researcher persona specialized in deep forum content analysis along with comprehensive improvements to our AI infrastructure.

Key additions:

    New Forum Researcher persona with advanced filtering and analysis capabilities
    Robust filtering system supporting tags, categories, dates, users, and keywords
    LLM formatter to efficiently process and chunk research results

Infrastructure improvements:

    Implemented CancelManager class to centrally manage AI completion cancellations
    Replaced callback-based cancellation with a more robust pattern
    Added systematic cancellation monitoring with callbacks

Other improvements:

    Added configurable default_enabled flag to control which personas are enabled by default
    Updated translation strings for the new researcher functionality
    Added comprehensive specs for the new components

    Renames Researcher -> Web Researcher

This change makes our AI platform more stable while adding powerful research capabilities that can analyze forum trends and surface relevant content.
2025-05-14 12:36:16 +10:00
..
anthropic.rb DEV: Use structured responses for summaries (#1252) 2025-05-06 10:09:39 -03:00
aws_bedrock.rb DEV: Use structured responses for summaries (#1252) 2025-05-06 10:09:39 -03:00
base.rb FEATURE: forum researcher persona for deep research (#1313) 2025-05-14 12:36:16 +10:00
canned_response.rb FEATURE: forum researcher persona for deep research (#1313) 2025-05-14 12:36:16 +10:00
cohere.rb FEATURE: improve tool support (#904) 2024-11-12 08:14:30 +11:00
fake.rb FEATURE: forum researcher persona for deep research (#1313) 2025-05-14 12:36:16 +10:00
gemini.rb FEATURE: support configurable thinking tokens for Gemini (#1322) 2025-05-08 07:39:50 +10:00
hugging_face.rb FEATURE: improve tool support (#904) 2024-11-12 08:14:30 +11:00
mistral.rb FEATURE: Add support for Mistral models (#919) 2024-11-19 17:28:09 +11:00
ollama.rb FEATURE: improve tool support (#904) 2024-11-12 08:14:30 +11:00
open_ai.rb FEATURE: forum researcher persona for deep research (#1313) 2025-05-14 12:36:16 +10:00
open_router.rb FEATURE: allow disabling of top_p and temp for thinking models (#1184) 2025-03-11 16:54:02 +11:00
samba_nova.rb DEV: Use structured responses for summaries (#1252) 2025-05-06 10:09:39 -03:00
vllm.rb FEATURE: improve tool support (#904) 2024-11-12 08:14:30 +11:00