MerchantryTidbits

llm-inference / library

openai-python

Capability: openai-python

Use it when

  • official Python SDK for OpenAI chat and embeddings APIs
  • call GPT models with retries and streaming in Python

What it solves

Not the fit when

  • free unlimited tokens

Install

pip install openai

Invoke

from openai import OpenAI; client.chat.completions / responses; use structured outputs where supported.

Alternatives

No reviewed alternatives recorded yet.