AIChatContextDocumentSource
typedef experimental
A uploaded-document source stored on the chat context, keyed by the id returned by the /documents/batch endpoint.
Experimental: This is a production-ready API but may change in minor releases without the standard deprecation policy. Check the changelog for migration guidance.
Properties
content : stringmodule:ai/aichat/model/aichatcontext~AIChatContextDocumentSource#contentdescription : string | undefinedmodule:ai/aichat/model/aichatcontext~AIChatContextDocumentSource#descriptionThe document's stored
description, taken from the source root's root configuration. The AI service uses descriptions to semantically distinguish roots when a user scopes a request to a specific area (e.g. "edit the title").module:ai/aichat/model/aichatcontext~AIChatContextDocumentSource#editorname : string | undefinedmodule:ai/aichat/model/aichatcontext~AIChatContextDocumentSource#nameThe document's stored
name— the source root's identifier as reported when the document was uploaded.rootName : stringmodule:ai/aichat/model/aichatcontext~AIChatContextDocumentSource#rootNameversion : numbermodule:ai/aichat/model/aichatcontext~AIChatContextDocumentSource#version
Value
object