Class ConversationToolsFunction

java.lang.Object
io.dapr.client.domain.ConversationToolsFunction

public class ConversationToolsFunction extends Object
Represents a function definition for conversation tools.
  • Constructor Details

    • ConversationToolsFunction

      public ConversationToolsFunction(String name, Map<String,Object> parameters)
      Constructor.
      Parameters:
      name - the function name
      parameters - the function parameters schema
  • Method Details

    • getName

      public String getName()
      Gets the function name.
      Returns:
      the function name
    • getDescription

      public String getDescription()
      Gets the function description.
      Returns:
      the function description
    • setDescription

      public ConversationToolsFunction setDescription(String description)
      Sets the function description.
      Parameters:
      description - the function description
      Returns:
      this instance for method chaining
    • getParameters

      public Map<String,Object> getParameters()
      Gets the function parameters schema.
      Returns:
      the function parameters