package org.xyzh.api.workcase.service;

import org.xyzh.api.workcase.dto.ChatRoomSummaryRequest;
import org.xyzh.api.workcase.dto.ChatRoomSummaryResponse;
import org.xyzh.common.core.domain.ResultDomain;

/**
 * @description    智能体服务接口，提供AI相关的业务功能
 * @filename    AgentService.java
 * @author    system
 * @copyright xyzh
 * @since 2026-01-01
 */
public interface AgentService {

    /**
     * @description    总结聊天室对话内容
     * @param request 聊天室总结请求参数
     * @return 总结结果
     * @author    system
     * @since 2026-01-01
     */
    ResultDomain<ChatRoomSummaryResponse> summaryChatRoom(ChatRoomSummaryRequest request);

    /**
     * @description    获取聊天室最新的总结
     * @param roomId 聊天室ID
     * @return 总结结果
     * @author    system
     * @since 2026-01-01
     */
    ResultDomain<ChatRoomSummaryResponse> getLatestSummary(String roomId);
}