Prompt engineering
6 articles
How do I create a good prompt for an AI model like GPT-4?Tips and suggestions to create great prompts for large language models
Using logit bias to alter token probability with the OpenAI APILearn how to use the logit bias parameter to modify model outputs
How do I use stop sequences in the OpenAI API?Here is what you need to know about the stop sequence parameter in the OpenAI Chat Completions API
How to use the OpenAI API for Q&A or to build a chatbot?Using the Embeddings and Chat Completions API to create powerful question-answering applications
Controlling the length of OpenAI model responsesLearn how to set output limits for OpenAI models using token settings, clear prompts, examples, and stop sequences.
Generate prompts, function definitions, and structured output schemas in the Playground