ai/py-llm 0.31_1 MidnightBSD
Interact with Large Language Models by API, or locally
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
dee1e47e52- License
- Apache-2.0
- Categories
- ai, python
Description
A CLI utility and Python library for interacting with Large Language Models, including OpenAI, PaLM and local models installed on your own machine.
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}llm
From mports:
cd /usr/mports/ai/py-llm && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}llm>0:ai/py-llm
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 10
${PYTHON_PKGNAMEPREFIX}click-default-group>=1.2.3: devel/py-click-default-group${PYTHON_PKGNAMEPREFIX}click>0: devel/py-click${PYTHON_PKGNAMEPREFIX}condense-json>0: devel/py-condense-json${PYTHON_PKGNAMEPREFIX}openai>=1.0.0: ai/py-openai${PYTHON_PKGNAMEPREFIX}pluggy>=1.0: devel/py-pluggy${PYTHON_PKGNAMEPREFIX}puremagic>0: sysutils/py-puremagic${PYTHON_PKGNAMEPREFIX}pydantic2>=2.0: devel/py-pydantic2${PYTHON_PKGNAMEPREFIX}python-ulid2>=1<3: textproc/py-python-ulid2${PYTHON_PKGNAMEPREFIX}sqlite-migrate>0: databases/py-sqlite-migrate${PYTHON_PKGNAMEPREFIX}types-pyyaml>=0: devel/py-types-pyyaml
Build dependencies 2
Run dependencies 10
No port depends on this one.
Configuration
Options name: ai_llm
| Option | Default | Description |
|---|---|---|
| DOCS | off |
- USES
- python shebangfix
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| llm-0.31.tar.gz | 86505 | c7701408fdc53cbdf1db6a43f35c7dd410c291dda36cc38a14db4b482b274fa4 |
Master sites 1
- PYPI