discourse-ai/db
Roman Rizzi c7acb4a6a0
REFACTOR: Support of different summarization targets/prompts. (#835)
* DEV: Add summary types

* Refactor for different summary types

* Use enum for summary types

* Update lib/summarization/strategies/topic_summary.rb

Co-authored-by: Penar Musaraj <pmusaraj@gmail.com>

* Update lib/summarization/strategies/topic_gist.rb

Co-authored-by: Penar Musaraj <pmusaraj@gmail.com>

* Update lib/summarization/strategies/chat_messages.rb

Co-authored-by: Penar Musaraj <pmusaraj@gmail.com>

* Fix chat_messages single prompt

* Small tweak to the chat summarization prompt

---------

Co-authored-by: Penar Musaraj <pmusaraj@gmail.com>
2024-10-15 13:53:26 -03:00
..
fixtures DEV: Remove old code now that features rely on LlmModels. (#729) 2024-07-30 13:44:57 -03:00
migrate REFACTOR: Support of different summarization targets/prompts. (#835) 2024-10-15 13:53:26 -03:00
post_migrate FEATURE: Index embeddings using bit vectors (#824) 2024-10-14 13:26:03 -03:00