discourse-ai/spec
Bianca Nenciu 294c364a75
DEV: Fix mismatched column types (#868)
The primary key is usually a bigint column, but the foreign key columns
are usually of integer type. This can lead to issues when joining these
columns due to mismatched types and different value ranges.

This was using a temporary plugin / test API to make tests pass, but it
is safe to alter "ai_document_fragment_embeddings" and
"rag_document_fragments" tables because they usually have less than 1M
rows and migration is going to be fast.

Depending on the size of the community, "classification_results" table
may have more than 1M rows and the migration will lock the table for a
longer time. However, classification runs in background jobs and they
will be automatically retried if they fail due to the lock, which makes
it acceptable.
2024-10-28 15:36:42 +02:00
..
configuration FIX: Correctly display errors when parent module needs to be disabled first (#788) 2024-08-30 17:16:11 -03:00
fabricators UX: Improve seeded LLM edit page (#856) 2024-10-23 13:58:27 -07:00
fixtures FIX: Load categories from search response (#612) 2024-05-14 17:13:25 +03:00
jobs FEATURE: Fast-track gist regeneration when a hot topic gets a new post (#860) 2024-10-25 12:38:49 -03:00
lib FIX/REFACTOR: FoldContent revamp (#866) 2024-10-25 11:51:17 -03:00
models FEATURE: smarter persona tethering (#832) 2024-10-16 07:20:31 +11:00
requests FIX: testing tool was not showing rag results (#867) 2024-10-25 16:01:25 +11:00
serializers DEV: Fix new Rubocop offenses 2024-03-06 15:23:29 +01:00
services/discourse_ai REFACTOR: Support of different summarization targets/prompts. (#835) 2024-10-15 13:53:26 -03:00
shared FIX/REFACTOR: FoldContent revamp (#866) 2024-10-25 11:51:17 -03:00
support FIX: typo causing text_embedding_3_large to fail (#460) 2024-02-05 11:16:36 +11:00
system FIX: testing tool was not showing rag results (#867) 2024-10-25 16:01:25 +11:00
tasks FIX: Filter soft-deleted topics when backfilling sentiment (#527) 2024-03-12 21:01:24 -03:00
plugin_helper.rb DEV: Fix mismatched column types (#868) 2024-10-28 15:36:42 +02:00
plugin_spec.rb DEV: Clearly separate post/composer helper settings (#747) 2024-08-12 15:40:23 -07:00