claude

package
v0.2.26 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParameterLayer

type ParameterLayer struct {
	*layers.ParameterLayerImpl `yaml:",inline"`
}

func NewParameterLayer

func NewParameterLayer(options ...layers.ParameterLayerOptions) (*ParameterLayer, error)

type Settings

type Settings struct {
	TopK    *int    `yaml:"top_k,omitempty" glazed.parameter:"claude-top-k"`
	UserID  *string `yaml:"user_id,omitempty" glazed.parameter:"claude-user-id"`
	BaseURL *string `yaml:"base_url,omitempty" glazed.parameter:"claude-base-url"`
	APIKey  *string `yaml:"api_key,omitempty" glazed.parameter:"claude-api-key"`
}

func NewSettings

func NewSettings() *Settings

func (*Settings) Clone

func (s *Settings) Clone() *Settings

func (*Settings) UpdateFromParsedLayer

func (s *Settings) UpdateFromParsedLayer(layer *layers.ParsedParameterLayer) error

Jump to

Keyboard shortcuts

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