discourse-ai/spec/lib
Roman Rizzi eae527f99d
REFACTOR: A Simpler way of interacting with embeddings tables. (#1023)
* REFACTOR: A Simpler way of interacting with embeddings' tables.

This change adds a new abstraction called `Schema`, which acts as a repository that supports the same DB features `VectorRepresentation::Base` has, with the exception that removes the need to have duplicated methods per embeddings table.

It is also a bit more flexible when performing a similarity search because you can pass it a block that gives you access to the builder, allowing you to add multiple joins/where conditions.
2024-12-13 10:15:21 -03:00
..
completions FEATURE: first class support for OpenRouter (#1011) 2024-12-10 05:59:19 +11:00
discord/bot FEATURE: Discord Bot integration (#831) 2024-10-16 12:41:18 -03:00
discourse_automation FIX: AI Automation scripts were broken when using seeded models (#991) 2024-12-02 19:07:05 -03:00
modules REFACTOR: A Simpler way of interacting with embeddings tables. (#1023) 2024-12-13 10:15:21 -03:00
utils FEATURE: allow artifacts to be updated (#980) 2024-12-03 07:23:31 +11:00
guardian_extensions_spec.rb FEATURE: Calculate gists from non hot topics too (#958) 2024-11-26 13:44:12 -03:00