package com.atmob.keyboard_android.util.bridge.api

import com.atmob.keyboard_android.util.bridge.model.req.SuperReplyReq
import com.atmob.keyboard_android.util.bridge.model.req.SuperSpeakReq
import com.atmob.keyboard_android.util.bridge.model.resp.PrologueResp
import com.atmob.keyboard_android.util.bridge.model.resp.SuperReplyResp
import com.atmob.keyboard_android.util.bridge.model.resp.SuperSpeakResp

/**
 * Ai内容生成API
 */
interface AiChatApi {
    /**
     * 超会回
     */
    fun superReply(
        req: SuperReplyReq,
        onSuccess: (SuperReplyResp) -> Unit,
        onFail: (String) -> Unit
    )

    /**
     * 超会说
     */
    fun superSpeak(
        req: SuperSpeakReq,
        onSuccess: (SuperSpeakResp) -> Unit,
        onFail: (String) -> Unit
    )

    /**
     * 开场白
     */
    fun prologue(
        name: String,
        onSuccess: (PrologueResp) -> Unit,
        onFail: (String) -> Unit
    )
}