feat: 完成ai接口

This commit is contained in:
ccnetcore
2025-06-19 21:24:13 +08:00
parent b39f15c798
commit 8040010b98
8 changed files with 438 additions and 2 deletions

View File

@@ -0,0 +1,13 @@
namespace Yi.Framework.AiHub.Application.Contracts.Dtos;
public class SendMessageInput
{
public List<Message> Messages { get; set; }
public string Model { get; set; }
}
public class Message
{
public string Role { get; set; }
public string Content { get; set; }
}