Separator function for the parameters.
When composing parameter arguments through LLM function call, there can be a case that some parameters must be composed by human, or LLM cannot understand the parameter.
For example, if the parameter type has configured IGeminiSchema.IString.contentMediaType which indicates file uploading, it must be composed by human, not by LLM (Large Language Model).
In that case, if you configure this property with a function that predicating whether the schema value must be composed by human or not, the parameters would be separated into two parts.
When writing the function, note that returning value true
means
to be a human composing the value, and false
means to LLM
composing the value. Also, when predicating the schema, it would
better to utilize the GeminiTypeChecker like features.
Options for application composition.