mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
python312Packages.llama-index-llms-openai-like: init at 0.1.3
This commit is contained in:
parent
d622e6abcb
commit
4efe48318b
|
@ -0,0 +1,47 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, llama-index-core
|
||||
, llama-index-llms-openai
|
||||
, poetry-core
|
||||
, pythonOlder
|
||||
, transformers
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "llama-index-llms-openai-like";
|
||||
version = "0.1.3";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "llama_index_llms_openai_like";
|
||||
inherit version;
|
||||
hash = "sha256-w0EjJQd8dSY+N9YNUBMUub3HcPEtiisW51bn2ayPnj8=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
llama-index-core
|
||||
llama-index-llms-openai
|
||||
transformers
|
||||
];
|
||||
|
||||
# Tests are only available in the mono repo
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"llama_index.llms.openai_like"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "LlamaIndex LLMS Integration for OpenAI like";
|
||||
homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/llms/llama-index-llms-openai-like";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -6784,6 +6784,8 @@ self: super: with self; {
|
|||
|
||||
llama-index-llms-openai = callPackage ../development/python-modules/llama-index-llms-openai { };
|
||||
|
||||
llama-index-llms-openai-like = callPackage ../development/python-modules/llama-index-llms-openai-like { };
|
||||
|
||||
llama-index-multi-modal-llms-openai = callPackage ../development/python-modules/llama-index-multi-modal-llms-openai { };
|
||||
|
||||
llama-index-program-openai = callPackage ../development/python-modules/llama-index-program-openai { };
|
||||
|
|
Loading…
Reference in a new issue