Longbridge OpenAPI SDK
    Preparing search index...

    Interface ConversationResponse

    Response for AgentContext.conversation, AgentContext.continueConversation, and the final result of the streamed counterparts

    interface ConversationResponse {
        chatUid: string;
        messageId: string;
        status: ConversationStatus;
        answer: string;
        references?: Reference[];
        furtherQuestions?: string[];
        elapsedTime: number;
        interrupt?: Interrupt;
        error?: AgentError;
    }
    Index
    chatUid: string

    Conversation identifier, used for follow-up questions and troubleshooting

    messageId: string

    Message ID of this round

    Final run status

    answer: string

    Final answer text; valid when status is succeeded

    references?: Reference[]

    Sources referenced by the answer

    furtherQuestions?: string[]

    Suggested follow-up questions

    elapsedTime: number

    Run duration in seconds

    interrupt?: Interrupt

    Present only when status is interrupted

    error?: AgentError

    Present only when the run failed