添加项目文件。
This commit is contained in:
14
Services/IChatService.cs
Normal file
14
Services/IChatService.cs
Normal 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");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user