Skip to main content

LLMとannofab-cliを組み合わせたツールです。

Project description

annofab-cli-llm

annofab-cliとLLMを組み合わせたツールです。

Requirements

  • Python 3.12+

Intall

$ pip install annofab-cli-llm

設定

  1. annofabcliの認証情報を設定する。 https://annofab-cli.readthedocs.io/ja/latest/user_guide/configurations.html#id1
  2. 使用するLLMのトークンを環境変数に設定する
    • OpenAIならば、OPENAI_API_KEY
    • その他のLLMのトークンについては、https://github.com/BerriAI/litellm を参照してください。内部で litellm を使用しています。

Usage

$ annofabcli-llm --help

Project details


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

annofabcli_llm-0.1.0-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

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

Hashes for annofabcli_llm-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ba79499761897f725f205e77b7f3f52e5a100a134847541406bd7f78602ca46b
MD5 4b8c168d1977ac3608326af735984d76
BLAKE2b-256 3bb5bdf00f5a95262472347542b9500f019b9d2dcd3958e3d27515ec9a36e445

See more details on using hashes here.

File details

Details for the file annofabcli_llm-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for annofabcli_llm-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5bc82bf5550064c6438e49e35ec85cbe9cb62e84264e9406191c0deea2c58587
MD5 b8558fa231a700946fab78dcad1da796
BLAKE2b-256 754167c16255a69acb03f2b86a0738f0d008f16d10d4ce4d3e8daa343b65665b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page