Hiyve Components - v1.0.0
    Preparing search index...

    Interface AIAssistantCloudContext

    Minimal cloud-context interface used by AIAssistant for AI queries. Compatible with the value returned by useCloud().

    interface AIAssistantCloudContext {
        isConfigured: boolean;
        query: (
            message: string,
            options: { model?: string; systemPrompt?: string; userId: string },
        ) => Promise<AIAssistantCloudResponse>;
        queryResponse: (
            responseId: string,
            userId: string,
            query: string,
            options?: { model?: string; promptKey?: string },
        ) => Promise<AIAssistantCloudResponse>;
    }
    Index

    Properties

    isConfigured: boolean
    query: (
        message: string,
        options: { model?: string; systemPrompt?: string; userId: string },
    ) => Promise<AIAssistantCloudResponse>
    queryResponse: (
        responseId: string,
        userId: string,
        query: string,
        options?: { model?: string; promptKey?: string },
    ) => Promise<AIAssistantCloudResponse>