shopping-assistant-api/ShoppingAssistantApi.Infrastructure/Services/OpenAiService.cs
2023-10-14 02:12:25 +00:00

25 lines
697 B
C#

using ShoppingAssistantApi.Application.IServices;
using ShoppingAssistantApi.Application.Models.OpenAi;
namespace ShoppingAssistantApi.Infrastructure.Services;
public class OpenAiService : IOpenAiService
{
private readonly HttpClient _httpClient;
public OpenAiService(HttpClient client)
{
_httpClient = client;
}
public Task<OpenAiMessage> GetChatCompletion(ChatCompletionRequest chat, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
public IAsyncEnumerable<string> GetChatCompletionStream(ChatCompletionRequest chat, CancellationToken cancellationToken)
{
throw new NotImplementedException();
}
}