c7cb07f092
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
28 lines
465 B
Nix
28 lines
465 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, llama-index-core
|
|
, poetry-core
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "llama-index-embeddings-openai";
|
|
|
|
inherit (llama-index-core) version src meta;
|
|
|
|
pyproject = true;
|
|
|
|
sourceRoot = "${src.name}/llama-index-integrations/embeddings/${pname}";
|
|
|
|
nativeBuildInputs = [
|
|
poetry-core
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
llama-index-core
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"llama_index.embeddings.openai"
|
|
];
|
|
}
|