openai

Package — LLM/AIPython 3.7+Intermediate

Official Python client for OpenAI API (GPT, DALL-E, Whisper)

Quick Info

Documentation
Official Docs
Python Version
3.7+
Dependencies
httpx, pydantic, typing-extensions, anyio, distro, sniffio, tqdm
Install
pip install openai

Learn by Difficulty

Quick Example

python
# Install: pip install openai
import openai

# Basic openai usage
print(f"Using openai")
# See documentation for detailed examples

openai is a third-party package. Official Python client for OpenAI API (GPT, DALL-E, Whisper). Install with: pip install openai

Try in Playground

Tags

packagellmaigptapi-client

Related Items