claude

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

View Source
const ClaudeChatSlug = "claude-chat"

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

Jump to

Keyboard shortcuts

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