Add more nodes for agents, loaders

This commit is contained in:
Henry
2023-04-10 13:56:44 +01:00
parent 05c86ff9c5
commit 58e06718d1
57 changed files with 1584 additions and 89 deletions
+14 -2
View File
@@ -22,7 +22,7 @@ export interface IChatMessage {
createdDate: Date
}
export interface IComponentNodesPool {
export interface IComponentNodes {
[key: string]: INode
}
@@ -95,7 +95,19 @@ export interface INodeQueue {
depth: number
}
export interface IMessage {
message: string
type: MessageType
}
export interface IncomingInput {
question: string
history: string[]
history: IMessage[]
}
export interface IActiveChatflows {
[key: string]: {
endingNodeData: INodeData
inSync: boolean
}
}