migrate article embeddings to support multi-model architecture and enhance data integrity
This commit is contained in:
parent
bdc7325387
commit
3e74bd7286
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ async function statusRoutes(fastify) {
|
||||||
SUM(CASE
|
SUM(CASE
|
||||||
WHEN content IS NOT NULL AND content != ''
|
WHEN content IS NOT NULL AND content != ''
|
||||||
AND is_index_page = 0
|
AND is_index_page = 0
|
||||||
AND EXISTS (SELECT 1 FROM article_embeddings WHERE article_id = articles.id)
|
AND EXISTS (SELECT 1 FROM article_embedding_meta WHERE article_id = articles.id)
|
||||||
THEN 1 ELSE 0
|
THEN 1 ELSE 0
|
||||||
END) AS usable
|
END) AS usable
|
||||||
FROM articles
|
FROM articles
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue