{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["platform-badges","admonition"]},"type":"markdown"},"seo":{"title":"Treasure AI Studio - セッション内メモリ","description":"StudioがAIのコンテキストウィンドウを管理する方法、長い会話を自動的に圧縮する方法、およびコンテキスト制御のための手動コマンドについて説明します。","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"セッション内メモリ","__idx":0},"children":["セッション内メモリ"]},{"$$mdtype":"Tag","name":"PlatformBadges","attributes":{"platforms":["Web","Desktop","Mobile"]},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Studioがコンテキストを自動的に管理するため、長い分析セッションでも生産性を維持できます。コンテキストウィンドウがいっぱいになると、自動圧縮（オートコンパクション）が古いやり取りを要約し、重要な決定事項、クエリ結果、セグメントロジックを失うことなくAIが作業を継続できるようにします。"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"注意"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["オートコンパクションは、コンテキストウィンドウが上限に近づくとバックグラウンドで実行されます。AIは保持するもの（スキーマ定義、クエリ結果、決定事項）と要約するものを選択します。アクティブメモリに残す内容をより細かく制御するために、手動でコンパクションをトリガーすることもできます。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"目的","__idx":1},"children":["目的"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["コンテキストの容量を理解し、コンパクションが発生するタイミングを認識し、新しい分析フェーズに移行する前に手動コマンドを使用してAIのワーキングメモリを最適化することで、長時間のセッションを生産的に維持します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"前提条件","__idx":2},"children":["前提条件"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Treasure AI Studioにサインイン済み（",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/getting-started"},"children":["はじめに"]},"）"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/concepts"},"children":["コアコンセプト"]},"（コンテキストウィンドウの基本）に精通していること"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"コンテキストの仕組み","__idx":3},"children":["コンテキストの仕組み"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["送信するすべてのメッセージとAIが生成するすべての応答は、コンテキストウィンドウに追加されます。これには以下が含まれます。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ユーザーのメッセージとAIの返答"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ツール呼び出しの入力と出力（クエリ結果、ファイルの内容、APIレスポンス）"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["システムメッセージとステータスの更新"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["AIは現在のコンテキストウィンドウ内のコンテンツのみを参照できます。コンテキストがいっぱいになると、Studioは",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["オートコンパクション"]},"を使用して古いコンテンツを要約し、新しいやり取りのためのスペースを確保します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"コンテキストインジケーター","__idx":4},"children":["コンテキストインジケーター"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Studioは、利用可能なコンテキストウィンドウのうちどれだけが使用されているかを示すコンテキスト使用状況インジケーターを表示します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"webおよびdesktop","__idx":5},"children":["WebおよびDesktop"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["コンテキスト使用率（パーセンテージ）はチャットインターフェースに表示されます。チャットを続けるにつれて、パーセンテージが増加します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"mobileios","__idx":6},"children":["Mobile（iOS）"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["コンテキストインジケーターは同じ場所に表示され、現在の使用率を示します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"オートコンパクション","__idx":7},"children":["オートコンパクション"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["コンテキストウィンドウが上限に近づくと、Studioは自動的に古いメッセージを圧縮してスペースを確保します。これはシームレスに行われ、会話は中断なく継続されます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"表示内容","__idx":8},"children":["表示内容"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["オートコンパクションが発生すると、チャットに2つのシステムメッセージが表示されます。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["コンテキスト圧縮済み"]}," — 圧縮されたトークン数を示す通知ピル："]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["「Context compacted (X tokens)」"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["これはアンバー色のドットが付いた小さなピルとして、チャットの中央に表示されます。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["コンテキストサマリー"]}," — 圧縮された会話の折りたたみ可能なサマリー："]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["サマリーをクリックして展開し、全文を読むことができます"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["サマリーは圧縮された部分の重要な決定事項、結果、コンテキストを記録します"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["青いドットインジケーターとともに表示されます"]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"バックグラウンドで起きていること","__idx":9},"children":["バックグラウンドで起きていること"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"技術的な注意事項"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["オートコンパクションは、以前のメッセージをトークン使用量を削減しながら重要なコンテキスト（決定事項、クエリ結果、セグメント定義）を保持する凝縮された表現に要約します。AIは将来の応答を生成する際にこのサマリーを参照します。元のメッセージはチャット履歴に表示されたままですが、アクティブなコンテキストウィンドウの一部ではなくなります。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"手動コンテキストコマンド","__idx":10},"children":["手動コンテキストコマンド"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["チャット入力でコマンドを使用して、コンテキストを積極的に管理できます。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"コマンド"},"children":["コマンド"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"機能"},"children":["機能"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/context"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["現在のコンテキスト使用状況の詳細な内訳を表示します。使用されているトークン数、スペースを消費しているもの、残りの容量が確認できます"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/compact"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["手動でコンパクションをトリガーし、これまでの会話を要約してコンテキストスペースを確保します。同じチャット内で新しい作業フェーズを開始する前に便利です"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/clear"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["コンテキストを完全にクリアし、同じチャットセッション内で新たに開始します。メッセージ履歴は保持されますが、AIはそれを参照しなくなります"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"手動コマンドを使用するタイミング","__idx":11},"children":["手動コマンドを使用するタイミング"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/compact"]}," を使用する場合："]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["同じチャット内でフォーカスを切り替えようとしているとき（例：データのクエリが完了し、キャンペーンアクティベーション用のセグメントを構築する場合）"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["コンテキストインジケーターが上限に近づいており、オートコンパクションを待つのではなく自分のタイミングで圧縮したい場合"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["複雑なマルチステップタスクの前にクリーンなサマリーチェックポイントを作成したい場合"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/clear"]}," を使用する場合："]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["以前のコンテキストがAIの応答に影響しないよう、同じチャットで完全に新しいトピックを開始したい場合"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["AIが会話の以前の部分から古い情報を参照しており、それがもはや関連性がない場合"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/context"]}," を使用する場合："]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["コンテキストスペースを消費しているもの（大きなクエリ結果、ファイルの内容など）を把握したい場合"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["AIが会話の以前の内容を「忘れた」ように見える原因を診断している場合（コンパクションされた可能性があります）"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"長時間セッションのベストプラクティス","__idx":12},"children":["長時間セッションのベストプラクティス"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"データアナリスト向け","__idx":13},"children":["データアナリスト向け"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["プロジェクトを使用してチャット間でコンテキストを引き継ぐ。"]}," 1つの会話を無限に延長するのではなく、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/concepts#projects"},"children":["プロジェクト"]},"を作成し、その中で新しいチャットを開始してください。プロジェクトの指示はセッションをまたいで保持されます。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["切り替え前にコンパクションを実行する。"]}," クエリ探索フェーズが終了し、セグメントの構築やアクティベーションの設定を開始したい場合は、まず ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/compact"]}," を実行してください。これにより、クリーンなサマリーチェックポイントが作成され、次のフェーズで利用可能なコンテキストが最大化されます。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["大きなツール出力に注意する。"]}," クエリ結果、ファイルの内容、APIレスポンスは大量のコンテキストを消費します。クエリが大きな結果セットを返した場合、AIは完全な出力をコンテキストに保持するのではなく、要約する場合があります。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["コンテキストサマリーを確認する。"]}," オートコンパクションが発生した場合は、コンテキストサマリーを展開して、重要な情報（テーブルスキーマ、カラム定義、セグメントロジック）が保持されていることを確認してください。重要な情報が失われた場合は、再クエリするか再度入力することができます。"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"マーケター向け","__idx":14},"children":["マーケター向け"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["個別のタスクごとに新しいチャットを開始する。"]}," オーディエンスの構築、ジャーニーの作成、アクティベーションの設定は、それぞれのタスクに対してコンテキストウィンドウ全体が利用できる別々の会話で行うのが最適です。"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["オートコンパクションが残りを処理する。"]}," ほとんどのキャンペーンおよびアクティベーションワークフローでは、手動コンテキストコマンドを使用する必要はありません。Studioがコンテキストウィンドウを自動的に管理します。"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"treasure-studio-labsとの違い","__idx":15},"children":["Treasure Studio Labsとの違い"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"機能"},"children":["機能"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Treasure Studio Labs"},"children":["Treasure Studio Labs"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Treasure AI Studio"},"children":["Treasure AI Studio"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["コンテキスト管理"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ローカルコンテキストウィンドウ、手動コマンドのみ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["サーバーサイドコンテキストとオートコンパクション"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["オートコンパクション"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["利用可能"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["利用可能、ビジュアル通知付き（コンパクション境界 + サマリー）"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["手動コマンド"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/context"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/compact"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/clear"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["同じコマンド、同じ動作"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["セッション間メモリ"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["プロジェクトの指示はローカルに保持"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["プロジェクトの指示とメモリファイルはサーバーサイドに保持。AIは同じプロジェクト内の会話をまたいでコンテキストを引き継ぐメモリファイルの読み書きが可能"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"確認","__idx":16},"children":["確認"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"input","attributes":{"checked":false,"type":"checkbox","readOnly":true},"children":[]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/context"]}," を実行してトークン使用量の内訳を確認する"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"input","attributes":{"checked":false,"type":"checkbox","readOnly":true},"children":[]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/compact"]}," を実行して「Context compacted」通知に続いて折りたたみ可能な「Context summary」が表示されることを確認する"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"input","attributes":{"checked":false,"type":"checkbox","readOnly":true},"children":[]}," コンパクション後、AIが以前の重要な決定事項を参照しながら通常通り会話を続けられることを確認する"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"トラブルシューティング","__idx":17},"children":["トラブルシューティング"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"問題"},"children":["問題"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"解決策"},"children":["解決策"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["AIが以前の内容を「忘れた」"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/context"]}," を実行してコンパクションが発生したか確認してください。発生していた場合は、コンテキストサマリーを展開して保持された内容を確認してください。AIが参照する必要のある重要な情報を再度入力してください"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/compact"]}," でスペースがあまり解放されない"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["コンパクションは以前のターンを要約しますが、すでにコンテキストに含まれているツール出力を削減することはできません。セッションの負荷が高い場合は、新しいチャットを開始してください"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["コンテキストインジケーターが表示されない"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["コンテキストインジケーターは使用率が50%を超えた場合にのみ表示されます。作業を続けてください。コンテキストが増えるにつれて表示されます"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"次のステップ","__idx":18},"children":["次のステップ"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/concepts"},"children":["コアコンセプト"]}," — プロジェクト、AIモデル、クレジット"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/chat/chat"},"children":["AIチャットインターフェース"]}," — メッセージの送信と応答の理解"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/chat/chat-history"},"children":["チャットの永続性と履歴"]}," — 会話の保存方法"]}]}]},"headings":[{"value":"セッション内メモリ","id":"セッション内メモリ","depth":1},{"value":"目的","id":"目的","depth":2},{"value":"前提条件","id":"前提条件","depth":2},{"value":"コンテキストの仕組み","id":"コンテキストの仕組み","depth":2},{"value":"コンテキストインジケーター","id":"コンテキストインジケーター","depth":2},{"value":"WebおよびDesktop","id":"webおよびdesktop","depth":3},{"value":"Mobile（iOS）","id":"mobileios","depth":3},{"value":"オートコンパクション","id":"オートコンパクション","depth":2},{"value":"表示内容","id":"表示内容","depth":3},{"value":"バックグラウンドで起きていること","id":"バックグラウンドで起きていること","depth":3},{"value":"手動コンテキストコマンド","id":"手動コンテキストコマンド","depth":2},{"value":"手動コマンドを使用するタイミング","id":"手動コマンドを使用するタイミング","depth":3},{"value":"長時間セッションのベストプラクティス","id":"長時間セッションのベストプラクティス","depth":2},{"value":"データアナリスト向け","id":"データアナリスト向け","depth":3},{"value":"マーケター向け","id":"マーケター向け","depth":3},{"value":"Treasure Studio Labsとの違い","id":"treasure-studio-labsとの違い","depth":2},{"value":"確認","id":"確認","depth":2},{"value":"トラブルシューティング","id":"トラブルシューティング","depth":2},{"value":"次のステップ","id":"次のステップ","depth":2}],"frontmatter":{"seo":{"title":"Treasure AI Studio - セッション内メモリ","description":"StudioがAIのコンテキストウィンドウを管理する方法、長い会話を自動的に圧縮する方法、およびコンテキスト制御のための手動コマンドについて説明します。"},"platforms":["Web","Desktop","Mobile"]},"lastModified":"2026-05-11T06:01:24.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/products/ai-studio/chat/in-session-memory","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}