ollama

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: MIT Imports: 9 Imported by: 0

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

Jump to

Keyboard shortcuts

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