prompt engineering

Techniques for writing prompts themselves.

20 tagged items

Related terms

  • Chain of thought CoT

    Prompting a model to write out its intermediate steps before the final answer.

  • Context window

    The maximum amount of text, measured in tokens, that a model can take into account at once - your prompt and its answer together.

  • Embeddings

    Numeric vectors representing text, where similar meanings land close together - the basis of semantic search.

  • Few-shot prompting

    Showing the model two or three worked examples of the task inside the prompt, instead of only describing it.

  • Fine-tuning

    Further training of an existing model on your own examples, to change its behaviour rather than its knowledge.

  • Hallucination

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

  • Multimodal

    A model that accepts or produces more than one kind of input - text plus images, audio or video.

  • Retrieval-augmented generation RAG

    A pattern where relevant documents are fetched first and pasted into the prompt, so the model answers from your data rather than its training.

  • System prompt

    Instructions given to the model outside the conversation, which apply to every turn rather than one message.

  • Temperature

    A sampling setting that controls how much randomness goes into choosing each next token.

  • Token

    The unit a model reads and writes - roughly a word fragment. Pricing, context limits and speed are all measured in tokens.

Other tags