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 chatSuperReply(
        req: SuperReplyReq,
        onSuccess: (SuperReplyResp) -> Unit,
        onFail: (errorCode: Int, errorMsg: String) -> Unit
    )

    /**
     * 超会说
     */
    fun chatSuperSpeak(
        req: SuperSpeakReq,
        onSuccess: (SuperSpeakResp) -> Unit,
        onFail: (errorCode: Int, errorMsg: String) -> Unit
    )

    /**
     * 开场白
     */
    fun chatPrologue(
        name: String,
        onSuccess: (PrologueResp) -> Unit,
        onFail: (errorCode: Int, errorMsg: String) -> Unit
    )
}