python312Packages.llama-index-vector-stores-postgres: init at 0.1.3

This commit is contained in:
Fabian Affolter 2024-03-28 15:26:34 +01:00
parent 84193256b5
commit 655a28646e
2 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,52 @@
{ lib
, asyncpg
, buildPythonPackage
, fetchPypi
, llama-index-core
, pgvector
, poetry-core
, psycopg2
, pythonRelaxDepsHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "llama-index-vector-stores-postgres";
version = "0.1.3";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
pname = "llama_index_vector_stores_postgres";
inherit version;
hash = "sha256-vWqCcda9dDPLceoOEgMivpBmkLbKs/poEjzCk/q4HwI=";
};
pythonRemoveDeps = [
"psycopg2-binary"
];
build-system = [
poetry-core
pythonRelaxDepsHook
];
dependencies = [
asyncpg
llama-index-core
pgvector
psycopg2
];
pythonImportsCheck = [
"llama_index.vector_stores.postgres"
];
meta = with lib; {
description = "LlamaIndex Vector Store Integration for Postgres";
homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/vector_stores/llama-index-vector-stores-postgres";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -6812,6 +6812,8 @@ self: super: with self; {
llama-index-vector-stores-chroma = callPackage ../development/python-modules/llama-index-vector-stores-chroma { };
llama-index-vector-stores-postgres = callPackage ../development/python-modules/llama-index-vector-stores-postgres { };
llama-parse = callPackage ../development/python-modules/llama-parse { };
llamaindex-py-client = callPackage ../development/python-modules/llamaindex-py-client { };