Interface LlmToolInputObject.Builder

All Superinterfaces:
LlmToolInputItem.Builder<LlmToolInputObject.Builder,LlmToolInputObject>
Enclosing interface:
LlmToolInputObject

public static interface LlmToolInputObject.Builder extends LlmToolInputItem.Builder<LlmToolInputObject.Builder,LlmToolInputObject>
Constructs a LLM Input for unstructured types.
  • Method Details

    • addProperty

      Sets a named item onto the tool input object. Replace if the item is already contained.
      Parameters:
      name - name of the input item. Cannot be null.
      item - the item to add. Cannot be null.
      Returns:
      this builder
    • addRequired

      Sets the configured item as required on the tool input object. Unless configured, it will be assumed optional.
      Parameters:
      name - name of the input item. Should be present on the object
      Returns:
      this builder.