Package com.datadog.api.client.v2.model
Class LLMObsInferenceContentValue
java.lang.Object
com.datadog.api.client.v2.model.LLMObsInferenceContentValue
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LLMObsInferenceContentValue
extends Object
The typed value of a message content block.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this LLMObsInferenceContentValue object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getText()Plain text content.A tool call made during LLM inference.The result returned by a tool call during LLM inference.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetToolCall(LLMObsInferenceToolCall toolCall) voidsetToolCallResult(LLMObsInferenceToolResult toolCallResult) toolCall(LLMObsInferenceToolCall toolCall) toolCallResult(LLMObsInferenceToolResult toolCallResult) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_TEXT
- See Also:
-
JSON_PROPERTY_TOOL_CALL
- See Also:
-
JSON_PROPERTY_TOOL_CALL_RESULT
- See Also:
-
-
Constructor Details
-
LLMObsInferenceContentValue
public LLMObsInferenceContentValue()
-
-
Method Details
-
text
-
getText
Plain text content.- Returns:
- text
-
setText
-
toolCall
-
getToolCall
A tool call made during LLM inference.- Returns:
- toolCall
-
setToolCall
-
toolCallResult
-
getToolCallResult
The result returned by a tool call during LLM inference.- Returns:
- toolCallResult
-
setToolCallResult
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- LLMObsInferenceContentValue
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this LLMObsInferenceContentValue object is equal to o. -
hashCode
public int hashCode() -
toString
-