You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:param str endpoint_id: Identifier of the endpoint to query
104
+
:param records: Python list of records. Each record must be a Python dict. Each record must contain a "data" dict (see predict_record) and optionally a "context" dict.
105
+
106
+
:return: a Python dict of the API answer. The answer contains a "results" key (which is an array of result objects)
107
+
"""
108
+
forrecordinrecords:
109
+
ifnot"data"inrecord:
110
+
raiseValueError("Each record must contain a 'data' dict")
0 commit comments