Contracts AI

Chat context

What Chat can access, how page scope and document attachments affect answers, and how conversation history and retention work.

Understanding chat context helps you ask better questions and interpret answers correctly. Chat can use your question, recent conversation history, relevant page context, documents you attach, and contract data your account is permitted to access. The sources used depend on where you ask and what you ask about.

What Chat can see

From Home

When you chat from Home, Contracts AI can query contract data your account is allowed to access, including:

  • Contract metadata, such as title, type, status, dates, and counterparties
  • Extracted fields and analysis outputs
  • Available clause and document-content context
  • The contents of a PDF or DOCX you attach to the conversation

An attachment can supply context even when the document is not in the contract repository. It can be a draft awaiting signature, a proposal, or another document. Chat does not assume an attached document is a signed or executed agreement.

Access to repository data remains permission-scoped. Chat does not gain access to restricted contracts by reading an attachment, and it does not use other users' private chat sessions as context.

From Contract Detail (Chat Sidebar)

When you chat from a specific contract page, questions are grounded in that contract:

  • Contract-specific details are prioritized.
  • Available clause and source context may be included.
  • Follow-up questions continue in the sidebar's contract context.

For a broader search or comparison across your repository, use Home or select the contracts to compare in Contract Views.

From Contract Views and other contextual pages

When chat is launched from a page with active selection or scope context, that page helps determine which records the assistant can use.

For example, the Chat Sidebar in Contract Views can answer across selected contracts. Invoice questions use the relevant invoice context. State the intended scope in your question if it is important to the answer.

How attached documents become context

From Home, click Attach or drag a PDF or DOCX onto the question input. Wait until the filename pill shows Ready, then ask your question. You can attach a document before your first question or during an existing conversation.

You can ask about the attachment alone or ask Chat to compare it with accessible repository data:

  • “What is the termination notice period in this draft?”
  • “Summarize this proposal's fees and delivery commitments.”
  • “Compare this agreement's liability cap with our existing agreements with the same supplier.”

The attachment stays available for follow-up questions in the same conversation. Chat can use its contents as evidence and reference the filename and page or paragraph labels. For comparisons, answers should distinguish what the attachment says from what repository or portfolio records show.

Text inside an attached document is reference material. It is not an instruction to change your request, grant access, or perform actions.

Attach versus Upload

Attach supplies document context to the conversation. It does not create a contract record or add the document to repository searches, Contract Views, or portfolio comparison datasets.

Upload adds contracts to the repository through the normal contract-upload process. Use it when you want a document managed as a repository contract.

Removing or replacing an attachment

Click the x on the filename pill to remove the attachment from future questions. Its tooltip reads Remove attachment from future questions. Selecting another file with Attach replaces the current attachment.

Removing an attachment stops its full extracted text from being supplied as attachment context. It does not delete earlier messages, answers, or summaries derived from it. Those messages may still influence follow-up answers.

Start a new chat when you want to ask questions without the earlier conversation context. Removing an attachment is not the same as deleting the conversation.

Attachments in Portfolio mode

If Portfolio mode is available to your account, you can use an attachment alongside the portfolio comparison data you are authorized to access.

For example: “How does the pricing in this draft compare with our portfolio's agreements with the same supplier?”

The attachment is a separate source of evidence. It is not added to the portfolio dataset and does not count toward the data or diversity requirements for a portfolio comparison. Portfolio permissions, anonymization rules, and minimum-data requirements continue to apply.

A comparison can therefore be unavailable even when the attachment itself is readable—for example, if too few eligible agreements match the requested supplier. Where useful, ask about the attachment in regular chat, or refine the comparison scope.

How context is managed in long chats

A conversation can support many back-and-forth turns, but each answer has a finite context window. Chat may use a limited recent history, summaries, and relevant records rather than every earlier message verbatim.

Very old details may need to be restated. In particular:

  • Restate important constraints, such as “signed contracts only” or “exclude amendments.”
  • Name the document or supplier when a follow-up could refer to several sources.
  • Start a new chat when switching to an unrelated task or when you want to avoid earlier assumptions.

