Package com.veeva.vault.sdk.api.ai
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 Summary
Modifier and TypeMethodDescriptionaddProperty(String name, LlmToolInputItem item) Sets a named item onto the tool input object.addRequired(String name) Sets the configured item as required on the tool input object.Methods inherited from interface com.veeva.vault.sdk.api.ai.LlmToolInputItem.Builder
build, withDescription
-
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.
-