Package io.dapr.client.domain
Class ConversationToolCalls
java.lang.Object
io.dapr.client.domain.ConversationToolCalls
Represents a tool call request sent from the LLM to the client to execute.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor without ID. -
Method Summary
Modifier and TypeMethodDescriptionGets the function to call.getId()Gets the unique identifier for the tool call.Set with ID.
-
Constructor Details
-
ConversationToolCalls
Constructor without ID.- Parameters:
function- the function to call
-
-
Method Details
-
getId
Gets the unique identifier for the tool call.- Returns:
- the tool call ID, or null if not provided
-
setId
Set with ID.- Parameters:
id- the unique identifier for the tool call- Returns:
- this instance for method chaining
-
getFunction
Gets the function to call.- Returns:
- the function details
-