Why Input Schema Matters
- Ensures data integrity before reaching the model
- Maps business inputs to model parameters
- Prevents inference failures due to malformed payloads
- Enables dynamic or static parameter configuration
Defining Input Fields
Each input field includes the following:Field | Description |
---|---|
Name | The key name expected in your model’s request payload |
Type | The data type: String , Integer , Float , or Boolean |
Value Type | Dynamic (changes with each query/request) or Static (fixed value) |
Static vs. Dynamic Values
- Static: Hardcoded values used for all model requests. Example:
country: "US"
- Dynamic: Values sourced from the business application or runtime context. Example:
user_id
passed from Salesforce record