fix: reworking some code smell issues

This commit is contained in:
2026-06-26 16:34:07 +02:00
parent 68de265137
commit d1acfd4d71
42 changed files with 661 additions and 129 deletions

View File

@@ -1,5 +1,11 @@
defmodule BDS.Embeddings do
@moduledoc false
@moduledoc """
Context for post embeddings: build and refresh the per-project vector index,
sync individual posts, report indexing progress, and compute similarity.
The backing index is persisted to disk and rebuilt on demand; a failed persist
is retried by the next reindex.
"""
import Ecto.Query
require Logger