Esc

prompt engineering

Techniques for writing prompts themselves.

42 tagged items

Related terms

  • Chain of thought CoT

    Prompt the model to write out its intermediate steps before giving the final answer.

  • Context window

    The most text, counted in tokens, that a model can consider at once. Your prompt and its answer share that space.

  • Embeddings

    Lists of numbers that stand for text, built so that similar meanings end up close together. Semantic search runs on them.

  • Few-shot prompting

    Put two or three worked examples of the task in the prompt, on top of the description.

  • Fine-tuning

    More training for an existing model on your own examples. It changes how the model behaves, not what it knows.

  • Hallucination

    A fluent, confident answer that is plain wrong: an invented citation, function, statistic or fact.

  • Multimodal

    A model that takes in or produces more than one kind of data, such as text with images, audio or video.

  • Retrieval-augmented generation RAG

    Fetch the relevant documents first, paste them into the prompt, and the model answers from your data instead of its training.

  • System prompt

    Instructions given to the model outside the conversation. They apply to every turn, not to one message.

  • Temperature

    A sampling setting that decides how much randomness goes into picking each next token.

  • Token

    The unit a model reads and writes, roughly a word fragment. Price, context limits and speed are all counted in tokens.

Other tags