/** * This file was auto-generated by Fern from our API Definition. */ export interface CreateDocumentRequest { /** The content of the document that will be returned to Ask Fern during document retrieval. */ document: string; /** The textual content that should be vectorized when indexing the document. If not provided, the full document will be vectorized. */ chunk?: string; /** The title of the document. This will be used with the `url` when Ask Fern cites this document. */ title?: string; /** The url of the document. This will be used as the source of the document when Ask Fern cites it. */ url?: string; /** The version of the document. This will be compared against when running Ask Fern with version filters. If null, the document will be retrievable by all versions. */ version?: string; /** The product of the document. This will be used to filter documents when running Ask Fern with product filters. If null, the document will be retrievable by all products. */ product?: string; /** The keywords of the document. Adding keywords can improve document matching. */ keywords?: string[]; /** Whether the document is auth gated. If false, the document will be retrievable by all users. */ authed?: boolean; }