Context RepoContext Repo Docs
Dashboard

Collection Chat

Have AI-powered conversations about the contents of your collections, with source citations and a dedicated artifact panel.

Collection Chat requires a Pro Max or Ultimate subscription. If you're on another plan, you'll be redirected to the pricing page when you try to access it. See Plans & Billing for details.

Collection Chat lets you have AI-powered conversations grounded in the prompts and documents inside a collection. Instead of chatting with a general-purpose model, you're chatting with your own knowledge base — and every answer includes source citations so you can verify where the information came from.

Three-Panel Layout

The Collection Chat page is organized into three panels:

  • Session sidebar (left) — lists your chat sessions for the selected collection. Create new sessions, switch between them, or collapse the sidebar to give the chat more room.
  • Chat interface (center) — the main conversation area where you type messages and read AI responses with source citations.
  • Artifact panel (right) — appears when the AI generates an artifact (a document, code snippet, spreadsheet, or image). You can view, edit, and version artifacts without leaving the chat.

Selecting a Collection

Before you can start chatting, pick a collection from the collection selector at the top of the session sidebar. The selector shows all your collections and lets you search by name. Once you've selected one, the sidebar loads any existing chat sessions for that collection.

If you don't have any collections yet, head to the Collections page to create one and add some prompts or documents to it.

Chat Sessions

Each collection keeps its own list of chat sessions. This means you can run multiple independent conversations about the same collection — one session for brainstorming, another for Q&A, and so on.

Creating a Session

Click New Chat in the session sidebar to start a fresh conversation. The new session appears at the top of the list and is selected automatically.

Switching Between Sessions

Click any session in the sidebar to load its conversation history. Your previous messages and AI responses are preserved, including source citations and any artifacts that were generated.

Session Model

Each session tracks the model you're using. When you switch models mid-conversation, the session remembers your choice so it's restored the next time you open it.

Model Selection

You can pick which AI model powers the conversation using the model selector in the chat header. The available models are all from OpenAI — including GPT-OSS 20B, GPT-OSS 120B, GPT-4o, and GPT-5.1 Thinking — each with different strengths:

TraitFast ModelsBalanced Models
Response speedQuicker repliesSlightly slower
Reasoning depthGood for straightforward questionsBetter for complex analysis
Context windowUp to 128K tokensUp to 400K tokens

Your selection persists per session — switch to a different model any time by clicking the model selector.

RAG-Powered Q&A

When you send a message, Collection Chat searches the documents and prompts in your selected collection using vector similarity (RAG — Retrieval-Augmented Generation). The AI uses the most relevant content as context when generating its response, so answers are grounded in your actual data rather than general knowledge.

Source Citations

After the AI responds, you'll see a Sources section listing the specific documents and prompts that informed the answer. Each citation links back to the original item so you can review the full content.

This makes it easy to:

  • Verify that the AI's answer is accurate
  • Find the original document for further reading
  • Understand which parts of your collection are most relevant to a question

Artifacts

When the AI generates structured content — like a document draft, code snippet, spreadsheet, or image — it appears in the artifact panel on the right side of the screen.

Artifacts aren't just static previews. You can:

  • Edit the content directly in the panel
  • View version history to see how the artifact evolved across the conversation
  • Copy the content to your clipboard
  • Switch between viewing and editing modes

The artifact panel opens automatically when the AI creates one, and you can close it to return to the full-width chat view.

Tips for Better Results

The quality of Collection Chat responses depends on the content in your collection. Adding more relevant documents and detailed prompts gives the AI a richer knowledge base to draw from.

  • Ask specific questions — "What are the key findings in the Q3 report?" works better than "Tell me about the report"
  • Reference items by name — if your collection has a document called "Brand Guidelines," mention it directly
  • Follow up — the conversation history gives the AI context, so follow-up questions build on previous answers
  • Check sources — use the citation links to verify answers and explore related content