Prompt generation - OpenAI API
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
saved by
related reading
- Prompting best practicesdocs.anthropic.com
- There's An AI For That® — The front page of AItheresanaiforthat.com
- The Shape of AI | UX Patterns for Artificial Intelligence Designshapeof.ai
- GitHub - ByteByteGoHq/system-design-101: Explain complex systems using visuals and simple terms. Help you prepare for system design interviews. · GitHubgithub.com
- Parsed | Custom, interpretable AI systems that continuously learnparsed.com
- Cookbookcookbook.openai.com
- OpenAI | Research & Deploymentopenai.com
- GitHub - x1xhlol/system-prompts-and-models-of-ai-tools: FULL Augment Code, Claude Code, Cluely, CodeBuddy, Comet, Cursor, Devin AI, Junie, Kiro, Leap.new, Lovable, Manus, NotionAI, Orchids.app, Perplexity, Poke, Qoder, Replit, Same.dev, Trae, Traycer AI, VSCode Agent, Warp.dev, Windsurf, Xcode, Z.ai Code, Dia & v0. (And other Open Sourced) System Prompts, Internal Tools & AI Modelsgithub.com
- Prompt guidance | OpenAI APIdevelopers.openai.com
- Rewind.ai - Every AI Tool, Completely Freerewind.ai
- PromptLayer — Prompt Management, Evals & Observabilitypromptlayer.com
- Discover AI Prompts for Better Results | ShumerPrompt | AI Prompt Marketplaceshumerprompt.com