LLMとannofab-cliを組み合わせたツールです。
Project description
annofab-cli-llm
annofab-cliとLLMを組み合わせたツールです。
Requirements
- Python 3.12+
Intall
$ pip install annofab-cli-llm
設定
- annofabcliの認証情報を設定する。 https://annofab-cli.readthedocs.io/ja/latest/user_guide/configurations.html#id1
- 使用するLLMのトークンを環境変数に設定する
- OpenAIならば、
OPENAI_API_KEY。 - その他のLLMのトークンについては、https://github.com/BerriAI/litellm を参照してください。内部で litellm を使用しています。
- OpenAIならば、
Usage
$ annofabcli-llm --help
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
annofabcli_llm-0.1.0.tar.gz
(144.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file annofabcli_llm-0.1.0.tar.gz.
File metadata
- Download URL: annofabcli_llm-0.1.0.tar.gz
- Upload date:
- Size: 144.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba79499761897f725f205e77b7f3f52e5a100a134847541406bd7f78602ca46b
|
|
| MD5 |
4b8c168d1977ac3608326af735984d76
|
|
| BLAKE2b-256 |
3bb5bdf00f5a95262472347542b9500f019b9d2dcd3958e3d27515ec9a36e445
|
File details
Details for the file annofabcli_llm-0.1.0-py3-none-any.whl.
File metadata
- Download URL: annofabcli_llm-0.1.0-py3-none-any.whl
- Upload date:
- Size: 17.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5bc82bf5550064c6438e49e35ec85cbe9cb62e84264e9406191c0deea2c58587
|
|
| MD5 |
b8558fa231a700946fab78dcad1da796
|
|
| BLAKE2b-256 |
754167c16255a69acb03f2b86a0738f0d008f16d10d4ce4d3e8daa343b65665b
|