aito.api.quick_predict

aito.api.quick_predict(client: aito.client.aito_client.AitoClient, from_table: str, predicting_field: str)

generate an example predict query to predict a field

The example query will use all fields of the table as the hypothesis and the first entry of the table as the input data

Parameters
  • client (AitoClient) – the AitoClient instance

  • from_table (str) – the name of the table the will be use as context for prediction.

  • predicting_field (str) – the name of the predicting field. If the field belongs to a linked table, it should be in the format of <column_with_link>.<field_name>

Returns

The example predict query

Return type

Dict