Skip to main content

PolyLLM OpenAI Plugin for Python

from polyllm_core import create_llm
from polyllm_openai import OpenAIPlugin

llm = create_llm(plugins=[OpenAIPlugin()], providers={"openai": {"api_key": "..."}})
response = await llm.chat("openai:gpt-4o-mini", messages=[{"role": "user", "content": "你好"}])

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

polyllm_openai-0.2.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

polyllm_openai-0.2.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file polyllm_openai-0.2.0.tar.gz.

File metadata

  • Download URL: polyllm_openai-0.2.0.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for polyllm_openai-0.2.0.tar.gz
Algorithm Hash digest
SHA256 3d9d7d6da7e5701233c9f6158bf5020d9782e7ff0f1c5fbf1aba37f9c9b43e8d
MD5 ce922b2d866b6036a90a2014475d65b2
BLAKE2b-256 7561b01123474dc6e223a52aa602f11b978afc061656a3cb630233a77a7c026c

See more details on using hashes here.

Provenance

The following attestation bundles were made for polyllm_openai-0.2.0.tar.gz:

Publisher: release-python.yml on you-want/PolyLLM

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file polyllm_openai-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: polyllm_openai-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for polyllm_openai-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 343a01a30fe00a8446a61b4ec3d4c808fa9bfd1e24f025dccf8d6645ee461cd6
MD5 67566560d4dcb03c234c7a95562d5053
BLAKE2b-256 e11765fd7825d08c88ba2dd04ea137aea83fecf35e13ed2c1b3d0fa5a68ddb66

See more details on using hashes here.

Provenance

The following attestation bundles were made for polyllm_openai-0.2.0-py3-none-any.whl:

Publisher: release-python.yml on you-want/PolyLLM

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page