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.1.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.1.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: polyllm_openai-0.1.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.1.0.tar.gz
Algorithm Hash digest
SHA256 b741c2c73515a162ddee2eb88d46481b9f8dcbe15c9acba6d05b6439cfd19bac
MD5 73b13ebfcca4a4f21107c40817b52c07
BLAKE2b-256 48720229ef9ae809de057227407b67612f5218f1e83aaa5a44c9b0c0762ae592

See more details on using hashes here.

Provenance

The following attestation bundles were made for polyllm_openai-0.1.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.1.0-py3-none-any.whl.

File metadata

  • Download URL: polyllm_openai-0.1.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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5eaf142edf53954c32d3322aa9d278020aa808962f14c72971216b62a860f65
MD5 4fc5ca7b00e2d4b5add88167c0b83195
BLAKE2b-256 e3e8dc9926756d541ac58c5a480bbf9321e548c136c76533d5e3ca9df73a7e4a

See more details on using hashes here.

Provenance

The following attestation bundles were made for polyllm_openai-0.1.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

0.2.0

2 files

This release

0.1.0 This release

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