summaryrefslogtreecommitdiff
path: root/config/config.exs
diff options
context:
space:
mode:
authorLain Soykaf <lain@lain.com>2024-05-27 14:21:55 +0400
committerLain Soykaf <lain@lain.com>2024-05-27 14:21:55 +0400
commitf4c04e6b2dce6d75d148ca520aaef27005ecaa82 (patch)
tree6be1f8ebe63c7dd5cdca212f37a31d2864a7fe17 /config/config.exs
parentec3f3fef7798111641f08020d5fd7ae16e407b89 (diff)
downloadpleroma-f4c04e6b2dce6d75d148ca520aaef27005ecaa82.tar.gz
pleroma-f4c04e6b2dce6d75d148ca520aaef27005ecaa82.zip
QdrantSearch: Add health checks.
Diffstat (limited to 'config/config.exs')
-rw-r--r--config/config.exs3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/config.exs b/config/config.exs
index d891a5218..f388dfe52 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -919,6 +919,9 @@ config :pleroma, Pleroma.Search.QdrantSearch,
qdrant_url: "http://127.0.0.1:6333/",
qdrant_api_key: "",
openai_url: "http://127.0.0.1:11345",
+ # The healthcheck url has to be set to nil when used with the real openai
+ # API, as it doesn't have a healthcheck endpoint.
+ openai_healthcheck_url: "http://127.0.0.1:11345/health",
openai_model: "snowflake/snowflake-arctic-embed-xs",
openai_api_key: "",
qdrant_index_configuration: %{