discourse-ai/spec/lib/completions
Rafael dos Santos Silva 478f31de47
FEATURE: add inferred concepts system (#1330)
* FEATURE: add inferred concepts system

This commit adds a new inferred concepts system that:
- Creates a model for storing concept labels that can be applied to topics
- Provides AI personas for finding new concepts and matching existing ones
- Adds jobs for generating concepts from popular topics
- Includes a scheduled job that automatically processes engaging topics

* FEATURE: Extend inferred concepts to include posts

* Adds support for concepts to be inferred from and applied to posts
* Replaces daily task with one that handles both topics and posts
* Adds database migration for posts_inferred_concepts join table
* Updates PersonaContext to include inferred concepts



Co-authored-by: Roman Rizzi <rizziromanalejandro@gmail.com>
Co-authored-by: Keegan George <kgeorge13@gmail.com>
2025-06-02 14:29:20 -03:00
..
dialects DEV: use a proper object for tool definition (#1337) 2025-05-15 17:32:39 +10:00
endpoints FEATURE: add inferred concepts system (#1330) 2025-06-02 14:29:20 -03:00
anthropic_message_processor_spec.rb FEATURE: implement thinking token support (#1155) 2025-03-04 12:22:30 +11:00
cancel_manager_spec.rb DEV: Patch `Net::BufferedIO` to help debug spec flakes (#1375) 2025-05-28 10:24:07 +01:00
json_stream_decoder_spec.rb FEATURE: improve tool support (#904) 2024-11-12 08:14:30 +11:00
llm_spec.rb FEATURE: better logging for automation reports (#853) 2024-10-23 16:49:56 +11:00
prompt_messages_builder_spec.rb FEATURE: add OpenAI image generation and editing capabilities (#1293) 2025-04-29 17:38:54 +10:00
prompt_spec.rb FEATURE: flexible image handling within messages (#1214) 2025-03-31 12:39:07 -03:00
structured_output_spec.rb FEATURE: add inferred concepts system (#1330) 2025-06-02 14:29:20 -03:00
tool_definition_spec.rb DEV: use a proper object for tool definition (#1337) 2025-05-15 17:32:39 +10:00
upload_encoder_spec.rb FEATURE: enforce jpg/png for all images (#1309) 2025-05-05 17:46:37 +10:00
xml_tag_stripper_spec.rb FIX: display search correctly, bug when stripping XML (#668) 2024-06-14 15:28:40 +10:00
xml_tool_processor_spec.rb DEV: use a proper object for tool definition (#1337) 2025-05-15 17:32:39 +10:00