Versions in this module Expand all Collapse all v1 v1.0.0 Jul 31, 2023 Changes in this version + type Callback interface + OnLLMNewToken func(str string) + type ChatMessage struct + Content string + Name string + Role string + type ChatRequest struct + Model string + Prompt string + Temperature float64 + type Client struct + func New(dailTarget, model string, c container.Container, cb Callback) *Client + func (c *Client) CreateChatWithStream(ctx context.Context, r *ChatRequest) (string, error)