Package com.datadog.api.client.v2.model
Class LLMObsInferenceToolResult
java.lang.Object
com.datadog.api.client.v2.model.LLMObsInferenceToolResult
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LLMObsInferenceToolResult
extends Object
The result returned by a tool call during LLM inference.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this LLMObsInferenceToolResult object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getName()The name of the tool that produced this result.The result content returned by the tool.Identifier matching the corresponding tool call.getType()The type of tool result.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_RESULT
- See Also:
-
JSON_PROPERTY_TOOL_ID
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
LLMObsInferenceToolResult
public LLMObsInferenceToolResult()
-
-
Method Details
-
name
-
getName
The name of the tool that produced this result.- Returns:
- name
-
setName
-
result
-
getResult
The result content returned by the tool.- Returns:
- result
-
setResult
-
toolId
-
getToolId
Identifier matching the corresponding tool call.- Returns:
- toolId
-
setToolId
-
type
-
getType
The type of tool result.- Returns:
- type
-
setType
-
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:
- LLMObsInferenceToolResult
-
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 LLMObsInferenceToolResult object is equal to o. -
hashCode
public int hashCode() -
toString
-