discourse-ai/app
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
..
controllers/discourse_ai UX: No admin header for edit personas tools or llms (#1021) 2024-12-12 10:48:58 +11:00
helpers/discourse_ai/ai_bot FIX: automatically bust cache for share ai assets (#942) 2024-11-22 11:23:15 +11:00
jobs REFACTOR: A Simpler way of interacting with embeddings tables. (#1023) 2024-12-13 10:15:21 -03:00
mailers FEATURE: support sending AI report to an email address (#368) 2023-12-19 17:51:49 +11:00
models REFACTOR: A Simpler way of interacting with embeddings tables. (#1023) 2024-12-13 10:15:21 -03:00
serializers FEATURE: Add AI-powered spam detection for new user posts (#1004) 2024-12-12 09:17:25 +11:00
services/discourse_ai REFACTOR: Support of different summarization targets/prompts. (#835) 2024-10-15 13:53:26 -03:00
views FIX: automatically bust cache for share ai assets (#942) 2024-11-22 11:23:15 +11:00