ollama

package
v0.14.0-nightly.20250513 Latest Latest
Warning

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

Go to latest
Published: May 12, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HTTPClient httpClient = http.DefaultClient

Functions

func NewOllamaProcessor

func NewOllamaProcessor(l log.CtxLogger) sdk.Processor

Types

type OllamaResponse

type OllamaResponse struct {
	Response string `json:"response"`
	Done     bool   `json:"done"`
}

type PromptValidationConfig

type PromptValidationConfig struct {
	MaxLength       int
	MinLength       int
	BlockedPatterns []string
}

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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