Native functions with yaml file #6644
-
I know we can load functions with yaml file sin SK. is there way to load native functions with yaml files as well? the reason is in native functions function/parameter descriptions are hard coded. i need a way to load these from a configuration. for an example, i need to implement below function in a way that descriptions "Validates the Task Id provided by the user" and "Task Id provided by the user" are coming from a configuration. not hardcoded in the class.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@bandara1987 Take a look at the sample here https://github.com/microsoft/semantic-kernel/pull/6650/files. This is one approach you can use to load the function metadata from a YAML file. |
Beta Was this translation helpful? Give feedback.
@bandara1987 Take a look at the sample here https://github.com/microsoft/semantic-kernel/pull/6650/files.
This is one approach you can use to load the function metadata from a YAML file.