using ShoppingAssistantApi.Application.Models.OpenAi; namespace ShoppingAssistantApi.Application.IServices; public interface IOpenAiService { Task GetChatCompletion(ChatCompletionRequest chat, CancellationToken cancellationToken); /// /// Retrieves a stream of tokens (pieces of words) based on provided chat. /// IAsyncEnumerable GetChatCompletionStream(ChatCompletionRequest chat, CancellationToken cancellationToken); }