flâneur — a map of the web's best reading

Prompt generation - OpenAI API

platform.openai.com · 5,757 words · saved by 1 readers

The Generate button in the Playground lets you generate prompts, functions, and schemas from just a description of your task. This guide will walk through exactly how it works. Creating prompts and schemas from scratch can be time-consuming, so generating them can help you get started quickly. The Generate button uses two main approaches: While we currently use meta prompts and schemas, we may integrate more advanced techniques in the future like DSPy and "Gradient Descent". A meta-prompt instructs the model to create a good prompt based on your task description or improve an existing one. The meta-prompts in the Playground draw from our prompt engineering best practices and real-world experience with users. We use specific meta-prompts for different output types, like audio, to ensure the generated prompts meet the expected format. Structured Outputs schemas and function schemas are themselves JSON objects, so we leverage Structured Outputs to generate them. This requires defining a s

The Generate button in the Playground lets you generate prompts, functions , and schemas from just a description of your task. This guide will walk through exactly how it works. Overview Creating prompts and schemas from scratch can be time-consuming, so generating them can help you get started quickly. The Generate button uses two main approaches: Prompts: We use meta-prompts that incorporate best practices to generate or improve prompts. Schemas: We use meta-schemas that produce valid JSON and function syntax. While we currently use meta prompts and schemas, we may integrate more advanced te

Explore this link on the map →

saved by

related reading