Documentation ¶
Index ¶
- func NewDoubaoChoice(v *model.ChatCompletionChoice) llmdriver.Choice
- func NewDoubaoMessage(v model.ChatCompletionMessage) llmdriver.Message
- func NewDoubaoOutput(v model.ChatCompletionResponse) llmdriver.Output
- func NewDoubaoOutputEvent(v model.ChatCompletionStreamResponse) llmdriver.OutputEvent
- func NewDoubaoStreamChoice(v *model.ChatCompletionStreamChoice) llmdriver.Choice
- func NewDoubaoStreamMessage(v model.ChatCompletionStreamChoiceDelta) llmdriver.Message
- func NewDoubaoToolCall(v *model.ToolCall) llmdriver.ToolCall
- func NewDoubaoToolCallFunction(v model.FunctionCall) llmdriver.ToolCallFunction
- func NewDoubaoUsage(v *model.Usage) llmdriver.Usage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDoubaoChoice ¶
func NewDoubaoChoice(v *model.ChatCompletionChoice) llmdriver.Choice
func NewDoubaoMessage ¶
func NewDoubaoMessage(v model.ChatCompletionMessage) llmdriver.Message
func NewDoubaoOutput ¶
func NewDoubaoOutput(v model.ChatCompletionResponse) llmdriver.Output
func NewDoubaoOutputEvent ¶
func NewDoubaoOutputEvent(v model.ChatCompletionStreamResponse) llmdriver.OutputEvent
func NewDoubaoStreamChoice ¶
func NewDoubaoStreamChoice(v *model.ChatCompletionStreamChoice) llmdriver.Choice
func NewDoubaoStreamMessage ¶
func NewDoubaoStreamMessage(v model.ChatCompletionStreamChoiceDelta) llmdriver.Message
func NewDoubaoToolCallFunction ¶
func NewDoubaoToolCallFunction(v model.FunctionCall) llmdriver.ToolCallFunction
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.