Skip to content

Instantly share code, notes, and snippets.

@simonholm
Created June 6, 2025 10:57
Show Gist options
  • Save simonholm/30e2b0e1995f87386040516292e1569e to your computer and use it in GitHub Desktop.
Save simonholm/30e2b0e1995f87386040516292e1569e to your computer and use it in GitHub Desktop.

🧠 Prompt vs Completion — AI Input/Output Terminology by Context

Standard Terms in LLMs

Input Term Output Term Used In
Prompt Completion GPT models, OpenAI API, text-based LLMs
Prompt Response Chat interfaces like ChatGPT
Prompt Generation NLP/text generation tasks (e.g. Hugging Face)
Prompt Prediction Instruct-tuned or few-shot models

General AI/ML Terminology

Input Term Output Term Used When
Input Inference Result Generic ML models (e.g. image → label)
Input Features Predictions Supervised learning / regression
Seed Text / Image Generation Creative AI (text/image/music)
User Message Assistant Reply Chatbot interfaces
Input Text/Token Output Text/Token Token-level modeling (e.g. Transformers)
Query Response Search engines, retrieval-augmented generation

Notes

  • Completion is a core term in OpenAI's API and early GPT framing.
  • Inference result generalizes across all types of ML models.
  • Generation is preferred in creative or unsupervised contexts.
  • Terminology varies depending on whether the system is trained for prediction, classification, generation, or dialogue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment