box-node-sdk
Version:
Official SDK for Box Platform APIs
18 lines • 878 B
TypeScript
import { AiExtractResponse } from './aiExtractResponse';
import { AiAgentInfo } from './aiAgentInfo';
import { DateTime } from '../internal/utils';
import { SerializedData } from '../serialization/json';
export interface AiExtractStructuredResponse {
readonly answer: AiExtractResponse;
/**
* The ISO date formatted timestamp of when the answer to the prompt was created. */
readonly createdAt: DateTime;
/**
* The reason the response finishes. */
readonly completionReason?: string;
readonly aiAgentInfo?: AiAgentInfo;
readonly rawData?: SerializedData;
}
export declare function serializeAiExtractStructuredResponse(val: AiExtractStructuredResponse): SerializedData;
export declare function deserializeAiExtractStructuredResponse(val: SerializedData): AiExtractStructuredResponse;
//# sourceMappingURL=aiExtractStructuredResponse.d.ts.map