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 { // User Query Question string // Files from user upload // normally, the user will upload the files to s3 first and use the name of files here Files []string // overrideConfig NeedStream bool History langchaingoschema.ChatMessageHistory ConversationID string }
Click to show internal directories.
Click to hide internal directories.