mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 21:00:58 +03:00
Make the zod schema a main parameter instead of an additional param
This commit is contained in:
+2
-3
@@ -46,9 +46,8 @@ class AdvancedStructuredOutputParser implements INode {
|
||||
"Action", "Comedy", "Drama", "Fantasy", "Horror",
|
||||
"Mystery", "Romance", "Science Fiction", "Thriller", "Documentary"
|
||||
]).array().max(2), // Array of genres, max of 2 from the defined enum
|
||||
shortDescription: z.string().max(500) // Short description, max 150 characters
|
||||
})`,
|
||||
additionalParams: true
|
||||
shortDescription: z.string().max(500) // Short description, max 500 characters
|
||||
})`
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user