liveBook · Manning

GPT Assistant

As explained in AI Agents in Action

GPT Assistants are OpenAI assistant systems that use GPT models and associated tools to perform tasks through interactions.

A GPT assistant uses a GPT model, instructions, and optional tools to help with tasks through interaction. It can suggest meals, analyze data, answer questions about uploaded documents, or connect to an external service. section 3.0 section 3.7

A GPT runs in the ChatGPT interface, while an OpenAI assistant is consumed through the API and generally requires custom code. In the setup described here, creating a GPT required ChatGPT Plus; API assistant charges depended on model token usage and tools. section 6.2.1 section 3.1

To create a GPT in ChatGPT:

  • Open the GPT Store, select Create, and describe the assistant you want in the GPT Builder chat. section 3.1
  • Open Configure and review its name, description, instructions, and conversation starters. Add a persona and explicit rules to guide the output. section 3.1
  • Enable capabilities or upload knowledge files as needed. Try the assistant in the preview and refine its instructions. section 3.4.1 section 3.6
Figure 3.3 The Configure panel of the GPT Assistants platform interface
figure

The Configure panel shows where to review and edit a GPT’s settings. section 3.1

A cooking assistant

A cooking GPT can suggest meals from ingredients a user already has. Its instructions can set a friendly persona and require each recipe to include an image, estimated nutritional values, and a shopping list with estimated prices. section 3.1

Capabilities extend an assistant beyond its instructions:

  • Code Interpreter can help analyze uploaded CSV files, including cleaning data, creating visualizations, and testing hypotheses. section 3.6
  • Knowledge uploads give an assistant documents to draw on. For example, a calculus GPT can use an uploaded PDF to answer questions and teach concepts. section 3.4.1
  • Custom actions connect a GPT to external services. One workflow creates a FastAPI task endpoint, obtains its OpenAPI specification, exposes the local service with ngrok, and tests the connection from the GPT. section 3.3.1 section 3.6

Once the GPT works as intended, use Share to provide a link or select the GPT Store for public distribution. Before publishing, check its description, logo, category, and contact links; obtain permission where uploaded content requires it. section 3.5 section 3.5.3 section 3.4.1

How AI Agents in Action covers it

How deep it goes
Walks through configuration, tools, external actions, knowledge uploads, and publishing, with an API Playground introduced separately.
Examples
Uses recipe suggestions, CSV analysis, a daily-task endpoint, and an uploaded calculus PDF as assistant scenarios.
What it assumes
Introduces creation through the Builder and offers guidance for API services, while noting that familiarity with APIs helps customize endpoints.
What you can do after
Apply it via ChatGPT to configure, test, extend, and share a task-focused GPT.
How it connects
Connects assistants to AI agents, code interpretation, APIs, OpenAPI specifications, and uploaded knowledge.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of AI Agents in Action. The section links point to the parts of the book it draws on.