public class TurnEventGenerativeAICalledCalloutLlm
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Method and Description |
---|---|
Long |
getGeneratedTokenCount()
Gets the generatedTokenCount.
|
Long |
getInputTokenCount()
Gets the inputTokenCount.
|
String |
getModelClassId()
Gets the modelClassId.
|
String |
getModelId()
Gets the modelId.
|
List<SearchResults> |
getRequest()
Gets the request.
|
TurnEventGenerativeAICalledCalloutLlmResponse |
getResponse()
Gets the response.
|
String |
getType()
Gets the type.
|
Boolean |
isSuccess()
Gets the success.
|
public String getType()
The name of the LLM engine called by the system.
public String getModelId()
The LLM model used to generate the response.
public String getModelClassId()
The watsonx.ai class ID that was used during the answer generation request to the LLM. This is only included when a request to the LLM has been made by the system.
public Long getGeneratedTokenCount()
The number of tokens that were generated in the response by the LLM. This is only included when a request to the LLM was successful and a response was generated.
public Long getInputTokenCount()
The number of tokens that were sent to the LLM during answer generation. This is only included when a request to the LLM has been made by the system.
public Boolean isSuccess()
Whether the answer generation request to the LLM was successful.
public TurnEventGenerativeAICalledCalloutLlmResponse getResponse()
public List<SearchResults> getRequest()
n array of objects containing the search results.
Copyright © 2025 IBM Cloud. All rights reserved.