|
Meta tags:
description=The official Python library for the OpenAI API. Contribute to openai/openai-python development by creating an account on GitHub.;
Headings (most frequently used words):
navigation, undocumented, webhook, contributing, resources, identity, openai, api, repository, about, files, usage, realtime, params, handling, request, azure, footer, topics, security, policy, stars, watchers, forks, workload, payloads, response, custom, the, http, client, mutual, tls, python, library, menu, latest, commit, history, folders, and, documentation, installation, async, streaming, responses, using, types, pagination, nested, file, uploads, verification, errors, ids, retries, timeouts, advanced, microsoft, amazon, bedrock, versioning, requirements, releases, used, by, contributors, languages, authentication, vision, with, aiohttp, httpx2, migration, error, parsing, verifying, directly, logging, how, to, tell, whether, none, means, null, or, missing, accessing, raw, data, headers, making, requests, configuring, managing, legacy, bedrockopenai, determining, installed, version, kubernetes, service, account, tokens, managed, google, cloud, platform, compute, engine, metadata, subject, token, provider, 509, with_streaming_response, endpoints, properties,
Text of the page (most frequently used words):
the (205), #openai (148), client (116), and (77), import (67), for (63), from (60), api (57), response (57), you (54), can (44), print (42), with (42), event (37), this (36), request (32), model (29), create (29), async (29), that (28), not (26), requests (26), are (25), python (24), use (24), http (24), gpt (23), default (22), httpx2 (22), type (22), library (19), bedrock (19), asyncopenai (19), environ (19), error (18), responses (18), github (17), when (17), provider (17), all (17), content (17), await (17), realtime (17), get (17), json (16), will (16), your (15), key (15), role (15), identity (15), security (14), using (14), certificate (14), connection (14), text (14), code (14), authentication (13), input (13), user (13), main (13), like (13), object (13), webhook (13), audio (13), example (12), asyncio (12), 509 (12), mtls (12), server (12), file (12), custom (11), see (11), version (11), sdk (11), which (11), must (11), https (11), workload (11), azure (11), completions (11), chat (11), com (11), methods (11), through (10), environment (10), support (10), provide (10), sent (10), configure (10), messages (10), headers (10), timeout (10), properties (9), contributing (9), only (9), also (9), aws (9), files (9), run (9), def (9), token (9), body (9), stream (9), more (9), raise (9), such (8), pass (8), before (8), errors (8), say (8), variable (8), how (8), test (8), method (8), parse (8), signature (8), status (7), repository (7), policy (7), please (7), api_key (7), uses (7), completion (7), name (7), none (7), http_client (7), ssl (7), defaulthttpx2client (7), undocumented (7), return (7), these (7), exception (7), data (7), list (7), job (7), first_page (7), events (7), session (7), about (6), non (6), release (6), without (6), may (6), same (6), set (6), endpoint (6), base_url (6), output_text (6), configured (6), install (6), found (6), here (6), instead (6), after (6), tls (6), usage (6), trust (6), transport (6), origin (6), ssl_context (6), verify (6), openai_api_key (6), other (6), access (6), true (6), raw (6), connect (6), application (6), settings (6), except (6), app (6), invalid (6), flask (6), all_jobs (6), image (6), service_account_id (6), identity_provider_id (6), workload_identity (6), docs (5), used (5), license (5), readme (5), resources (5), features (5), open (5), amazon (5), profile (5), remain (5), chain (5), tokens (5), refresh (5), standard (5), retries (5), override (5), credentials (5), options (5), endpoints (5), params (5), class (5), build (5), its (5), does (5), directly (5), signed (5), with_options (5), another (5), migration (5), send (5), header (5), with_streaming_response (5), read (5), full (5), next (5), logging (5), retried (5), raised (5), automatically (5), limit (5), jobs (5), fine_tuning (5), request_body (5), webhooks (5), documentation (5), message (5), clients (5), auth (5), 456 (5), idp (5), 123 (5), cloud (5), changelog (5), time (4), navigation (4), forks (4), stars (4), pypi (4), guide (4), runtime (4), new (4), then (4), compatibility (4), supported (4), package (4), window (4), changes (4), bedrockopenai (4), existing (4), explicit (4), credential (4), region (4), streaming (4), one (4), supports (4), normal (4), handling (4), microsoft (4), learn (4), services (4), resource (4), asynchronous (4), close (4), make (4), exchange (4), leaf (4), complete (4), first (4), currently (4), load_cert_chain (4), follow_redirects (4), openai_base_url (4), cafile (4), mutual (4), customize (4), want (4), post (4), need (4), interface (4), what (4), my_field (4), note (4), max_retries (4), apistatuserror (4), try (4), apiconnectionerror (4), was (4), __name__ (4), verifying (4), unwrap (4), elif (4), completed (4), instance (4), items (4), pages (4), openaierror (4), sign (4), aiohttp (4), base64 (4), prompt (4), k8s_service_account_token_provider (4), platform (4), lock (4), pnpm (4), yaml (4), copilot (4), information (3), report (3), apache (3), official (3), pull (3), collaborators (3), latest (3), but (3), any (3), likely (3), backwards (3), work (3), metadata (3), compatible (3), public (3), documented (3), external (3), types (3), behavior (3), legacy (3), west (3), available (3), should (3), bearer (3), require (3), mantle (3), optional (3), returns (3), config (3), select (3), hello (3), pip (3), directory (3), provided (3), output (3), rest (3), azureopenai (3), means (3), always (3), cannot (3), connections (3), context (3), manager (3), configuration (3), websocket (3), sslcontext (3), private (3), missing (3), add (3), port (3), examples (3), sync (3), false (3), defaultasynchttpx2client (3), openai_mtls_private_key_password (3), password (3), openai_mtls_private_key (3), keyfile (3), openai_mtls_certificate_chain (3), certfile (3), openai_mtls_ca_bundle (3), create_default_context (3), explicitly (3), needed (3), beta (3), per (3), proxy (3), var (3), transports (3), hooks (3), advanced (3), extra (3), fields (3), typed (3), call (3), have (3), returned (3), null (3), else (3), cases (3), separately (3), openai_log (3), enable (3), out (3), write (3), control (3), minutes (3), option (3), exceptions (3), 429 (3), exc (3), ids (3), failed (3), catch (3), otherwise (3), _request_id (3), back (3), 400 (3), received (3), helpers (3), string (3), filename (3), format (3), wav (3), path (3), parameters (3), nested (3), page (3), done (3), input_text (3), websockets (3), defaultaiohttpclient (3), omitted (3), tls_context (3), kubernetes (3), commit (3), actions (3), quality (3), tab (3), reload (3), developers (3), customer (3), enterprise (3), grade (3), share (2), manage (2), cookies (2), community (2), footer (2), watching (2), 382 (2), watchers (2), activity (2), topics (2), org (2), project (2), development (2), follow (2), issues (2), higher (2), requirements (2), determine (2), still (2), bugs (2), issue (2), smooth (2), released (2), minor (2), versions (2), users (2), final (2), history (2), internals (2), static (2), follows (2), certain (2), versioning (2), module (2), aws_region (2), applications (2), prefer (2), aws_bearer_token_bedrock (2), mode (2), sigv4 (2), fully (2), already (2), low (2), level (2), retain (2), signing (2), named (2), profiles (2), assume (2), configures (2), while (2), omit (2), providers (2), api_version (2), azure_endpoint (2), base (2), to_json (2), reference (2), shape (2), differs (2), important (2), garbage (2), reliably (2), closed (2), closes (2), underlying (2), whenever (2), manually (2), above (2), included (2), rotation (2), old (2), finish (2), match (2), fetch (2), pem (2), intermediate (2), enabled (2), fixed (2), different (2), redirects (2), required (2), hook (2), rejects (2), host (2), enabling (2), disable (2), url (2), preserve (2), tell (2), configuring (2), review (2), env (2), proxies (2), pydantic (2), extra_headers (2), foo (2), making (2), convenient (2), line (2), iter_lines (2), reads (2), script (2), would (2), with_raw_response (2), got (2), model_fields_set (2), either (2), case (2), info (2), apitimeouterror (2), granular (2), seconds (2), timeouts (2), integer (2), retry (2), their (2), short (2), due (2), network (2), 500 (2), req_123 (2), prefix (2), property (2), ratelimiterror (2), status_code (2), within (2), __cause__ (2), could (2), httpx (2), handler (2), iterators (2), inherit (2), subclass (2), 8000 (2), __main__ (2), verification (2), verify_signature (2), as_text (2), get_data (2), route (2), openai_webhook_secret (2), parameter (2), parsing (2), payload (2), handle (2), payloads (2), into (2), most (2), exact (2), contents (2), asynchronously (2), pathlike (2), passing (2), extension (2), detection (2), bytesio (2), tuple (2), uploads (2), remove (2), cursor (2), just (2), next_page (2), get_next_page (2), next_page_info (2), has_next_page (2), append (2), across (2), provides (2), each (2), basic (2), analysis (2), helper (2), things (2), models (2), stay (2), inputs (2), delta (2), item (2), update (2), choices (2), both (2), sentence (2), bedtime (2), story (2), unicorn (2), synchronous (2), png (2), b64_image (2), image_url (2), input_image (2), image_file (2), img_url (2), 800 (2), rollout (2), toggle (2), change (2), keys (2), refresh_buffer_seconds (2), 120 (2), x509_workload_identity (2), getenv (2), service (2), account (2), get_custom_token (2), jwt (2), gcp_id_token_provider (2), google (2), azure_managed_identity_token_provider (2), managed (2), secure (2), automated (2), environments (2), lived (2), source (2), check (2), pirate (2), developer (2), generate (2), below (2), coding (2), talks (2), vertex (2), pyproject (2), toml (2), workspace (2), python_version_policy (2), brewfile (2), agents (2), manifest (2), node (2), gitignore (2), castiron (2), stats (2), yml (2), tests (2), src (2), scripts (2), api_reference (2), vscode (2), inline (2), snapshot (2), devcontainer (2), last (2), 920 (2), commits (2), menu (2), star (2), insights (2), universe (2), training (2), integrations (2), stories (2), center (2), business (2), fixes (2), products (2), secret (2), perform, action, personal, contact, privacy, terms, 2026, inc, languages, contributors, releases, bug, reports, feature, limited, accept, contribution, vulnerabilities, __version__, being, upgraded, aren, seeing, were, expecting, older, determining, installed, keen, feedback, questions, suggestions, take, seriously, hard, ensure, rely, upgrade, experience, minimum, increases, patches, keep, treatment, expect, impact, vast, majority, practice, technically, intended, let, know, relying, affect, breaking, generally, conventions, though, incompatible, semver, continues, openai_api_type, api_type, aws_profile, delegate, implementation, asyncbedrockopenai, takes, precedence, over, refresh_bedrock_token, lambda, token_provider, manual, callback, replayable, serialized, bodies, meet, requirement, unaffected, shot, streams, buffered, sending, disabled, derived, urls, aws_bedrock_base_url, refreshable, botocore, mutually, exclusive, credential_provider, session_token, secret_access_key, access_key_id, shared, sso, ecs, eks, ec2, retaining, controls, unsupported, calls, surface, aws_default_region, dependencies, entra, formerly, known, active, azure_ad_token_provider, azure_openai_ad_token, azure_ad_token, openai_api_version, azure_deployment, azure_openai_endpoint, addition, following, instant, deployment, cognitive, pivots, web, portal, 2023, preview, gets, azure_openai_api_key, core, won, correct, shutting, down, loop, collection, cleanup, now, desired, exiting, collected, managing, recipe, applies, ordinary, traffic, backed, described, creates, fresh, pool, flight, renegotiate, raises, during, setup, unreadable, malformed, expiry, extended, san, decisions, intermediates, aia, until, organization, uploaded, bearing, wide, dedicate, selected, reuse, unrelated, whose, scheme, equivalent, belongs, reach, anchor, contain, followed, every, operating, system, trusted, authorities, independently, authenticated, native, enrollment, program, basis, local_address, httptransport, 8083, updating, dict, model_extra, unknown_prop, param, extra_body, extra_query, my_param, cast_to, verbs, respected, asyncapiresponse, apiresponse, requires, once, iter_text, iter_bytes, eagerly, general, mostly, changing, slightly, major, legacyapiresponse, accessed, prefixing, accessing, present, field, entirely, value, differentiate, two, whether, verbose, show, logger, loggers, critical, warning, debug, export, setting, twice, thrown, accepts, float, propagate, unchanged, including, task, executor, cancellation, signals, negative, disables, large, larger, budget, values, 1000, current, day, javascript, safely, resent, times, exponential, backoff, connectivity, problem, 408, 409, conflict, rate, internal, request_id, unlike, unless, modules, added, quickly, log, failing, them, debugging, internalservererror, unprocessableentityerror, 422, notfounderror, 404, permissiondeniederror, 403, authenticationerror, 401, badrequesterror, codes, 200, range, off, bit, reached, abc123, training_file, consuming, failures, original, consumption, because, replaying, duplicate, delivered, assistants, asyncstream, apierror, success, 4xx, 5xx, containing, unable, problems, verified, loads, some, steps, unhandled, achieve, parses, verifies, signatures, encouraged, attribute, mutable, multipart, generic, upload, transcribe, transcriptions, transcription, audio_bytes, uploading, memory, include, needs, fine, tune, purpose, jsonl, pathlib, correspond, passed, media, bytes, json_object, much, dictionaries, typeddict, number, fetched, len, details, alternatively, working, iterate, issuing, something, fetches, auto, paginating, successive, paginated, pagination, autocomplete, editor, help, earlier, typecheckingmode, converting, dictionary, to_dict, serializing, typeddicts, receive, translation, event_id, occurs, usable, yourself, comes, however, real, magic, outputs, fledged, tui, disconnected, inspect, break, did, end, flush, conversation, output_modalities, based, works, combination, confirm, has, been, insensitively, removes, caller, reject, even, retained, supply, own, locally, default_headers, authorization, under, hood, enables, latency, multi, modal, conversational, experiences, well, function, calling, sse, mock, chat_completion, instantiating, installing, improved, concurrency, performance, functionality, between, identical, explain, disestablishmentarianism, smart, five, year, simply, utf, decode, b64encode, encoded, nga, gov, iiif, a2e6da57, 3cd1, 4235, b20e, 95dcaefed6c8, jpg, vision, owned, apis, openai_auth_mode, effective, authority, alongside, exchanges, captured, constructed, defaults, neither, nor, presents, exchanged, lazily, cached, refreshed, passwords, concerns, openai_service_account_id, openai_identity_provider_id, federation, buffer, 1200, expiration, get_token, token_type, str, subject, audience, compute, engine, management, secrets, serviceaccount, long, keyword, argument, recommend, stored, dotenv, talk, previous, indefinitely, generating, assistant, instructions, primary, interacting, installation, generated, our, openapi, specification, includes, definitions, offers, powered, view, date, folders, tags, branches, fork, notification, notifications, discussions, prs, dismiss, alert, switched, accounts, appearance, search, pricing, workshops, partners, company, forum, webinars, blog, premium, ons, why, evaluate, industries, government, manufacturing, financial, healthcare, industry, nonprofits, startups, team, enterprises, stage, businesses, improvements, place, articles, sponsors, trending, repos, explore, certifications, scanning, leak, prevention, protection, vulnerability, remediation, codespaces, enforcement, automation, ship, agent, tasks, projects, hosting, collaboration, skip,
|