In your prompt template for guardrail code generation:
Here are the functions you can use:
(1) CheckAccess(DATABASE_ALLOWED, DATABASE_NEEDED)
(2) CheckRule(list_of_rules: dict, user_info: dict)
The functions are stored in the toolbox and will be imported. Please do not define them again.
These functions have been imported. Donot need to define them or import them again.
However, I can't find these two functions.
In your prompt template for guardrail code generation:
Here are the functions you can use:
(1) CheckAccess(DATABASE_ALLOWED, DATABASE_NEEDED)
(2) CheckRule(list_of_rules: dict, user_info: dict)
The functions are stored in the toolbox and will be imported. Please do not define them again.
These functions have been imported. Donot need to define them or import them again.
However, I can't find these two functions.