UNPKG

box-node-sdk

Version:

Official SDK for Box Platform APIs

16 lines (15 loc) 742 B
import { AiItemBase } from './aiItemBase'; import { AiExtractAgent } from './aiExtractAgent'; import { SerializedData } from '../serialization/json'; export interface AiExtract { /** * The prompt provided to a Large Language Model (LLM) in the request. The prompt can be up to 10000 characters long and it can be an XML or a JSON schema. */ readonly prompt: string; /** * The items that LLM will process. Currently, you can use files only. */ readonly items: readonly AiItemBase[]; readonly aiAgent?: AiExtractAgent; readonly rawData?: SerializedData; } export declare function serializeAiExtract(val: AiExtract): SerializedData; export declare function deserializeAiExtract(val: SerializedData): AiExtract;