types

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandArguments added in v0.2.0

type CommandArguments struct {
	GitCommands []string
	PacaCommand string
	ExtraPrompt string
}

type OllamaOptions

type OllamaOptions struct {
	NumCtx        int     `json:"num_ctx,omitempty"`
	Temperature   float64 `json:"temperature,omitempty"`
	TopP          float64 `json:"top_p,omitempty"`
	TopK          int     `json:"top_k,omitempty"`
	RepeatPenalty float64 `json:"repeat_penalty,omitempty"`
}

type OllamaRequest

type OllamaRequest struct {
	Model   string         `json:"model"`
	Prompt  string         `json:"prompt"`
	System  string         `json:"system"`
	Stream  bool           `json:"stream"`
	Options *OllamaOptions `json:"options,omitempty"`
}

type PacaConfig

type PacaConfig struct {
	Url       string         `json:"url"`
	ModelName string         `json:"model"`
	MaxCtx    int            `json:"maxctx,omitempty"`
	Verbose   bool           `json:"verbose,omitempty"`
	Options   *OllamaOptions `json:"options"`
}

Jump to

Keyboard shortcuts

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