diff options
author | Lain Soykaf <lain@lain.com> | 2024-05-14 14:26:41 +0400 |
---|---|---|
committer | Lain Soykaf <lain@lain.com> | 2024-05-14 14:26:41 +0400 |
commit | bb08a766f4c1bd84c98e245c1871c46fcc7c7a8d (patch) | |
tree | 6603a0f30be34acfafdae8f3edfcf573b02d19b6 | |
parent | cd7e2138d11901fc7a0c8c2f22b7a5d57383a555 (diff) | |
download | pleroma-bb08a766f4c1bd84c98e245c1871c46fcc7c7a8d.tar.gz pleroma-bb08a766f4c1bd84c98e245c1871c46fcc7c7a8d.zip |
QdrantSearch: Remove debugging stuff
-rw-r--r-- | lib/pleroma/search/qdrant_search.ex | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/pleroma/search/qdrant_search.ex b/lib/pleroma/search/qdrant_search.ex index fcaa9e686..726a30b3b 100644 --- a/lib/pleroma/search/qdrant_search.ex +++ b/lib/pleroma/search/qdrant_search.ex @@ -22,8 +22,7 @@ defmodule Pleroma.Search.QdrantSearch do OllamaClient.post("/api/embeddings", %{ prompt: text, model: Pleroma.Config.get([Pleroma.Search.QdrantSearch, :ollama_model]) - }) - |> IO.inspect() do + }) do {:ok, embedding} else _ -> @@ -53,7 +52,6 @@ defmodule Pleroma.Search.QdrantSearch do def add_to_index(activity) do # This will only index public or unlisted notes maybe_search_data = object_to_search_data(activity.object) - IO.puts("TRYING TO INDEX\n\n") if activity.data["type"] == "Create" and maybe_search_data do with {:ok, embedding} <- get_embedding(maybe_search_data.content), |