KernelContentImpl<T> Class  
	- java.lang. Object 
- com.microsoft. semantickernel. services. KernelContentImpl<T> 
 
- com.
Type Parameters
- T
- The type of the content. 
Implements
public abstract class KernelContentImpl<T>
 implements KernelContent<T>
Base class which represents the content returned by an AI service.
Constructor Summary
| Constructor | Description | 
|---|---|
| KernelContentImpl(T innerContent, String modelId, FunctionResultMetadata metadata) | Initializes a new instance of the KernelContentImpl<T> class. | 
Method Summary
| Modifier and Type | Method and Description | 
|---|---|
| T | getInnerContent() Gets the inner content representation. | 
| Function | getMetadata() Gets the metadata associated with the content. | 
Methods inherited from java.lang.Object
Constructor Details
KernelContentImpl
public KernelContentImpl(T innerContent, String modelId, FunctionResultMetadata metadata)
Initializes a new instance of the KernelContentImpl<T> class.
Parameters:
Method Details
getInnerContent
public T getInnerContent()
Gets the inner content representation.
Returns:
getMetadata
public FunctionResultMetadata getMetadata()
Gets the metadata associated with the content.
Returns: