python311Packages.llama-index-llms-openai: 0.10.22 -> 0.1.12
No longer use mono repo for the sour as the release cycles don't match
This commit is contained in:
parent
d3610453fb
commit
81e32ce834
|
@ -1,28 +1,40 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchPypi
|
||||||
, poetry-core
|
|
||||||
, llama-index-core
|
, llama-index-core
|
||||||
|
, poetry-core
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "llama-index-llms-openai";
|
pname = "llama-index-llms-openai";
|
||||||
|
version = "0.1.12";
|
||||||
inherit (llama-index-core) version src meta;
|
|
||||||
|
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
sourceRoot = "${src.name}/llama-index-integrations/llms/${pname}";
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
src = fetchPypi {
|
||||||
|
pname = "llama_index_llms_openai";
|
||||||
|
inherit version;
|
||||||
|
hash = "sha256-QAygCDlRvWaM6Lwkh1znC2NufbMosnxqUObRorCBueY=";
|
||||||
|
};
|
||||||
|
|
||||||
|
build-system = [
|
||||||
poetry-core
|
poetry-core
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
dependencies = [
|
||||||
llama-index-core
|
llama-index-core
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"llama_index.llms.openai"
|
"llama_index.llms.openai"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "LlamaIndex LLMS Integration for OpenAI";
|
||||||
|
homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/llms/llama-index-llms-openai";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user