gpt

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGPT

func GetGPT(ctx context.Context, c client.Client, name string) (*generated.Gpt, error)

func GetGPTStore added in v0.2.2

func GetGPTStore(ctx context.Context, cli client.Client) (*generated.GPTStore, error)

GetGPTStore get gpt store info

func ListGPT

ListGPT list all gpt

func ListGPTCategory added in v0.2.2

func ListGPTCategory(ctx context.Context, c client.Client) ([]*generated.GPTCategory, error)

ListGPTCategory list all categories

Types

type GPTNotReadyReasonCode added in v0.2.2

type GPTNotReadyReasonCode string
const (
	GPTIsReady            GPTNotReadyReasonCode = ""
	VectorStoreIsNotReady GPTNotReadyReasonCode = "VectorStoreIsNotReady"
	EmbedderIsNotReady    GPTNotReadyReasonCode = "EmbedderIsNotReady"
	LLMNotReady           GPTNotReadyReasonCode = "LLMNotReady"
	KnowledgeBaseNotReady GPTNotReadyReasonCode = "KnowledgeBaseNotReady"
	ConfigError           GPTNotReadyReasonCode = "ConfigError"
)

func GetGPTNotReadyReasonCode added in v0.2.2

func GetGPTNotReadyReasonCode(application *v1alpha1.Application) GPTNotReadyReasonCode

Jump to

Keyboard shortcuts

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