FunctionResult Class 
The result of a function.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
Constructor
FunctionResult(*, function: KernelFunctionMetadata, value: Any, rendered_prompt: str | None = None, metadata: dict[str, Any] = None)
		Parameters
| Name | Description | 
|---|---|
| 
		 function 
			
				Required
			 
	 | 
	
		 The metadata of the function that was invoked.  | 
| 
		 value 
			
				Required
			 
	 | 
	
		 The value of the result.  | 
| 
		 rendered_prompt 
			
				Required
			 
	 | 
	
		 The rendered prompt of the result.  | 
| 
		 metadata 
			
				Required
			 
	 | 
	
		 The metadata of the result.  | 
Keyword-Only Parameters
| Name | Description | 
|---|---|
| 
		 function 
			
				Required
			 
	 | 
	
		 | 
| 
		 value 
			
				Required
			 
	 | 
	
		 | 
| 
		 rendered_prompt 
			
				Required
			 
	 | 
	
		 | 
| 
		 metadata 
			
				Required
			 
	 | 
	
		 | 
Methods
| get_inner_content | 
					 Get the inner content of the function result when that is a KernelContent or subclass of the first item of the value if it is a list.  | 
			
get_inner_content
Get the inner content of the function result when that is a KernelContent or subclass of the first item of the value if it is a list.
get_inner_content()
		Parameters
| Name | Description | 
|---|---|
| 
		 index 
	 | 
	
		 Default value: 0 
			 | 
Attributes
function
function: KernelFunctionMetadata
metadata
metadata: dict[str, Any]
rendered_prompt
rendered_prompt: str | None
value
value: Any