1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 hatchling, 6 llama-index-core, 7 llama-index-llms-openai, 8 pythonOlder, 9 transformers, 10}: 11 12buildPythonPackage rec { 13 pname = "llama-index-llms-openai-like"; 14 version = "0.5.1"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.8"; 18 19 src = fetchPypi { 20 pname = "llama_index_llms_openai_like"; 21 inherit version; 22 hash = "sha256-dwRKXC0eR0NDV1HdnTmiKBvJ3pafm5AZb+Tiufdzo1I="; 23 }; 24 25 build-system = [ hatchling ]; 26 27 dependencies = [ 28 llama-index-core 29 llama-index-llms-openai 30 transformers 31 ]; 32 33 # Tests are only available in the mono repo 34 doCheck = false; 35 36 pythonImportsCheck = [ "llama_index.llms.openai_like" ]; 37 38 meta = with lib; { 39 description = "LlamaIndex LLMS Integration for OpenAI like"; 40 homepage = "https://github.com/run-llama/llama_index/tree/main/llama-index-integrations/llms/llama-index-llms-openai-like"; 41 license = licenses.mit; 42 maintainers = with maintainers; [ fab ]; 43 }; 44}