box-node-sdk
Version:
Official SDK for Box Platform APIs
19 lines • 758 B
TypeScript
import { AiAgentInfo } from './aiAgentInfo';
import { DateTime } from '../internal/utils';
import { SerializedData } from '../serialization/json';
export interface AiResponse {
/**
* The answer provided by the LLM. */
readonly answer: string;
/**
* 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 serializeAiResponse(val: AiResponse): SerializedData;
export declare function deserializeAiResponse(val: SerializedData): AiResponse;
//# sourceMappingURL=aiResponse.d.ts.map