Automating UI Tasks with Computer Use Preview
In this lesson, you'll learn how to create a loop that lets the computerusepreview tool perform and visualize browser-based actions iteratively with model fe...
In this lesson, you'll learn how to create a loop that lets the computerusepreview tool perform and visualize browser-based actions iteratively with model fe...
In this lesson, you'll learn how to submit long-running OpenAI response jobs to be processed in the background, ideal for large outputs like novels or report...
In this lesson, you’ll learn how to build a conversational chatbot using the OpenAI Chat Completions API. This chatbot will retain context across turns, maki...
In this lesson, you'll learn how to send a file along with a user prompt to GPT-4.1 using the inputfile and inputtext types. Have a file ready to upload (PDF...
In this lesson, we’ll use the file_search tool to allow GPT-4o to pull information from a specific vector store. This is perfect for querying private documen...
In this lesson, you'll learn how to build a persona-driven chatbot that uses slang and maintains conversation history across turns using previousresponseid....
In this lesson, you’ll learn how to use the OpenAI function-calling capability to dynamically fetch real-time weather data using external APIs. Make sure you:
OpenAI Platform Overview Available Models Model Comparison
In this final lesson, you’ll learn how to combine OpenAI’s embedding models with Pinecone to build a working semantic search pipeline. Install the required p...
In this lesson, you'll learn how to limit the number of documents GPT-4o considers from a vector store by setting maxnumresults. Make sure you have:
In this lesson, you'll learn how to use multimodal inputs (text and image together) with OpenAI’s GPT-4.1 API to analyze visual content. Ensure you have the...
In this lesson, you'll learn how to use OpenAI’s omni-moderation-latest model to classify both text and images for policy violations in a single moderation r...
In this lesson, you'll learn how to parse complex, nested responses into structured Python objects using Pydantic models and the OpenAI parse() method. Insta...
In this lesson, you'll learn how to receive responses in real-time using OpenAI's streaming API, allowing your app to react immediately as the model generate...
In this lesson, you’ll learn how to extract structured data from user input using a Pydantic model with OpenAI’s parse() method. Install the required packages:
In this lesson, you'll learn how to create a new vector store, upload a file into it, and then query it using GPT-4o with the file_search tool. Make sure you...
In this lesson, we’ll explore how to use the Chat Completions API to have a multi-turn conversation with the model using roles like system, user, and assista...
In this lesson, you'll learn how to feed raw CSV data to GPT-4o and analyze it using the code_interpreter tool. Install the required packages:
In this lesson, we’ll explore how to enable the websearchpreview tool to allow GPT-4o to fetch up-to-date information from the internet. Ensure you have:
In this lesson, you'll learn how to use OpenAI’s GPT-4o model to interpret and respond to image inputs. This is useful for building AI tools that understand...