Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatService ¶
type ChatService struct { pb.UnimplementedChatServiceServer ChatCompletionStreamUseCase chatcompletionstream.ChatCompletionUseCase ChatConfigStream chatcompletionstream.ChatCompletionConfigInputDto StreamChanel chan chatcompletionstream.ChatCompletionOutputDto }
func NewChatService ¶
func NewChatService(chatCompletionStream chatcompletionstream.ChatCompletionUseCase, chatConfigStream chatcompletionstream.ChatCompletionConfigInputDto, streamChanel chan chatcompletionstream.ChatCompletionOutputDto) *ChatService
func (*ChatService) ChatStream ¶
func (c *ChatService) ChatStream(req *pb.ChatRequest, stream pb.ChatService_ChatStreamServer) error
Click to show internal directories.
Click to hide internal directories.