Documentation ¶
Index ¶
- func GetGPT(ctx context.Context, c client.Client, name string) (*generated.Gpt, error)
- func GetGPTStore(ctx context.Context, cli client.Client) (*generated.GPTStore, error)
- func ListGPT(ctx context.Context, c client.Client, input generated.ListGPTInput) (*generated.PaginatedResult, error)
- func ListGPTCategory(ctx context.Context, c client.Client) ([]*generated.GPTCategory, error)
- type GPTNotReadyReasonCode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGPTStore ¶ added in v0.2.2
GetGPTStore get gpt store info
func ListGPT ¶
func ListGPT(ctx context.Context, c client.Client, input generated.ListGPTInput) (*generated.PaginatedResult, error)
ListGPT list all gpt
func ListGPTCategory ¶ added in v0.2.2
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
Click to show internal directories.
Click to hide internal directories.