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