FAQに戻る
Enterprise Applications

What is a context window in simple terms

A context window refers to the maximum amount of text an AI model can consider at once while processing information and generating responses. It is the model's active "memory" limit for a given interaction.

This limit is typically measured in tokens (words or word parts). The model uses all text within this window – preceding conversation history, instructions, and current input – to understand context and produce relevant outputs. When the conversation exceeds the window size, the model "forgets" text from the beginning, treating the content within the limits as the current working context.

Understanding the context window is vital for effective interaction. It explains why very long conversations might lose coherence and necessitates providing key information within the model's token capacity. This concept directly impacts tasks like translation of long documents, summarizing complex texts, or maintaining context in extended dialogues.

関連する質問