liveBook · Manning

OpenAI API

The OpenAI API is a programming interface that allows software applications to send requests to OpenAI models and services and receive responses.

How 4 Manning books explain it

Starting Data Analytics with Generative AI and Python

A public programming interface that provides access to OpenAI artificial-intelligence models and services.

How it is used
Supports programmatic generative-AI tasks in data-analytics solutions, including preprocessing, insight generation, and visualization.
How deep it goes
Demonstrates Python setup and a multiturn request, then emphasizes formats, costs, errors, retries, and prompt refinement rather than advanced integration.
Examples
Uses Portuguese sentiment keywords, a science-explanation conversation, API client code, and environment-based API-key configuration.
What you can do after
Apply it via Python to send prompts, receive model responses, and build controlled analytics interactions.

Read how Starting Data Analytics with Generative AI and Python explains OpenAI API →

Software Testing with Generative AI

A web interface that provides programmatic access to OpenAI's artificial-intelligence models and services.

How it is used
Supports automated test-data generation by sending prompts to language models.
How deep it goes
Explains account setup, authentication, model selection, prompting, JSON parsing, and test integration without detailing HTTP internals.
Examples
Uses a structured contact-form prompt, generated JSON, Java deserialization, and a success-message assertion.
What you can do after
Build automated Java checks that generate and consume test data through LangChain4j.

Read how Software Testing with Generative AI explains OpenAI API →

Learn Generative AI with PyTorch

An external programming interface used here to request text-to-speech conversion from OpenAI’s service.

How it is used
Uses Python programs to request generated content and connect language models with other services.
How deep it goes
Defines access modes, content types, API-key requirements, and integrations, but does not detail endpoints or parameters.
Examples
Demonstrates Python-based generation of text, images, speech, audio, and code.
What you can do after
Build content-generating Python programs using an OpenAI API key and combine them with external services.

Read how Learn Generative AI with PyTorch explains OpenAI API →

Generative AI in Action

The OpenAI API is a programming interface that provides access to OpenAI models and related services.

How it is used
Supports programmatic model access for text generation and other model-specific capabilities through OpenAI or Azure OpenAI endpoints.
How deep it goes
Covers dependencies, authentication, endpoint configuration, model discovery, and capability selection without developing model internals.
Examples
Uses AzureOpenAI Python code to list deployed models, persist model metadata, and print identifiers, statuses, and capabilities.
What you can do after
Operate/configure an OpenAI or Azure OpenAI client, inspect accessible models, and select a model for text generation.

Read how Generative AI in Action explains OpenAI API →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.