feat:完成ai网关搭建
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
using OpenAI.Chat;
|
||||
|
||||
namespace Yi.Framework.AiHub.Domain.AiChat;
|
||||
|
||||
public interface IChatService
|
||||
{
|
||||
public IAsyncEnumerable<string> CompleteChatAsync(string modelId, List<ChatMessage> messages);
|
||||
}
|
||||
Reference in New Issue
Block a user