ollama

package
v0.4.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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) Start

func (ccs *ChatCompletionStep) Start(
	ctx context.Context,
	messages []*conversation.Message,
) (steps.StepResult[string], error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL