about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2024-03-28 15:30:28 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2024-03-28 20:24:14 +0100
commitc921298cc6be5c049bd46aaa046d5eaaac42d42c (patch)
tree0d5b26a3fec382f74d288db57b78cb1ea794afc4
parent655a28646eefbf37b01d0bfa52d5f887f903b34d (diff)
downloadnixlib-c921298cc6be5c049bd46aaa046d5eaaac42d42c.tar
nixlib-c921298cc6be5c049bd46aaa046d5eaaac42d42c.tar.gz
nixlib-c921298cc6be5c049bd46aaa046d5eaaac42d42c.tar.bz2
nixlib-c921298cc6be5c049bd46aaa046d5eaaac42d42c.tar.lz
nixlib-c921298cc6be5c049bd46aaa046d5eaaac42d42c.tar.xz
nixlib-c921298cc6be5c049bd46aaa046d5eaaac42d42c.tar.zst
nixlib-c921298cc6be5c049bd46aaa046d5eaaac42d42c.zip
python312Packages.llama-index-vector-stores-qdrant: init at 0.1.4
-rw-r--r--pkgs/development/python-modules/llama-index-vector-stores-qdrant/default.nix44
-rw-r--r--pkgs/top-level/python-packages.nix2
2 files changed, 46 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/llama-index-vector-stores-qdrant/default.nix b/pkgs/development/python-modules/llama-index-vector-stores-qdrant/default.nix
new file mode 100644
index 000000000000..e0c34a935c76
--- /dev/null
+++ b/pkgs/development/python-modules/llama-index-vector-stores-qdrant/default.nix
@@ -0,0 +1,44 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, llama-index-core
+, qdrant-client
+, poetry-core
+, grpcio
+, pythonOlder
+}:
+
+buildPythonPackage rec {
+  pname = "llama-index-vector-stores-qdrant";
+  version = "0.1.4";
+  pyproject = true;
+
+  disabled = pythonOlder "3.8";
+
+  src = fetchPypi {
+    pname = "llama_index_vector_stores_qdrant";
+    inherit version;
+    hash = "sha256-UIiEL7ZUcGQusyhs9cFsPOZ8qxH7ouoCnQMemlho0lA=";
+  };
+
+  build-system = [
+    poetry-core
+  ];
+
+  dependencies = [
+    grpcio
+    llama-index-core
+    qdrant-client
+  ];
+
+  pythonImportsCheck = [
+    "llama_index.vector_stores.qdrant"
+  ];
+
+  meta = with lib; {
+    description = "LlamaIndex Vector Store Integration for Qdrant";
+    homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/vector_stores/llama-index-vector-stores-qdrant";
+    license = licenses.mit;
+    maintainers = with maintainers; [ fab ];
+  };
+}
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 49e05591355c..45fda4a6216e 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -6814,6 +6814,8 @@ self: super: with self; {
 
   llama-index-vector-stores-postgres = callPackage ../development/python-modules/llama-index-vector-stores-postgres { };
 
+  llama-index-vector-stores-qdrant = callPackage ../development/python-modules/llama-index-vector-stores-qdrant { };
+
   llama-parse = callPackage ../development/python-modules/llama-parse { };
 
   llamaindex-py-client = callPackage ../development/python-modules/llamaindex-py-client { };