Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertMessage ¶
func ConvertMessage(ollamaMsg *api.Message) *geppetto_context.Message
Types ¶
type ChatCompletionStep ¶
type ChatCompletionStep struct { Client *api.Client Settings *settings.StepSettings // contains filtered or unexported fields }
func NewChatCompletionStep ¶
func NewChatCompletionStep(client *api.Client, settings *settings.StepSettings) *ChatCompletionStep
func (*ChatCompletionStep) Interrupt ¶
func (ccs *ChatCompletionStep) Interrupt()
func (*ChatCompletionStep) Start ¶
func (ccs *ChatCompletionStep) Start( ctx context.Context, messages []*geppetto_context.Message, ) (steps.StepResult[string], error)
Click to show internal directories.
Click to hide internal directories.