HttmLlm.execute() is a function executing the target
API endpoint with with the connection information
and arguments composed by Large Language Model like OpenAI (+human sometimes).
By the way, if you've configured the IHttpLlmApplication.IOptions.separate,
so that the parameters are separated to human and LLM sides, you have to merge
these humand and LLM sides' parameters into one through
HttpLlm.mergeParameters function.
About the IHttpLlmApplication.IOptions.keyword option, don't worry anything.
This HttmLlm.execute() function will automatically recognize the keyword arguments
and convert them to the proper sequence.
For reference, if the target API endpoinnt responds none 200/201 status, this
would be considered as an error and the HttpError would be thrown.
Otherwise you don't want such rule, you can use the HttpLlm.propagate
function instead.
Throws
HttpError when the API endpoint responds none 200/201 status
Execute the LLM function call.
HttmLlm.execute()
is a function executing the target API endpoint with with the connection information and arguments composed by Large Language Model like OpenAI (+human sometimes).By the way, if you've configured the IHttpLlmApplication.IOptions.separate, so that the parameters are separated to human and LLM sides, you have to merge these humand and LLM sides' parameters into one through HttpLlm.mergeParameters function.
About the IHttpLlmApplication.IOptions.keyword option, don't worry anything. This
HttmLlm.execute()
function will automatically recognize the keyword arguments and convert them to the proper sequence.For reference, if the target API endpoinnt responds none 200/201 status, this would be considered as an error and the HttpError would be thrown. Otherwise you don't want such rule, you can use the HttpLlm.propagate function instead.
Throws
HttpError when the API endpoint responds none 200/201 status