# Type Alias PredictionData<T>

PredictionData: {
index_column?: ColumnNames<T>;
parse_data_types?: boolean;
prediction_config: PredictionConfig<T>;
} & Xor<{ rows: RowType<T>[] }, { columns: ColumnType<T> }>

Representation of all data needed for prediction.

#### Type Parameters

- T extends DataSchema

  Type of the data schema.

#### Type Declaration

- ##### `Optional` index_column?: ColumnNames<T>

  The name of the index column. If provided, the service will return this column's value in each prediction object to facilitate aligning the output predictions with the input rows on the client side. If not provided, the column will not be included in the output.

- ##### `Optional` parse_data_types?: boolean

  Whether to parse the data types of the columns. If set to True, numeric columns will be parsed to float or integer and dates in ISO format YYYY-MM-DD will be parsed. Default: true.

  Copyright Ⓒ 2026 SAP SE or an SAP affiliate company. All rights reserved.

- ##### prediction_config: PredictionConfig<T>

- Defined in packages/rpt/dist/types.d.ts:71