diff options
| author | Yuri Victorovich <yuri@FreeBSD.org> | 2026-07-09 08:12:37 +0000 |
|---|---|---|
| committer | Yuri Victorovich <yuri@FreeBSD.org> | 2026-07-09 08:12:37 +0000 |
| commit | 5e7f2dc9acac85fe838076a5d6e04f3902d7b240 (patch) | |
| tree | 2841740cdda9be4dffe0f2f2c85c0b933deab8f7 | |
| parent | e387acc8431cf25e4cde250c473618b12705c110 (diff) | |
misc/py-llama-index-llms-openai: New port: LlamaIndex LLMs OpenAI integration
| -rw-r--r-- | misc/Makefile | 1 | ||||
| -rw-r--r-- | misc/py-llama-index-llms-openai/Makefile | 26 | ||||
| -rw-r--r-- | misc/py-llama-index-llms-openai/distinfo | 3 | ||||
| -rw-r--r-- | misc/py-llama-index-llms-openai/pkg-descr | 4 |
4 files changed, 34 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile index d84b5e6a4d1a..d144036ad4a0 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -556,6 +556,7 @@ SUBDIR += py-llama-index-core SUBDIR += py-llama-index-embeddings-huggingface SUBDIR += py-llama-index-llms-ibm + SUBDIR += py-llama-index-llms-openai SUBDIR += py-llm SUBDIR += py-llm-claude-3 SUBDIR += py-lm-format-enforcer diff --git a/misc/py-llama-index-llms-openai/Makefile b/misc/py-llama-index-llms-openai/Makefile new file mode 100644 index 000000000000..6f6edbce3031 --- /dev/null +++ b/misc/py-llama-index-llms-openai/Makefile @@ -0,0 +1,26 @@ +PORTNAME= llama-index-llms-openai +PORTVERSION= 0.7.9 +CATEGORIES= misc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:S/-/_/g}-${PORTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= LlamaIndex LLMs OpenAI integration +WWW= https://pypi.org/project/llama-index-llms-openai/ + +LICENSE= MIT + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}llama-index-core>=0.14.5:misc/py-llama-index-core@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}openai>=1.108.1:misc/py-openai@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +post-extract: + @${REINPLACE_CMD} -e 's/^license = "\([^"]*\)"/license = {text = "\1"}/' -e '/^license-files/d' ${WRKSRC}/pyproject.toml + +.include <bsd.port.mk> diff --git a/misc/py-llama-index-llms-openai/distinfo b/misc/py-llama-index-llms-openai/distinfo new file mode 100644 index 000000000000..c8d066b1b429 --- /dev/null +++ b/misc/py-llama-index-llms-openai/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1783067633 +SHA256 (llama_index_llms_openai-0.7.9.tar.gz) = f54a24b717134c86e724007057a06a84394f019d1f01e918b624894e208a86df +SIZE (llama_index_llms_openai-0.7.9.tar.gz) = 27564 diff --git a/misc/py-llama-index-llms-openai/pkg-descr b/misc/py-llama-index-llms-openai/pkg-descr new file mode 100644 index 000000000000..c550803b814f --- /dev/null +++ b/misc/py-llama-index-llms-openai/pkg-descr @@ -0,0 +1,4 @@ +LlamaIndex LLMs OpenAI provides OpenAI integration for LlamaIndex. +It enables the use of OpenAI's language models (GPT-4, GPT-3.5, etc.) +within LlamaIndex pipelines for RAG, agents, and other LLM-powered +applications. |
