添加项目文件。

This commit is contained in:
yangwx
2025-03-12 20:02:52 +08:00
parent 4d34907fa7
commit 3ccd6d9a39
32 changed files with 1833 additions and 0 deletions

14
Services/IChatService.cs Normal file
View File

@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YwxApp.AiChat.Services
{
public interface IChatService
{
Task<string> GetResponseAsync(string prompt);
void Configure(string apiKey, string modelName = "gpt-3.5-turbo");
}
}