openai-python
The official Python library for the OpenAI API
About this project
OpenAI Python API library ) The OpenAI Python library provides convenient access to the OpenAI REST API from any Python 3.10+ application. The library includes type definitions for all request params and response fields, and offers both synchronous and asynchronous clients powered by HTTPX2. It is generated from our OpenAPI specification. Documentation The REST API documentation can be found on platform.openai.com. The full API of this library can be found in api.md. Installation Usage The full API of this library can be found in api.md. The primary API for interacting with OpenAI models is the Responses API. You can generate text from the model with the code below. The…
Technologies
Project health
GitHub
Reviews
Built by
Maintain openai/openai-python? Claiming verifies admin access through your GitHub account and gives you control of this listing.