diff options
| -rw-r--r-- | lib/pleroma/search/qdrant_search.ex | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/pleroma/search/qdrant_search.ex b/lib/pleroma/search/qdrant_search.ex index 726a30b3b..31e7754ae 100644 --- a/lib/pleroma/search/qdrant_search.ex +++ b/lib/pleroma/search/qdrant_search.ex @@ -71,6 +71,8 @@ defmodule Pleroma.Search.QdrantSearch do    @impl true    def search(_user, query, _options) do +    query = "Represent this sentence for searching relevant passages: #{query}" +      with {:ok, embedding} <- get_embedding(query),           {:ok, %{body: %{"result" => result}}} <-             QdrantClient.post("/collections/posts/points/search", build_search_payload(embedding)) do  | 
