orq-ai-sdk 4.3.0rc13__py3-none-any.whl → 4.3.0rc15__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- orq_ai_sdk/_version.py +2 -2
- orq_ai_sdk/evals.py +22 -6
- orq_ai_sdk/models/__init__.py +6 -0
- orq_ai_sdk/models/conversationresponse.py +1 -1
- orq_ai_sdk/models/conversationwithmessagesresponse.py +1 -1
- orq_ai_sdk/models/createcontactop.py +1 -1
- orq_ai_sdk/models/createconversationop.py +1 -1
- orq_ai_sdk/models/createconversationresponseop.py +2 -2
- orq_ai_sdk/models/createdatasetitemop.py +4 -4
- orq_ai_sdk/models/createdatasetop.py +1 -1
- orq_ai_sdk/models/createdatasourceop.py +1 -1
- orq_ai_sdk/models/createevalop.py +14 -14
- orq_ai_sdk/models/createidentityop.py +1 -1
- orq_ai_sdk/models/createtoolop.py +6 -6
- orq_ai_sdk/models/filegetop.py +1 -1
- orq_ai_sdk/models/filelistop.py +1 -1
- orq_ai_sdk/models/fileuploadop.py +1 -1
- orq_ai_sdk/models/generateconversationnameop.py +1 -1
- orq_ai_sdk/models/getalltoolsop.py +6 -6
- orq_ai_sdk/models/getevalsop.py +14 -14
- orq_ai_sdk/models/invokeevalop.py +30 -3
- orq_ai_sdk/models/listdatasetdatapointsop.py +4 -4
- orq_ai_sdk/models/listdatasetsop.py +1 -1
- orq_ai_sdk/models/listdatasourcesop.py +1 -1
- orq_ai_sdk/models/listidentitiesop.py +1 -1
- orq_ai_sdk/models/partdoneevent.py +1 -1
- orq_ai_sdk/models/reasoningpart.py +1 -1
- orq_ai_sdk/models/retrievedatapointop.py +4 -4
- orq_ai_sdk/models/retrievedatasetop.py +1 -1
- orq_ai_sdk/models/retrievedatasourceop.py +1 -1
- orq_ai_sdk/models/retrieveidentityop.py +1 -1
- orq_ai_sdk/models/retrievetoolop.py +6 -6
- orq_ai_sdk/models/runagentop.py +1 -1
- orq_ai_sdk/models/streamrunagentop.py +1 -1
- orq_ai_sdk/models/updateconversationop.py +1 -1
- orq_ai_sdk/models/updatedatapointop.py +4 -4
- orq_ai_sdk/models/updatedatasetop.py +1 -1
- orq_ai_sdk/models/updatedatasourceop.py +1 -1
- orq_ai_sdk/models/updateevalop.py +14 -14
- orq_ai_sdk/models/updateidentityop.py +1 -1
- orq_ai_sdk/models/updatetoolop.py +7 -7
- {orq_ai_sdk-4.3.0rc13.dist-info → orq_ai_sdk-4.3.0rc15.dist-info}/METADATA +5 -4
- {orq_ai_sdk-4.3.0rc13.dist-info → orq_ai_sdk-4.3.0rc15.dist-info}/RECORD +45 -45
- {orq_ai_sdk-4.3.0rc13.dist-info → orq_ai_sdk-4.3.0rc15.dist-info}/WHEEL +0 -0
- {orq_ai_sdk-4.3.0rc13.dist-info → orq_ai_sdk-4.3.0rc15.dist-info}/top_level.txt +0 -0
|
@@ -294,6 +294,8 @@ class InvokeEvalRequestBodyTypedDict(TypedDict):
|
|
|
294
294
|
r"""Knowledge base retrievals"""
|
|
295
295
|
messages: NotRequired[List[InvokeEvalMessagesTypedDict]]
|
|
296
296
|
r"""The messages used to generate the output, without the last user message"""
|
|
297
|
+
model: NotRequired[str]
|
|
298
|
+
r"""Model to use for LLM-based evaluators (e.g. \"openai/gpt-4o\")"""
|
|
297
299
|
|
|
298
300
|
|
|
299
301
|
class InvokeEvalRequestBody(BaseModel):
|
|
@@ -312,10 +314,13 @@ class InvokeEvalRequestBody(BaseModel):
|
|
|
312
314
|
messages: Optional[List[InvokeEvalMessages]] = None
|
|
313
315
|
r"""The messages used to generate the output, without the last user message"""
|
|
314
316
|
|
|
317
|
+
model: Optional[str] = None
|
|
318
|
+
r"""Model to use for LLM-based evaluators (e.g. \"openai/gpt-4o\")"""
|
|
319
|
+
|
|
315
320
|
@model_serializer(mode="wrap")
|
|
316
321
|
def serialize_model(self, handler):
|
|
317
322
|
optional_fields = set(
|
|
318
|
-
["query", "output", "reference", "retrievals", "messages"]
|
|
323
|
+
["query", "output", "reference", "retrievals", "messages", "model"]
|
|
319
324
|
)
|
|
320
325
|
serialized = handler(self)
|
|
321
326
|
m = {}
|
|
@@ -365,13 +370,35 @@ class InvokeEvalRequest(BaseModel):
|
|
|
365
370
|
return m
|
|
366
371
|
|
|
367
372
|
|
|
373
|
+
class InvokeEvalEvalsResponse500ResponseBodyData(BaseModel):
|
|
374
|
+
message: str
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
@dataclass(unsafe_hash=True)
|
|
378
|
+
class InvokeEvalEvalsResponse500ResponseBody(OrqError):
|
|
379
|
+
r"""Error running the evaluator"""
|
|
380
|
+
|
|
381
|
+
data: InvokeEvalEvalsResponse500ResponseBodyData = field(hash=False)
|
|
382
|
+
|
|
383
|
+
def __init__(
|
|
384
|
+
self,
|
|
385
|
+
data: InvokeEvalEvalsResponse500ResponseBodyData,
|
|
386
|
+
raw_response: httpx.Response,
|
|
387
|
+
body: Optional[str] = None,
|
|
388
|
+
):
|
|
389
|
+
fallback = body or raw_response.text
|
|
390
|
+
message = str(data.message) or fallback
|
|
391
|
+
super().__init__(message, raw_response, body)
|
|
392
|
+
object.__setattr__(self, "data", data)
|
|
393
|
+
|
|
394
|
+
|
|
368
395
|
class InvokeEvalEvalsResponseResponseBodyData(BaseModel):
|
|
369
396
|
message: str
|
|
370
397
|
|
|
371
398
|
|
|
372
399
|
@dataclass(unsafe_hash=True)
|
|
373
400
|
class InvokeEvalEvalsResponseResponseBody(OrqError):
|
|
374
|
-
r"""
|
|
401
|
+
r"""Workspace ID is not found on the request"""
|
|
375
402
|
|
|
376
403
|
data: InvokeEvalEvalsResponseResponseBodyData = field(hash=False)
|
|
377
404
|
|
|
@@ -393,7 +420,7 @@ class InvokeEvalEvalsResponseBodyData(BaseModel):
|
|
|
393
420
|
|
|
394
421
|
@dataclass(unsafe_hash=True)
|
|
395
422
|
class InvokeEvalEvalsResponseBody(OrqError):
|
|
396
|
-
r"""
|
|
423
|
+
r"""Bad request"""
|
|
397
424
|
|
|
398
425
|
data: InvokeEvalEvalsResponseBodyData = field(hash=False)
|
|
399
426
|
|
|
@@ -776,7 +776,7 @@ class ListDatasetDatapointsEvaluations3(BaseModel):
|
|
|
776
776
|
|
|
777
777
|
source: Optional[ListDatasetDatapointsEvaluationsDatasetsSource] = "orq"
|
|
778
778
|
|
|
779
|
-
reviewed_at: Optional[datetime] = parse_datetime("2026-
|
|
779
|
+
reviewed_at: Optional[datetime] = parse_datetime("2026-02-02T05:27:59.417Z")
|
|
780
780
|
r"""The date and time the item was reviewed"""
|
|
781
781
|
|
|
782
782
|
@model_serializer(mode="wrap")
|
|
@@ -846,7 +846,7 @@ class ListDatasetDatapointsEvaluations2(BaseModel):
|
|
|
846
846
|
|
|
847
847
|
source: Optional[ListDatasetDatapointsEvaluationsSource] = "orq"
|
|
848
848
|
|
|
849
|
-
reviewed_at: Optional[datetime] = parse_datetime("2026-
|
|
849
|
+
reviewed_at: Optional[datetime] = parse_datetime("2026-02-02T05:27:59.417Z")
|
|
850
850
|
r"""The date and time the item was reviewed"""
|
|
851
851
|
|
|
852
852
|
@model_serializer(mode="wrap")
|
|
@@ -914,7 +914,7 @@ class ListDatasetDatapointsEvaluations1(BaseModel):
|
|
|
914
914
|
|
|
915
915
|
source: Optional[ListDatasetDatapointsEvaluationsDatasetsResponseSource] = "orq"
|
|
916
916
|
|
|
917
|
-
reviewed_at: Optional[datetime] = parse_datetime("2026-
|
|
917
|
+
reviewed_at: Optional[datetime] = parse_datetime("2026-02-02T05:27:59.416Z")
|
|
918
918
|
r"""The date and time the item was reviewed"""
|
|
919
919
|
|
|
920
920
|
@model_serializer(mode="wrap")
|
|
@@ -1013,7 +1013,7 @@ class ListDatasetDatapointsData(BaseModel):
|
|
|
1013
1013
|
created: Optional[datetime] = None
|
|
1014
1014
|
r"""The date and time the resource was created"""
|
|
1015
1015
|
|
|
1016
|
-
updated: Optional[datetime] = parse_datetime("2026-
|
|
1016
|
+
updated: Optional[datetime] = parse_datetime("2026-02-02T05:27:46.195Z")
|
|
1017
1017
|
r"""The date and time the resource was last updated"""
|
|
1018
1018
|
|
|
1019
1019
|
@model_serializer(mode="wrap")
|
|
@@ -113,7 +113,7 @@ class ListDatasetsData(BaseModel):
|
|
|
113
113
|
created: Optional[datetime] = None
|
|
114
114
|
r"""The date and time the resource was created"""
|
|
115
115
|
|
|
116
|
-
updated: Optional[datetime] = parse_datetime("2026-
|
|
116
|
+
updated: Optional[datetime] = parse_datetime("2026-02-02T05:27:46.195Z")
|
|
117
117
|
r"""The date and time the resource was last updated"""
|
|
118
118
|
|
|
119
119
|
@model_serializer(mode="wrap")
|
|
@@ -148,7 +148,7 @@ class ListDatasourcesData(BaseModel):
|
|
|
148
148
|
r"""The number of chunks in the datasource"""
|
|
149
149
|
|
|
150
150
|
id: Annotated[Optional[str], pydantic.Field(alias="_id")] = (
|
|
151
|
-
"
|
|
151
|
+
"01KGED4W2QYEEM4PAKBTRCRM8X"
|
|
152
152
|
)
|
|
153
153
|
r"""The unique identifier of the data source"""
|
|
154
154
|
|
|
@@ -208,7 +208,7 @@ class ListIdentitiesData(BaseModel):
|
|
|
208
208
|
created: Optional[datetime] = None
|
|
209
209
|
r"""The date and time the resource was created"""
|
|
210
210
|
|
|
211
|
-
updated: Optional[datetime] = parse_datetime("2026-
|
|
211
|
+
updated: Optional[datetime] = parse_datetime("2026-02-02T05:27:46.195Z")
|
|
212
212
|
r"""The date and time the resource was last updated"""
|
|
213
213
|
|
|
214
214
|
@model_serializer(mode="wrap")
|
|
@@ -40,7 +40,7 @@ class PartReasoningPart(BaseModel):
|
|
|
40
40
|
r"""The reasoning or thought process behind the response. Used for chain-of-thought or extended thinking."""
|
|
41
41
|
|
|
42
42
|
id: Annotated[Optional[str], pydantic.Field(alias="_id")] = (
|
|
43
|
-
"
|
|
43
|
+
"reasoning_01kged4v3ve1g4m70gxy4z966g"
|
|
44
44
|
)
|
|
45
45
|
r"""Unique identifier for the part. Format: reasoning_{ulid} (e.g., reasoning_01hxyz...)"""
|
|
46
46
|
|
|
@@ -37,7 +37,7 @@ class ReasoningPart(BaseModel):
|
|
|
37
37
|
r"""The reasoning or thought process behind the response. Used for chain-of-thought or extended thinking."""
|
|
38
38
|
|
|
39
39
|
id: Annotated[Optional[str], pydantic.Field(alias="_id")] = (
|
|
40
|
-
"
|
|
40
|
+
"reasoning_01kged4v3mggvze7zgtd9ffvds"
|
|
41
41
|
)
|
|
42
42
|
r"""Unique identifier for the part. Format: reasoning_{ulid} (e.g., reasoning_01hxyz...)"""
|
|
43
43
|
|
|
@@ -738,7 +738,7 @@ class RetrieveDatapointEvaluations3(BaseModel):
|
|
|
738
738
|
|
|
739
739
|
source: Optional[RetrieveDatapointEvaluationsDatasetsResponseSource] = "orq"
|
|
740
740
|
|
|
741
|
-
reviewed_at: Optional[datetime] = parse_datetime("2026-
|
|
741
|
+
reviewed_at: Optional[datetime] = parse_datetime("2026-02-02T05:27:59.425Z")
|
|
742
742
|
r"""The date and time the item was reviewed"""
|
|
743
743
|
|
|
744
744
|
@model_serializer(mode="wrap")
|
|
@@ -806,7 +806,7 @@ class RetrieveDatapointEvaluations2(BaseModel):
|
|
|
806
806
|
|
|
807
807
|
source: Optional[RetrieveDatapointEvaluationsDatasetsSource] = "orq"
|
|
808
808
|
|
|
809
|
-
reviewed_at: Optional[datetime] = parse_datetime("2026-
|
|
809
|
+
reviewed_at: Optional[datetime] = parse_datetime("2026-02-02T05:27:59.425Z")
|
|
810
810
|
r"""The date and time the item was reviewed"""
|
|
811
811
|
|
|
812
812
|
@model_serializer(mode="wrap")
|
|
@@ -874,7 +874,7 @@ class RetrieveDatapointEvaluations1(BaseModel):
|
|
|
874
874
|
|
|
875
875
|
source: Optional[RetrieveDatapointEvaluationsSource] = "orq"
|
|
876
876
|
|
|
877
|
-
reviewed_at: Optional[datetime] = parse_datetime("2026-
|
|
877
|
+
reviewed_at: Optional[datetime] = parse_datetime("2026-02-02T05:27:59.424Z")
|
|
878
878
|
r"""The date and time the item was reviewed"""
|
|
879
879
|
|
|
880
880
|
@model_serializer(mode="wrap")
|
|
@@ -977,7 +977,7 @@ class RetrieveDatapointResponseBody(BaseModel):
|
|
|
977
977
|
created: Optional[datetime] = None
|
|
978
978
|
r"""The date and time the resource was created"""
|
|
979
979
|
|
|
980
|
-
updated: Optional[datetime] = parse_datetime("2026-
|
|
980
|
+
updated: Optional[datetime] = parse_datetime("2026-02-02T05:27:46.195Z")
|
|
981
981
|
r"""The date and time the resource was last updated"""
|
|
982
982
|
|
|
983
983
|
@model_serializer(mode="wrap")
|
|
@@ -81,7 +81,7 @@ class RetrieveDatasetResponseBody(BaseModel):
|
|
|
81
81
|
created: Optional[datetime] = None
|
|
82
82
|
r"""The date and time the resource was created"""
|
|
83
83
|
|
|
84
|
-
updated: Optional[datetime] = parse_datetime("2026-
|
|
84
|
+
updated: Optional[datetime] = parse_datetime("2026-02-02T05:27:46.195Z")
|
|
85
85
|
r"""The date and time the resource was last updated"""
|
|
86
86
|
|
|
87
87
|
@model_serializer(mode="wrap")
|
|
@@ -90,7 +90,7 @@ class RetrieveDatasourceResponseBody(BaseModel):
|
|
|
90
90
|
r"""The number of chunks in the datasource"""
|
|
91
91
|
|
|
92
92
|
id: Annotated[Optional[str], pydantic.Field(alias="_id")] = (
|
|
93
|
-
"
|
|
93
|
+
"01KGED4W2X6HS7GJY48VBCKA8T"
|
|
94
94
|
)
|
|
95
95
|
r"""The unique identifier of the data source"""
|
|
96
96
|
|
|
@@ -103,7 +103,7 @@ class RetrieveIdentityResponseBody(BaseModel):
|
|
|
103
103
|
created: Optional[datetime] = None
|
|
104
104
|
r"""The date and time the resource was created"""
|
|
105
105
|
|
|
106
|
-
updated: Optional[datetime] = parse_datetime("2026-
|
|
106
|
+
updated: Optional[datetime] = parse_datetime("2026-02-02T05:27:46.195Z")
|
|
107
107
|
r"""The date and time the resource was last updated"""
|
|
108
108
|
|
|
109
109
|
@model_serializer(mode="wrap")
|
|
@@ -171,7 +171,7 @@ class RetrieveToolResponseBodyCodeExecutionTool(BaseModel):
|
|
|
171
171
|
code_tool: RetrieveToolResponseBodyCodeTool
|
|
172
172
|
|
|
173
173
|
id: Annotated[Optional[str], pydantic.Field(alias="_id")] = (
|
|
174
|
-
"
|
|
174
|
+
"tool_01KGED4VYXTN6TH3XW2N3AD4MM"
|
|
175
175
|
)
|
|
176
176
|
|
|
177
177
|
display_name: Optional[str] = None
|
|
@@ -302,7 +302,7 @@ class RetrieveToolResponseBodyTools(BaseModel):
|
|
|
302
302
|
RetrieveToolResponseBodyToolsSchema, pydantic.Field(alias="schema")
|
|
303
303
|
]
|
|
304
304
|
|
|
305
|
-
id: Optional[str] = "
|
|
305
|
+
id: Optional[str] = "01KGED4VYVX7YBYTN2QZGNBAH3"
|
|
306
306
|
|
|
307
307
|
description: Optional[str] = None
|
|
308
308
|
|
|
@@ -433,7 +433,7 @@ class RetrieveToolResponseBodyMCPTool(BaseModel):
|
|
|
433
433
|
mcp: RetrieveToolResponseBodyMcp
|
|
434
434
|
|
|
435
435
|
id: Annotated[Optional[str], pydantic.Field(alias="_id")] = (
|
|
436
|
-
"
|
|
436
|
+
"tool_01KGED4VYT4Z59PH6NYVKTPED8"
|
|
437
437
|
)
|
|
438
438
|
|
|
439
439
|
display_name: Optional[str] = None
|
|
@@ -734,7 +734,7 @@ class RetrieveToolResponseBodyHTTPTool(BaseModel):
|
|
|
734
734
|
http: RetrieveToolResponseBodyHTTP
|
|
735
735
|
|
|
736
736
|
id: Annotated[Optional[str], pydantic.Field(alias="_id")] = (
|
|
737
|
-
"
|
|
737
|
+
"tool_01KGED4VYQE9N5Q10FC1W5567N"
|
|
738
738
|
)
|
|
739
739
|
|
|
740
740
|
display_name: Optional[str] = None
|
|
@@ -929,7 +929,7 @@ class RetrieveToolResponseBodyJSONSchemaTool(BaseModel):
|
|
|
929
929
|
json_schema: RetrieveToolResponseBodyJSONSchema
|
|
930
930
|
|
|
931
931
|
id: Annotated[Optional[str], pydantic.Field(alias="_id")] = (
|
|
932
|
-
"
|
|
932
|
+
"tool_01KGED4VYNPWKQYHH8FD651PDZ"
|
|
933
933
|
)
|
|
934
934
|
|
|
935
935
|
display_name: Optional[str] = None
|
|
@@ -1128,7 +1128,7 @@ class RetrieveToolResponseBodyFunctionTool(BaseModel):
|
|
|
1128
1128
|
function: RetrieveToolResponseBodyFunction
|
|
1129
1129
|
|
|
1130
1130
|
id: Annotated[Optional[str], pydantic.Field(alias="_id")] = (
|
|
1131
|
-
"
|
|
1131
|
+
"tool_01KGED4VYKK3DF2BNH10713MXX"
|
|
1132
1132
|
)
|
|
1133
1133
|
|
|
1134
1134
|
display_name: Optional[str] = None
|
orq_ai_sdk/models/runagentop.py
CHANGED
|
@@ -2093,7 +2093,7 @@ class RunAgentAgentToolInputRunTools(BaseModel):
|
|
|
2093
2093
|
|
|
2094
2094
|
schema_: Annotated[AgentToolInputRunSchema, pydantic.Field(alias="schema")]
|
|
2095
2095
|
|
|
2096
|
-
id: Optional[str] = "
|
|
2096
|
+
id: Optional[str] = "01KGED4VA8AFRQ7B0G399XEM0W"
|
|
2097
2097
|
|
|
2098
2098
|
description: Optional[str] = None
|
|
2099
2099
|
|
|
@@ -2193,7 +2193,7 @@ class AgentToolInputRunTools(BaseModel):
|
|
|
2193
2193
|
StreamRunAgentAgentToolInputRunAgentsSchema, pydantic.Field(alias="schema")
|
|
2194
2194
|
]
|
|
2195
2195
|
|
|
2196
|
-
id: Optional[str] = "
|
|
2196
|
+
id: Optional[str] = "01KGED4VD9G729W7A77ZJDZVWE"
|
|
2197
2197
|
|
|
2198
2198
|
description: Optional[str] = None
|
|
2199
2199
|
|
|
@@ -231,7 +231,7 @@ class UpdateConversationResponseBody(BaseModel):
|
|
|
231
231
|
r"""Unix timestamp in milliseconds when the conversation was last modified."""
|
|
232
232
|
|
|
233
233
|
id: Annotated[Optional[str], pydantic.Field(alias="_id")] = (
|
|
234
|
-
"
|
|
234
|
+
"conv_01kged4vfn7tb72zpsxt2v857n"
|
|
235
235
|
)
|
|
236
236
|
r"""Unique conversation identifier with `conv_` prefix."""
|
|
237
237
|
|
|
@@ -1445,7 +1445,7 @@ class UpdateDatapointEvaluations3(BaseModel):
|
|
|
1445
1445
|
|
|
1446
1446
|
source: Optional[UpdateDatapointEvaluationsDatasetsResponseSource] = "orq"
|
|
1447
1447
|
|
|
1448
|
-
reviewed_at: Optional[datetime] = parse_datetime("2026-
|
|
1448
|
+
reviewed_at: Optional[datetime] = parse_datetime("2026-02-02T05:27:59.487Z")
|
|
1449
1449
|
r"""The date and time the item was reviewed"""
|
|
1450
1450
|
|
|
1451
1451
|
@model_serializer(mode="wrap")
|
|
@@ -1513,7 +1513,7 @@ class UpdateDatapointEvaluations2(BaseModel):
|
|
|
1513
1513
|
|
|
1514
1514
|
source: Optional[UpdateDatapointEvaluationsDatasetsSource] = "orq"
|
|
1515
1515
|
|
|
1516
|
-
reviewed_at: Optional[datetime] = parse_datetime("2026-
|
|
1516
|
+
reviewed_at: Optional[datetime] = parse_datetime("2026-02-02T05:27:59.486Z")
|
|
1517
1517
|
r"""The date and time the item was reviewed"""
|
|
1518
1518
|
|
|
1519
1519
|
@model_serializer(mode="wrap")
|
|
@@ -1581,7 +1581,7 @@ class UpdateDatapointEvaluations1(BaseModel):
|
|
|
1581
1581
|
|
|
1582
1582
|
source: Optional[UpdateDatapointEvaluationsSource] = "orq"
|
|
1583
1583
|
|
|
1584
|
-
reviewed_at: Optional[datetime] = parse_datetime("2026-
|
|
1584
|
+
reviewed_at: Optional[datetime] = parse_datetime("2026-02-02T05:27:59.486Z")
|
|
1585
1585
|
r"""The date and time the item was reviewed"""
|
|
1586
1586
|
|
|
1587
1587
|
@model_serializer(mode="wrap")
|
|
@@ -1684,7 +1684,7 @@ class UpdateDatapointResponseBody(BaseModel):
|
|
|
1684
1684
|
created: Optional[datetime] = None
|
|
1685
1685
|
r"""The date and time the resource was created"""
|
|
1686
1686
|
|
|
1687
|
-
updated: Optional[datetime] = parse_datetime("2026-
|
|
1687
|
+
updated: Optional[datetime] = parse_datetime("2026-02-02T05:27:46.195Z")
|
|
1688
1688
|
r"""The date and time the resource was last updated"""
|
|
1689
1689
|
|
|
1690
1690
|
@model_serializer(mode="wrap")
|
|
@@ -154,7 +154,7 @@ class UpdateDatasetResponseBody(BaseModel):
|
|
|
154
154
|
created: Optional[datetime] = None
|
|
155
155
|
r"""The date and time the resource was created"""
|
|
156
156
|
|
|
157
|
-
updated: Optional[datetime] = parse_datetime("2026-
|
|
157
|
+
updated: Optional[datetime] = parse_datetime("2026-02-02T05:27:46.195Z")
|
|
158
158
|
r"""The date and time the resource was last updated"""
|
|
159
159
|
|
|
160
160
|
@model_serializer(mode="wrap")
|
|
@@ -104,7 +104,7 @@ class UpdateDatasourceResponseBody(BaseModel):
|
|
|
104
104
|
r"""The number of chunks in the datasource"""
|
|
105
105
|
|
|
106
106
|
id: Annotated[Optional[str], pydantic.Field(alias="_id")] = (
|
|
107
|
-
"
|
|
107
|
+
"01KGED4W36A319EEHSJKTT474C"
|
|
108
108
|
)
|
|
109
109
|
r"""The unique identifier of the data source"""
|
|
110
110
|
|
|
@@ -959,9 +959,9 @@ class ResponseBodyTypescript(BaseModel):
|
|
|
959
959
|
|
|
960
960
|
key: str
|
|
961
961
|
|
|
962
|
-
created: Optional[str] = "2026-
|
|
962
|
+
created: Optional[str] = "2026-02-02T05:27:47.951Z"
|
|
963
963
|
|
|
964
|
-
updated: Optional[str] = "2026-
|
|
964
|
+
updated: Optional[str] = "2026-02-02T05:27:47.951Z"
|
|
965
965
|
|
|
966
966
|
guardrail_config: Optional[
|
|
967
967
|
UpdateEvalResponseBodyEvalsResponse200ApplicationJSON7GuardrailConfig
|
|
@@ -1155,9 +1155,9 @@ class ResponseBodyRagas(BaseModel):
|
|
|
1155
1155
|
|
|
1156
1156
|
model: str
|
|
1157
1157
|
|
|
1158
|
-
created: Optional[str] = "2026-
|
|
1158
|
+
created: Optional[str] = "2026-02-02T05:27:47.951Z"
|
|
1159
1159
|
|
|
1160
|
-
updated: Optional[str] = "2026-
|
|
1160
|
+
updated: Optional[str] = "2026-02-02T05:27:47.951Z"
|
|
1161
1161
|
|
|
1162
1162
|
guardrail_config: Optional[
|
|
1163
1163
|
UpdateEvalResponseBodyEvalsResponse200ApplicationJSON6GuardrailConfig
|
|
@@ -1852,9 +1852,9 @@ class ResponseBodyFunction(BaseModel):
|
|
|
1852
1852
|
|
|
1853
1853
|
key: str
|
|
1854
1854
|
|
|
1855
|
-
created: Optional[str] = "2026-
|
|
1855
|
+
created: Optional[str] = "2026-02-02T05:27:47.951Z"
|
|
1856
1856
|
|
|
1857
|
-
updated: Optional[str] = "2026-
|
|
1857
|
+
updated: Optional[str] = "2026-02-02T05:27:47.951Z"
|
|
1858
1858
|
|
|
1859
1859
|
guardrail_config: Optional[
|
|
1860
1860
|
UpdateEvalResponseBodyEvalsResponse200ApplicationJSONGuardrailConfig
|
|
@@ -2029,9 +2029,9 @@ class UpdateEvalResponseBodyPython(BaseModel):
|
|
|
2029
2029
|
|
|
2030
2030
|
key: str
|
|
2031
2031
|
|
|
2032
|
-
created: Optional[str] = "2026-
|
|
2032
|
+
created: Optional[str] = "2026-02-02T05:27:47.951Z"
|
|
2033
2033
|
|
|
2034
|
-
updated: Optional[str] = "2026-
|
|
2034
|
+
updated: Optional[str] = "2026-02-02T05:27:47.951Z"
|
|
2035
2035
|
|
|
2036
2036
|
guardrail_config: Optional[
|
|
2037
2037
|
UpdateEvalResponseBodyEvalsResponse200GuardrailConfig
|
|
@@ -2213,9 +2213,9 @@ class UpdateEvalResponseBodyHTTP(BaseModel):
|
|
|
2213
2213
|
|
|
2214
2214
|
key: str
|
|
2215
2215
|
|
|
2216
|
-
created: Optional[str] = "2026-
|
|
2216
|
+
created: Optional[str] = "2026-02-02T05:27:47.951Z"
|
|
2217
2217
|
|
|
2218
|
-
updated: Optional[str] = "2026-
|
|
2218
|
+
updated: Optional[str] = "2026-02-02T05:27:47.951Z"
|
|
2219
2219
|
|
|
2220
2220
|
guardrail_config: Optional[UpdateEvalResponseBodyEvalsResponseGuardrailConfig] = (
|
|
2221
2221
|
None
|
|
@@ -2368,9 +2368,9 @@ class UpdateEvalResponseBodyJSON(BaseModel):
|
|
|
2368
2368
|
|
|
2369
2369
|
key: str
|
|
2370
2370
|
|
|
2371
|
-
created: Optional[str] = "2026-
|
|
2371
|
+
created: Optional[str] = "2026-02-02T05:27:47.951Z"
|
|
2372
2372
|
|
|
2373
|
-
updated: Optional[str] = "2026-
|
|
2373
|
+
updated: Optional[str] = "2026-02-02T05:27:47.951Z"
|
|
2374
2374
|
|
|
2375
2375
|
guardrail_config: Optional[UpdateEvalResponseBodyEvalsGuardrailConfig] = None
|
|
2376
2376
|
|
|
@@ -2522,9 +2522,9 @@ class UpdateEvalResponseBodyLLM(BaseModel):
|
|
|
2522
2522
|
|
|
2523
2523
|
model: str
|
|
2524
2524
|
|
|
2525
|
-
created: Optional[str] = "2026-
|
|
2525
|
+
created: Optional[str] = "2026-02-02T05:27:47.951Z"
|
|
2526
2526
|
|
|
2527
|
-
updated: Optional[str] = "2026-
|
|
2527
|
+
updated: Optional[str] = "2026-02-02T05:27:47.951Z"
|
|
2528
2528
|
|
|
2529
2529
|
guardrail_config: Optional[UpdateEvalResponseBodyGuardrailConfig] = None
|
|
2530
2530
|
|
|
@@ -194,7 +194,7 @@ class UpdateIdentityResponseBody(BaseModel):
|
|
|
194
194
|
created: Optional[datetime] = None
|
|
195
195
|
r"""The date and time the resource was created"""
|
|
196
196
|
|
|
197
|
-
updated: Optional[datetime] = parse_datetime("2026-
|
|
197
|
+
updated: Optional[datetime] = parse_datetime("2026-02-02T05:27:46.195Z")
|
|
198
198
|
r"""The date and time the resource was last updated"""
|
|
199
199
|
|
|
200
200
|
@model_serializer(mode="wrap")
|
|
@@ -259,7 +259,7 @@ class RequestBodyTools(BaseModel):
|
|
|
259
259
|
|
|
260
260
|
schema_: Annotated[UpdateToolRequestBodyToolsSchema, pydantic.Field(alias="schema")]
|
|
261
261
|
|
|
262
|
-
id: Optional[str] = "
|
|
262
|
+
id: Optional[str] = "01KGED4VY6S6B1H1SK9CQ7RFMF"
|
|
263
263
|
|
|
264
264
|
description: Optional[str] = None
|
|
265
265
|
|
|
@@ -1214,7 +1214,7 @@ class UpdateToolResponseBodyCodeExecutionTool(BaseModel):
|
|
|
1214
1214
|
code_tool: UpdateToolResponseBodyCodeTool
|
|
1215
1215
|
|
|
1216
1216
|
id: Annotated[Optional[str], pydantic.Field(alias="_id")] = (
|
|
1217
|
-
"
|
|
1217
|
+
"tool_01KGED4VXZF97RK8EBCMMR1CDT"
|
|
1218
1218
|
)
|
|
1219
1219
|
|
|
1220
1220
|
display_name: Optional[str] = None
|
|
@@ -1345,7 +1345,7 @@ class UpdateToolResponseBodyTools(BaseModel):
|
|
|
1345
1345
|
UpdateToolResponseBodyToolsSchema, pydantic.Field(alias="schema")
|
|
1346
1346
|
]
|
|
1347
1347
|
|
|
1348
|
-
id: Optional[str] = "
|
|
1348
|
+
id: Optional[str] = "01KGED4VXYB48BDGA5RWK1EWQY"
|
|
1349
1349
|
|
|
1350
1350
|
description: Optional[str] = None
|
|
1351
1351
|
|
|
@@ -1476,7 +1476,7 @@ class UpdateToolResponseBodyMCPTool(BaseModel):
|
|
|
1476
1476
|
mcp: UpdateToolResponseBodyMcp
|
|
1477
1477
|
|
|
1478
1478
|
id: Annotated[Optional[str], pydantic.Field(alias="_id")] = (
|
|
1479
|
-
"
|
|
1479
|
+
"tool_01KGED4VXWXR8ZMTF7PG6QJR8Z"
|
|
1480
1480
|
)
|
|
1481
1481
|
|
|
1482
1482
|
display_name: Optional[str] = None
|
|
@@ -1777,7 +1777,7 @@ class UpdateToolResponseBodyHTTPTool(BaseModel):
|
|
|
1777
1777
|
http: UpdateToolResponseBodyHTTP
|
|
1778
1778
|
|
|
1779
1779
|
id: Annotated[Optional[str], pydantic.Field(alias="_id")] = (
|
|
1780
|
-
"
|
|
1780
|
+
"tool_01KGED4VXSSWA0NFWJ9BHVSA82"
|
|
1781
1781
|
)
|
|
1782
1782
|
|
|
1783
1783
|
display_name: Optional[str] = None
|
|
@@ -1972,7 +1972,7 @@ class UpdateToolResponseBodyJSONSchemaTool(BaseModel):
|
|
|
1972
1972
|
json_schema: UpdateToolResponseBodyJSONSchema
|
|
1973
1973
|
|
|
1974
1974
|
id: Annotated[Optional[str], pydantic.Field(alias="_id")] = (
|
|
1975
|
-
"
|
|
1975
|
+
"tool_01KGED4VXQ89CJKNXFP1GWNBB3"
|
|
1976
1976
|
)
|
|
1977
1977
|
|
|
1978
1978
|
display_name: Optional[str] = None
|
|
@@ -2171,7 +2171,7 @@ class UpdateToolResponseBodyFunctionTool(BaseModel):
|
|
|
2171
2171
|
function: UpdateToolResponseBodyFunction
|
|
2172
2172
|
|
|
2173
2173
|
id: Annotated[Optional[str], pydantic.Field(alias="_id")] = (
|
|
2174
|
-
"
|
|
2174
|
+
"tool_01KGED4VXN5ZBGXMR6NZ1J24TZ"
|
|
2175
2175
|
)
|
|
2176
2176
|
|
|
2177
2177
|
display_name: Optional[str] = None
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: orq-ai-sdk
|
|
3
|
-
Version: 4.3.
|
|
3
|
+
Version: 4.3.0rc15
|
|
4
4
|
Summary: Python Client SDK for the Orq API.
|
|
5
5
|
Author: Orq
|
|
6
6
|
Project-URL: repository, https://github.com/orq-ai/orq-python.git
|
|
@@ -663,7 +663,7 @@ with Orq(
|
|
|
663
663
|
**Primary error:**
|
|
664
664
|
* [`OrqError`](https://github.com/orq-ai/orq-python/blob/master/packages/orq-rc/./src/orq_ai_sdk/models/orqerror.py): The base class for HTTP error responses.
|
|
665
665
|
|
|
666
|
-
<details><summary>Less common errors (
|
|
666
|
+
<details><summary>Less common errors (36)</summary>
|
|
667
667
|
|
|
668
668
|
<br />
|
|
669
669
|
|
|
@@ -675,12 +675,13 @@ with Orq(
|
|
|
675
675
|
|
|
676
676
|
**Inherit from [`OrqError`](https://github.com/orq-ai/orq-python/blob/master/packages/orq-rc/./src/orq_ai_sdk/models/orqerror.py)**:
|
|
677
677
|
* [`HonoAPIError`](https://github.com/orq-ai/orq-python/blob/master/packages/orq-rc/./src/orq_ai_sdk/models/honoapierror.py): Applicable to 9 of 115 methods.*
|
|
678
|
+
* [`InvokeEvalEvalsResponseBody`](https://github.com/orq-ai/orq-python/blob/master/packages/orq-rc/./src/orq_ai_sdk/models/invokeevalevalsresponsebody.py): Bad request. Status code `400`. Applicable to 1 of 115 methods.*
|
|
678
679
|
* [`GenerateConversationNameConversationsResponseBody`](https://github.com/orq-ai/orq-python/blob/master/packages/orq-rc/./src/orq_ai_sdk/models/generateconversationnameconversationsresponsebody.py): Conversation already has a display name. This endpoint only generates names for conversations with empty display names. Status code `400`. Applicable to 1 of 115 methods.*
|
|
679
680
|
* [`GetEvalsEvalsResponseBody`](https://github.com/orq-ai/orq-python/blob/master/packages/orq-rc/./src/orq_ai_sdk/models/getevalsevalsresponsebody.py): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of 115 methods.*
|
|
680
681
|
* [`CreateEvalEvalsResponseBody`](https://github.com/orq-ai/orq-python/blob/master/packages/orq-rc/./src/orq_ai_sdk/models/createevalevalsresponsebody.py): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of 115 methods.*
|
|
681
682
|
* [`UpdateEvalEvalsResponseBody`](https://github.com/orq-ai/orq-python/blob/master/packages/orq-rc/./src/orq_ai_sdk/models/updateevalevalsresponsebody.py): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of 115 methods.*
|
|
682
683
|
* [`DeleteEvalResponseBody`](https://github.com/orq-ai/orq-python/blob/master/packages/orq-rc/./src/orq_ai_sdk/models/deleteevalresponsebody.py): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of 115 methods.*
|
|
683
|
-
* [`
|
|
684
|
+
* [`InvokeEvalEvalsResponseResponseBody`](https://github.com/orq-ai/orq-python/blob/master/packages/orq-rc/./src/orq_ai_sdk/models/invokeevalevalsresponseresponsebody.py): Workspace ID is not found on the request. Status code `404`. Applicable to 1 of 115 methods.*
|
|
684
685
|
* [`GetV2EvaluatorsIDVersionsEvaluatorsResponseBody`](https://github.com/orq-ai/orq-python/blob/master/packages/orq-rc/./src/orq_ai_sdk/models/getv2evaluatorsidversionsevaluatorsresponsebody.py): Evaluator not found. Status code `404`. Applicable to 1 of 115 methods.*
|
|
685
686
|
* [`RetrieveIdentityIdentitiesResponseBody`](https://github.com/orq-ai/orq-python/blob/master/packages/orq-rc/./src/orq_ai_sdk/models/retrieveidentityidentitiesresponsebody.py): Identity not found. Status code `404`. Applicable to 1 of 115 methods.*
|
|
686
687
|
* [`UpdateIdentityIdentitiesResponseBody`](https://github.com/orq-ai/orq-python/blob/master/packages/orq-rc/./src/orq_ai_sdk/models/updateidentityidentitiesresponsebody.py): Identity not found. Status code `404`. Applicable to 1 of 115 methods.*
|
|
@@ -703,7 +704,7 @@ with Orq(
|
|
|
703
704
|
* [`CreateModerationRouterModerationsResponseBody`](https://github.com/orq-ai/orq-python/blob/master/packages/orq-rc/./src/orq_ai_sdk/models/createmoderationroutermoderationsresponsebody.py): Returns validation error. Status code `422`. Applicable to 1 of 115 methods.*
|
|
704
705
|
* [`CreateTranscriptionRouterAudioTranscriptionsResponseBody`](https://github.com/orq-ai/orq-python/blob/master/packages/orq-rc/./src/orq_ai_sdk/models/createtranscriptionrouteraudiotranscriptionsresponsebody.py): Returns validation error. Status code `422`. Applicable to 1 of 115 methods.*
|
|
705
706
|
* [`CreateTranslationRouterAudioTranslationsResponseBody`](https://github.com/orq-ai/orq-python/blob/master/packages/orq-rc/./src/orq_ai_sdk/models/createtranslationrouteraudiotranslationsresponsebody.py): Returns validation error. Status code `422`. Applicable to 1 of 115 methods.*
|
|
706
|
-
* [`
|
|
707
|
+
* [`InvokeEvalEvalsResponse500ResponseBody`](https://github.com/orq-ai/orq-python/blob/master/packages/orq-rc/./src/orq_ai_sdk/models/invokeevalevalsresponse500responsebody.py): Error running the evaluator. Status code `500`. Applicable to 1 of 115 methods.*
|
|
707
708
|
* [`ResponseValidationError`](https://github.com/orq-ai/orq-python/blob/master/packages/orq-rc/./src/orq_ai_sdk/models/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.
|
|
708
709
|
|
|
709
710
|
</details>
|