Merge branch 'master' of http://8.137.159.94:3000/glz/QYZH.InteractiveMagazine
This commit is contained in:
16
QYZH.InteractiveMagazine.IService/IAiChatService.cs
Normal file
16
QYZH.InteractiveMagazine.IService/IAiChatService.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using QYZH.InteractiveMagazine.Models.Dto;
|
||||
|
||||
namespace QYZH.InteractiveMagazine.IService;
|
||||
|
||||
/// <summary>
|
||||
/// AI聊天服务接口
|
||||
/// </summary>
|
||||
public interface IAiChatService
|
||||
{
|
||||
/// <summary>
|
||||
/// 发送消息进行AI对话
|
||||
/// </summary>
|
||||
/// <param name="input">聊天输入</param>
|
||||
/// <returns>AI返回的提示词内容</returns>
|
||||
Task<AiChatOutput> ChatAsync(AiChatInput input);
|
||||
}
|
||||
Reference in New Issue
Block a user