An attachment does not guarantee that every part of a long conversation is available to every answer.

Conversation history, attachment storage, and retention

Regular chats with history enabled

Conversations can be saved in Chat History so you can reopen and continue them. When you send a regular chat question with an attachment, its extracted text and filename are saved with the chat session, subject to your organization's chat-retention settings.

The attachment feature does not persist the original PDF or DOCX as a downloadable chat file. Keep your original document if you will need it later.

Reopened conversations remain subject to context-window limits and current access permissions. A saved conversation does not grant access to repository data you are no longer permitted to view.

Chats with history disabled

When your organization disables server-side chat retention, attachment context is kept in the current browser tab's session storage and sent for processing with your questions. It is not saved as a server-side chat attachment record.

Reattach the document if you continue from another tab or browser, or if the tab's stored context is cleared.

Portfolio-only conversations

Portfolio chat exchanges are not saved to server-side chat history. Attachments used only in Portfolio mode are kept in the current browser tab's session storage and sent with your questions.

If the same attachment was previously sent in a regular chat with history enabled, that regular chat's saved attachment context remains subject to its retention policy. Turning on Portfolio mode does not erase previously saved regular-chat content.

Practical limits to keep in mind

Document attachments

  • File types and size: One PDF or DOCX at a time, up to 20 MB.
  • PDF length: Up to 100 pages, including up to 20 scanned pages.
  • Readability: Scanned pages use text recognition. Blurry images, handwriting, or complex layouts can reduce extraction accuracy. Review important figures and terms against the original document.
  • Protected or very long documents: Unlock password-protected PDFs before attaching them. Documents that exceed the supported text limit are rejected rather than silently shortened; attach a shorter document when prompted.

Repository and portfolio answers

Answers depend on available contract data and the scope of your question. Missing fields, restricted content, or disabled modules can reduce completeness. An answer based on extracted metadata may contain less detail than the original agreement.

Very broad prompts across large datasets may produce summarized or bounded results, or ask you to narrow the search. Portfolio comparisons also require enough eligible data to meet privacy requirements. A result should not be treated as an exhaustive review of every agreement unless the response establishes that scope.

For consequential decisions, check the cited source documents, particularly when wording, exceptions, or precise amounts matter.

Tips for better answers

  • State the source: “Use only the attached draft” or “Compare the attachment with our repository agreements.”
  • Define the scope and filters: “Show active MSAs expiring in the next 90 days.” Add status, contract type, counterparty, date range, or owner as needed.
  • Choose comparison dimensions: “Compare payment terms, liability caps, and renewal notice periods.”
  • Refine with follow-ups: “Include only signed contracts,” “add governing law,” or “show exceptions only.” Restate key constraints in long threads.

Troubleshooting

Chat cannot access repository data

Confirm that you have the required permissions and that the relevant contracts are present and analyzed. Check whether the current page, selected contracts, project, or portfolio scope is narrowing the available data. Retry with a more specific question.

An attachment does not become Ready

Check that the file is a supported PDF or DOCX within the size and page limits. Unlock protected PDFs and try a clearer or searchable copy of a scanned document. If the document is too long, attach a shorter version containing the relevant sections.

Chat answers from the wrong source

Name the intended source explicitly: “Answer from the attached proposal only,” or “Compare the attachment with our existing supplier agreements.” Check that the filename pill shows the document you intended to attach.

If you removed an attachment but its details still appear, earlier messages may contain those details. Start a new chat for a fresh conversation context.

An attachment is missing after you return

In a regular chat with history enabled, reopen the same saved chat. For a Portfolio-only chat or a chat with server-side history disabled, use the same browser tab while its session storage remains available, or reattach the document.

A portfolio comparison has insufficient data

The attachment does not satisfy portfolio comparison thresholds. Specify the supplier and comparison topic, check your portfolio access, and refine the scope. You can still ask about the attachment itself in regular chat.

Did this answer your question?