Package com.datadog.api.client.v2.model
Class LLMObsCustomEvalConfigPromptContentValue
java.lang.Object
com.datadog.api.client.v2.model.LLMObsCustomEvalConfigPromptContentValue
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LLMObsCustomEvalConfigPromptContentValue
extends Object
Value of a prompt message content block.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this LLMObsCustomEvalConfigPromptContentValue object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getText()Text content of the message block.A tool call within a prompt message.A tool call result within a prompt message.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidsetToolCallResult(LLMObsCustomEvalConfigPromptToolResult toolCallResult) toolCall(LLMObsCustomEvalConfigPromptToolCall toolCall) toolCallResult(LLMObsCustomEvalConfigPromptToolResult 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
-
LLMObsCustomEvalConfigPromptContentValue
public LLMObsCustomEvalConfigPromptContentValue()
-
-
Method Details
-
text
-
getText
Text content of the message block.- Returns:
- text
-
setText
-
toolCall
public LLMObsCustomEvalConfigPromptContentValue toolCall(LLMObsCustomEvalConfigPromptToolCall toolCall) -
getToolCall
A tool call within a prompt message.- Returns:
- toolCall
-
setToolCall
-
toolCallResult
public LLMObsCustomEvalConfigPromptContentValue toolCallResult(LLMObsCustomEvalConfigPromptToolResult toolCallResult) -
getToolCallResult
A tool call result within a prompt message.- 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:
- LLMObsCustomEvalConfigPromptContentValue
-
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 LLMObsCustomEvalConfigPromptContentValue object is equal to o. -
hashCode
public int hashCode() -
toString
-