ai_dto

package
v1.3.4-beta Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LLMItem

type LLMItem struct {
	Id     string   `json:"id"`
	Config string   `json:"config"`
	Scopes []string `json:"scopes"`
}

type Provider

type Provider struct {
	Id               string `json:"id"`
	Name             string `json:"name"`
	Config           string `json:"config"`
	GetAPIKeyUrl     string `json:"get_apikey_url"`
	DefaultLLM       string `json:"defaultLLM"`
	DefaultLLMConfig string `json:"-"`
}

type ProviderItem

type ProviderItem struct {
	Id             string    `json:"id"`
	Name           string    `json:"name"`
	DefaultLLM     string    `json:"default_llm"`
	Configured     bool      `json:"configured"`
	Recommend      bool      `json:"recommend"`
	Sort           int       `json:"sort"`
	UpdateTime     time.Time `json:"-"`
}

type SimpleProviderItem

type SimpleProviderItem struct {
	Id         string `json:"id"`
	Name       string `json:"name"`
	Configured bool   `json:"configured"`
}

type UpdateConfig

type UpdateConfig struct {
	DefaultLLM string `json:"default_llm"`
	Config     string `json:"config"`
}

type UpdateLLM

type UpdateLLM struct {
	LLM string `json:"llm"`
}

Jump to

Keyboard shortcuts

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