config

package
v1.28.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultDatabricksTemperature = 1.0
	DefaultDatabricksTopP        = 1.0
	DefaultDatabricksMaxTokens   = 8192.0
	DefaultDatabricksTopK        = math.MaxInt64
)

Functions

This section is empty.

Types

type ClassSettings

type ClassSettings interface {
	MaxTokens() *int
	Temperature() float64
	TopP() float64
	TopK() int
	Validate(class *models.Class) error
	Endpoint() string
}

func NewClassSettings

func NewClassSettings(cfg moduletools.ClassConfig) ClassSettings

Jump to

Keyboard shortcuts

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