Class FunctionCallResult
- Namespace
- LMKit.FunctionCalling
- Assembly
- LM-Kit.NET.dll
Represents the outcome of a function call, encapsulating the method invoked, the parameters used, and the result of the invocation. This class is used to capture and convey the details of a function call.
public class FunctionCallResult
- Inheritance
-
FunctionCallResult
- Inherited Members
Fields
- Confidence
Gets a quality score for the function call.
This score ranges between 0 and 1, where 1 indicates higher reliability of the decision.
- Method
Gets the MethodInfo of the method that was invoked during the function call. This property provides information about the method, such as its name, return type, and parameters.
- Parameters
Gets a read-only list of parameters that were passed to the method during the function call. These parameters represent the arguments that were used in the method invocation.
- Result
Gets the result of the method invocation. This property holds the return value produced by the method, or null if the method has a void return type.