package com.ruoyi.aicall.llm;

import com.alibaba.fastjson.JSONArray;
import com.ruoyi.aicall.domain.CcLlmAgentAccount;
import com.ruoyi.aicall.llm.model.AccountBaseEntity;
import com.ruoyi.aicall.model.ChatRequest;
import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;

import java.io.IOException;

public interface ILlmCapability {

    String getIntentionByTips(CcLlmAgentAccount ccLlmAgentAccount, JSONArray dialogueContents);

    void setAccount(AccountBaseEntity llmAccount);

    void getStreamingChatContent(SseEmitter emitter, ChatRequest chatRequest) throws IOException;

    AccountBaseEntity getAccount();

}
