structs

package
v2.9.1 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2025 License: GPL-3.0 Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonResponse added in v2.8.0

type CommonResponse struct {
	ID      string `json:"id"`
	Choices []struct {
		Delta struct {
			Content string `json:"content"`
		} `json:"delta"`
	} `json:"choices"`
}

type ExtraOptions added in v2.6.0

type ExtraOptions struct {
	IsGetSilent   bool
	IsGetWhole    bool
	IsGetCommand  bool
	IsNormal      bool
	IsGetCode     bool
	IsInteractive bool
}

type Params

type Params struct {
	ApiModel     string
	ApiKey       string
	Provider     string
	Temperature  string
	Top_p        string
	Max_length   string
	Preprompt    string
	ThreadID     string
	Url          string
	PrevMessages string
}

Jump to

Keyboard shortcuts

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