ILlmApplication is a data structure representing a collection of
LLM function calling schemas, composed from a native
TypeScript class (or interface) type by the typia.llm.application<App, Model>()
function.
Also, there can be some parameters (or their nested properties) which must be
composed by Human, not by LLM. File uploading feature or some sensitive information
like secret key (password) are the examples. In that case, you can separate the
function parameters to both LLM and human sides by configuring the
ILlmApplication.IOptions.separate property. The separated parameters are
assigned to the ILlmFunction.separated property.
For reference, when both LLM and Human filled parameter values to call, you can
merge them by calling the HttpLlm.mergeParameters function. In other words,
if you've configured the ILlmApplication.IOptions.separate property, you
have to merge the separated parameters before the function call execution.
Application of LLM function calling.
ILlmApplication
is a data structure representing a collection of LLM function calling schemas, composed from a native TypeScript class (or interface) type by thetypia.llm.application<App, Model>()
function.Also, there can be some parameters (or their nested properties) which must be composed by Human, not by LLM. File uploading feature or some sensitive information like secret key (password) are the examples. In that case, you can separate the function parameters to both LLM and human sides by configuring the ILlmApplication.IOptions.separate property. The separated parameters are assigned to the ILlmFunction.separated property.
For reference, when both LLM and Human filled parameter values to call, you can merge them by calling the HttpLlm.mergeParameters function. In other words, if you've configured the ILlmApplication.IOptions.separate property, you have to merge the separated parameters before the function call execution.
Reference
https://platform.openai.com/docs/guides/function-calling
Author
Jeongho Nam - https://github.com/samchon