Method
Encode feature groups as language model inputs.
| REQUIRED |
KEY |
TYPE |
DESCRIPTION |
| Yes |
featureGroupIds |
List[str] |
List of feature groups to be encoded.
|
| No |
tokenBudget |
int |
Enforce a given budget for each encoded feature group.
|
| No |
includeDefinition |
bool |
Include the definition of the feature group in the encoding.
|
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.
| KEY |
TYPE |
DESCRIPTION |
| success |
Boolean |
true if the call succeeded, false if there was an error |
| result |
list[LlmInput] |
|
| TYPE |
WHEN |
| DataNotFoundError |
`featureGroupIds` is not found. |