discourse-ai/lib/modules/embeddings
Roman Rizzi 58b96eda6c
REFACTOR: Build related topics using TopicQuery. (#124)
TopicQuery already provides a lot of safeguards and options for filtering topic, and enforcing permissions. It makes sense to rely on it as other plugins like discourse-assign do.

As a bonus, we now have access to the current_user while serializing these topics, so users will see things like unread posts count just like we do for the lists.
2023-08-02 16:58:09 -03:00
..
jobs/regular FEATURE: Embeddings to main db (#99) 2023-07-13 12:41:36 -03:00
models FEATURE: Support for locally infered embeddings in 100 languages (#115) 2023-07-27 15:50:03 -03:00
strategies PERF: .find_each instead of .find to save us from memory allocation peaks 2023-07-13 18:59:25 -03:00
entry_point.rb REFACTOR: Build related topics using TopicQuery. (#124) 2023-08-02 16:58:09 -03:00
manager.rb FEATURE: Embeddings to main db (#99) 2023-07-13 12:41:36 -03:00
semantic_related.rb REFACTOR: Build related topics using TopicQuery. (#124) 2023-08-02 16:58:09 -03:00
semantic_search.rb FEATURE: Embeddings to main db (#99) 2023-07-13 12:41:36 -03:00