Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindNodesHas ¶
func FindNodesHas(app *arcadiav1alpha1.Application, group, kind string) (has bool, namespace, name string)
FindNodesHas group means ref.APIGroup files before `arcadia.kubeagi.k8s.com.cn`
func InitNode ¶
func InitNode(ctx context.Context, appNamespace, name string, ref arcadiav1alpha1.TypedObjectReference) (n base.Node, err error)
Types ¶
type Application ¶
type Application struct { Namespace string Name string Spec arcadiav1alpha1.ApplicationSpec Inited bool Nodes map[string]base.Node StartingNodes []base.Node EndingNode base.Node }
func NewAppOrGetFromCache ¶
func NewAppOrGetFromCache(ctx context.Context, cli client.Client, app *arcadiav1alpha1.Application) (*Application, error)
type Input ¶
type Input struct { Question string // overrideConfig NeedStream bool History langchaingoschema.ChatMessageHistory }
Click to show internal directories.
Click to hide internal directories.