orca-sdk 0.1.10__py3-none-any.whl → 0.1.12__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.
orca_sdk/async_client.py CHANGED
@@ -29,9 +29,7 @@ from httpx import (
29
29
  AsyncBaseTransport,
30
30
  AsyncClient,
31
31
  AsyncHTTPTransport,
32
- BaseTransport,
33
32
  Headers,
34
- HTTPTransport,
35
33
  Limits,
36
34
  Proxy,
37
35
  Request,
@@ -87,7 +85,7 @@ class BaseLabelPredictionResult(TypedDict):
87
85
  anomaly_score: float | None
88
86
  label: int | None
89
87
  label_name: str | None
90
- logits: list[float]
88
+ logits: list[float] | None
91
89
 
92
90
 
93
91
  class BaseModel(TypedDict):
@@ -162,6 +160,18 @@ The type of a column in a datasource
162
160
  """
163
161
 
164
162
 
163
+ class ComputeClassificationMetricsRequest(TypedDict):
164
+ expected_labels: list[int]
165
+ logits: list[list[float] | None]
166
+ anomaly_scores: NotRequired[list[float] | None]
167
+
168
+
169
+ class ComputeRegressionMetricsRequest(TypedDict):
170
+ expected_scores: list[float]
171
+ predicted_scores: list[float | None]
172
+ anomaly_scores: NotRequired[list[float] | None]
173
+
174
+
165
175
  class ConstraintViolationErrorResponse(TypedDict):
166
176
  status_code: Literal[409]
167
177
  constraint: str
@@ -211,12 +221,13 @@ class DatasetFilterItem(TypedDict):
211
221
  value: Any
212
222
 
213
223
 
214
- class DeleteMemoriesRequest(TypedDict):
215
- memory_ids: list[str]
224
+ class DeleteMemoriesResponse(TypedDict):
225
+ deleted_count: int
216
226
 
217
227
 
218
228
  class DeleteMemorysetsRequest(TypedDict):
219
229
  memoryset_ids: list[str]
230
+ cascade: NotRequired[bool]
220
231
 
221
232
 
222
233
  class EmbedRequest(TypedDict):
@@ -292,7 +303,20 @@ class FilterItem(TypedDict):
292
303
  ]
293
304
  )
294
305
  op: Literal["==", "!=", ">", ">=", "<", "<=", "in", "not in", "like", "contains all", "contains any"]
295
- value: str | int | float | bool | list[str | None] | list[int] | list[float] | list[bool] | None
306
+ value: (
307
+ str
308
+ | int
309
+ | float
310
+ | bool
311
+ | list[None]
312
+ | list[str]
313
+ | list[str | None]
314
+ | list[int]
315
+ | list[int | None]
316
+ | list[float]
317
+ | list[bool]
318
+ | None
319
+ )
296
320
  transform: NotRequired[Literal["length"]]
297
321
 
298
322
 
@@ -310,6 +334,7 @@ class GetDatasourceRowsRequest(TypedDict):
310
334
 
311
335
  class GetMemoriesRequest(TypedDict):
312
336
  memory_ids: list[str]
337
+ consistency_level: NotRequired[Literal["Bounded", "Session", "Strong", "Eventual"]]
313
338
 
314
339
 
315
340
  class HealthyResponse(TypedDict):
@@ -355,6 +380,13 @@ class LabelPercentage(TypedDict):
355
380
  percentage: float
356
381
 
357
382
 
383
+ class LabeledBatchMemoryUpdatePatch(TypedDict):
384
+ metadata: NotRequired[dict[str, str | int | float | bool | None] | None]
385
+ source_id: NotRequired[str | None]
386
+ partition_id: NotRequired[str | None]
387
+ label: NotRequired[int | None]
388
+
389
+
358
390
  class LabeledExample(TypedDict):
359
391
  text: str
360
392
  label_name: str
@@ -373,8 +405,7 @@ class ListMemoriesRequest(TypedDict):
373
405
  offset: NotRequired[int]
374
406
  limit: NotRequired[int]
375
407
  filters: NotRequired[list[FilterItem]]
376
- partition_id: NotRequired[str | None]
377
- partition_filter_mode: NotRequired[Literal["ignore_partitions", "include_global", "exclude_global", "only_global"]]
408
+ consistency_level: NotRequired[Literal["Bounded", "Session", "Strong", "Eventual"]]
378
409
 
379
410
 
380
411
  class LookupRequest(TypedDict):
@@ -383,6 +414,7 @@ class LookupRequest(TypedDict):
383
414
  prompt: NotRequired[str | None]
384
415
  partition_id: NotRequired[str | list[str | None] | None]
385
416
  partition_filter_mode: NotRequired[Literal["ignore_partitions", "include_global", "exclude_global", "only_global"]]
417
+ consistency_level: NotRequired[Literal["Bounded", "Session", "Strong", "Eventual"]]
386
418
 
387
419
 
388
420
  class LookupScoreMetrics(TypedDict):
@@ -526,6 +558,7 @@ class NotFoundErrorResponse(TypedDict):
526
558
  "api_key",
527
559
  "datasource",
528
560
  "memoryset",
561
+ "predictive_model",
529
562
  "classification_model",
530
563
  "regression_model",
531
564
  "prediction",
@@ -552,8 +585,17 @@ class OrgPlan(TypedDict):
552
585
 
553
586
  class PRCurve(TypedDict):
554
587
  thresholds: list[float]
588
+ """
589
+ Threshold values for the curve
590
+ """
555
591
  precisions: list[float]
592
+ """
593
+ Precision values at each threshold
594
+ """
556
595
  recalls: list[float]
596
+ """
597
+ Recall values at each threshold
598
+ """
557
599
 
558
600
 
559
601
  class PredictionFeedback(TypedDict):
@@ -624,8 +666,17 @@ RARHeadType: TypeAlias = Literal["MMOE", "KNN"]
624
666
 
625
667
  class ROCCurve(TypedDict):
626
668
  thresholds: list[float]
669
+ """
670
+ Threshold values for the curve
671
+ """
627
672
  false_positive_rates: list[float]
673
+ """
674
+ False positive rate values at each threshold
675
+ """
628
676
  true_positive_rates: list[float]
677
+ """
678
+ True positive rate values at each threshold
679
+ """
629
680
 
630
681
 
631
682
  class ReadyResponse(TypedDict):
@@ -648,15 +699,49 @@ class RegressionEvaluationRequest(TypedDict):
648
699
 
649
700
  class RegressionMetrics(TypedDict):
650
701
  coverage: float
702
+ """
703
+ Percentage of predictions that are not none
704
+ """
651
705
  mse: float
706
+ """
707
+ Mean squared error of the predictions
708
+ """
652
709
  rmse: float
710
+ """
711
+ Root mean squared error of the predictions
712
+ """
653
713
  mae: float
714
+ """
715
+ Mean absolute error of the predictions
716
+ """
654
717
  r2: float
718
+ """
719
+ R-squared score (coefficient of determination) of the predictions
720
+ """
655
721
  explained_variance: float
722
+ """
723
+ Explained variance score of the predictions
724
+ """
656
725
  loss: float
726
+ """
727
+ Mean squared error loss of the predictions
728
+ """
657
729
  anomaly_score_mean: NotRequired[float | None]
730
+ """
731
+ Mean of anomaly scores across the dataset
732
+ """
658
733
  anomaly_score_median: NotRequired[float | None]
734
+ """
735
+ Median of anomaly scores across the dataset
736
+ """
659
737
  anomaly_score_variance: NotRequired[float | None]
738
+ """
739
+ Variance of anomaly scores across the dataset
740
+ """
741
+ warnings: NotRequired[list[str]]
742
+ """
743
+ Human-readable warnings about skipped or adjusted metrics
744
+ """
660
745
 
661
746
 
662
747
  class RegressionModelMetadata(TypedDict):
@@ -685,7 +770,7 @@ class RegressionPredictionRequest(TypedDict):
685
770
  save_telemetry_synchronously: NotRequired[bool]
686
771
  prompt: NotRequired[str | None]
687
772
  use_lookup_cache: NotRequired[bool]
688
- consistency_level: NotRequired[Literal["Bounded", "Session", "Strong", "Eventual"] | None]
773
+ consistency_level: NotRequired[Literal["Bounded", "Session", "Strong", "Eventual"]]
689
774
  ignore_unlabeled: NotRequired[bool]
690
775
  partition_ids: NotRequired[str | list[str | None] | None]
691
776
  partition_filter_mode: NotRequired[Literal["ignore_partitions", "include_global", "exclude_global", "only_global"]]
@@ -730,6 +815,13 @@ class ScorePredictionWithMemoriesAndFeedback(TypedDict):
730
815
  feedbacks: list[PredictionFeedback]
731
816
 
732
817
 
818
+ class ScoredBatchMemoryUpdatePatch(TypedDict):
819
+ metadata: NotRequired[dict[str, str | int | float | bool | None] | None]
820
+ source_id: NotRequired[str | None]
821
+ partition_id: NotRequired[str | None]
822
+ score: NotRequired[float | None]
823
+
824
+
733
825
  class ScoredMemory(TypedDict):
734
826
  value: str | bytes
735
827
  embedding: list[float]
@@ -835,6 +927,10 @@ class UnauthorizedErrorResponse(TypedDict):
835
927
  reason: str
836
928
 
837
929
 
930
+ class UpdateMemoriesResponse(TypedDict):
931
+ updated_count: int
932
+
933
+
838
934
  class UpdateOrgPlanRequest(TypedDict):
839
935
  tier: Literal["FREE", "PRO", "ENTERPRISE", "CANCELLED"]
840
936
 
@@ -885,6 +981,7 @@ class GetMemorysetByNameOrIdParams(TypedDict):
885
981
 
886
982
  class DeleteMemorysetByNameOrIdParams(TypedDict):
887
983
  name_or_id: str
984
+ cascade: NotRequired[bool]
888
985
 
889
986
 
890
987
  class PostGpuMemorysetByNameOrIdLookupParams(TypedDict):
@@ -897,6 +994,7 @@ class GetMemorysetByNameOrIdMemoryByMemoryIdParams(TypedDict):
897
994
  """
898
995
  ID of the memory
899
996
  """
997
+ consistency_level: NotRequired[Literal["Bounded", "Session", "Strong", "Eventual"]]
900
998
 
901
999
 
902
1000
  class DeleteMemorysetByNameOrIdMemoryByMemoryIdParams(TypedDict):
@@ -965,6 +1063,7 @@ class GetFinetunedEmbeddingModelByNameOrIdParams(TypedDict):
965
1063
 
966
1064
  class DeleteFinetunedEmbeddingModelByNameOrIdParams(TypedDict):
967
1065
  name_or_id: str
1066
+ cascade: NotRequired[bool]
968
1067
 
969
1068
 
970
1069
  class PostGpuFinetunedEmbeddingModelByNameOrIdEmbeddingParams(TypedDict):
@@ -1058,6 +1157,20 @@ class GetDatasourceByNameOrIdDownloadParams(TypedDict):
1058
1157
  """
1059
1158
 
1060
1159
 
1160
+ class GetClassificationModelParams(TypedDict):
1161
+ memoryset_name_or_id: NotRequired[str | None]
1162
+ """
1163
+ Filter by memoryset name or ID
1164
+ """
1165
+
1166
+
1167
+ class GetRegressionModelParams(TypedDict):
1168
+ memoryset_name_or_id: NotRequired[str | None]
1169
+ """
1170
+ Filter by memoryset name or ID
1171
+ """
1172
+
1173
+
1061
1174
  class PatchClassificationModelByNameOrIdParams(TypedDict):
1062
1175
  name_or_id: str
1063
1176
 
@@ -1082,6 +1195,13 @@ class DeleteRegressionModelByNameOrIdParams(TypedDict):
1082
1195
  name_or_id: str
1083
1196
 
1084
1197
 
1198
+ class GetPredictiveModelParams(TypedDict):
1199
+ memoryset_name_or_id: NotRequired[str | None]
1200
+ """
1201
+ Filter by memoryset name or ID
1202
+ """
1203
+
1204
+
1085
1205
  class PostGpuClassificationModelByNameOrIdPredictionParams(TypedDict):
1086
1206
  name_or_id: str
1087
1207
 
@@ -1252,18 +1372,57 @@ class BootstrapLabeledMemoryDataResult(TypedDict):
1252
1372
 
1253
1373
  class ClassificationMetrics(TypedDict):
1254
1374
  coverage: float
1375
+ """
1376
+ Percentage of predictions that are not none
1377
+ """
1255
1378
  f1_score: float
1379
+ """
1380
+ F1 score of the predictions
1381
+ """
1256
1382
  accuracy: float
1383
+ """
1384
+ Accuracy of the predictions
1385
+ """
1257
1386
  loss: float | None
1387
+ """
1388
+ Cross-entropy loss of the logits
1389
+ """
1258
1390
  anomaly_score_mean: NotRequired[float | None]
1391
+ """
1392
+ Mean of anomaly scores across the dataset
1393
+ """
1259
1394
  anomaly_score_median: NotRequired[float | None]
1395
+ """
1396
+ Median of anomaly scores across the dataset
1397
+ """
1260
1398
  anomaly_score_variance: NotRequired[float | None]
1399
+ """
1400
+ Variance of anomaly scores across the dataset
1401
+ """
1261
1402
  roc_auc: NotRequired[float | None]
1403
+ """
1404
+ Receiver operating characteristic area under the curve
1405
+ """
1262
1406
  pr_auc: NotRequired[float | None]
1407
+ """
1408
+ Average precision (area under the curve of the precision-recall curve)
1409
+ """
1263
1410
  pr_curve: NotRequired[PRCurve | None]
1411
+ """
1412
+ Precision-recall curve
1413
+ """
1264
1414
  roc_curve: NotRequired[ROCCurve | None]
1415
+ """
1416
+ Receiver operating characteristic curve
1417
+ """
1265
1418
  confusion_matrix: NotRequired[list[list[int]] | None]
1419
+ """
1420
+ Confusion matrix where the entry at row i, column j is the count of samples with true label i predicted as label j
1421
+ """
1266
1422
  warnings: NotRequired[list[str]]
1423
+ """
1424
+ Human-readable warnings about skipped or adjusted metrics
1425
+ """
1267
1426
 
1268
1427
 
1269
1428
  class ClassificationModelMetadata(TypedDict):
@@ -1296,7 +1455,7 @@ class ClassificationPredictionRequest(TypedDict):
1296
1455
  save_telemetry_synchronously: NotRequired[bool]
1297
1456
  prompt: NotRequired[str | None]
1298
1457
  use_lookup_cache: NotRequired[bool]
1299
- consistency_level: NotRequired[Literal["Bounded", "Session", "Strong", "Eventual"] | None]
1458
+ consistency_level: NotRequired[Literal["Bounded", "Session", "Strong", "Eventual"]]
1300
1459
  ignore_unlabeled: NotRequired[bool]
1301
1460
  partition_ids: NotRequired[str | list[str | None] | None]
1302
1461
  partition_filter_mode: NotRequired[Literal["ignore_partitions", "include_global", "exclude_global", "only_global"]]
@@ -1310,6 +1469,7 @@ class CloneMemorysetRequest(TypedDict):
1310
1469
  finetuned_embedding_model_name_or_id: NotRequired[str | None]
1311
1470
  max_seq_length_override: NotRequired[int | None]
1312
1471
  prompt: NotRequired[str]
1472
+ is_partitioned: NotRequired[bool | None]
1313
1473
 
1314
1474
 
1315
1475
  class ColumnInfo(TypedDict):
@@ -1357,6 +1517,7 @@ class CreateMemorysetFromDatasourceRequest(TypedDict):
1357
1517
  prompt: NotRequired[str]
1358
1518
  hidden: NotRequired[bool]
1359
1519
  memory_type: NotRequired[MemoryType | None]
1520
+ is_partitioned: NotRequired[bool]
1360
1521
  datasource_name_or_id: str
1361
1522
  datasource_label_column: NotRequired[str | None]
1362
1523
  datasource_score_column: NotRequired[str | None]
@@ -1381,6 +1542,7 @@ class CreateMemorysetRequest(TypedDict):
1381
1542
  prompt: NotRequired[str]
1382
1543
  hidden: NotRequired[bool]
1383
1544
  memory_type: NotRequired[MemoryType | None]
1545
+ is_partitioned: NotRequired[bool]
1384
1546
 
1385
1547
 
1386
1548
  class CreateRegressionModelRequest(TypedDict):
@@ -1404,6 +1566,11 @@ class DatasourceMetadata(TypedDict):
1404
1566
  updated_at: str
1405
1567
 
1406
1568
 
1569
+ class DeleteMemoriesRequest(TypedDict):
1570
+ memory_ids: NotRequired[list[str] | None]
1571
+ filters: NotRequired[list[FilterItem] | None]
1572
+
1573
+
1407
1574
  class EmbeddingEvaluationResponse(TypedDict):
1408
1575
  job_id: str
1409
1576
  org_id: str
@@ -1533,7 +1700,7 @@ class LabelPredictionWithMemoriesAndFeedback(TypedDict):
1533
1700
  anomaly_score: float | None
1534
1701
  label: int | None
1535
1702
  label_name: str | None
1536
- logits: list[float]
1703
+ logits: list[float] | None
1537
1704
  timestamp: str
1538
1705
  input_value: str | bytes
1539
1706
  input_embedding: list[float]
@@ -1689,6 +1856,7 @@ class TelemetryMemoriesRequest(TypedDict):
1689
1856
  limit: NotRequired[int]
1690
1857
  filters: NotRequired[list[FilterItem | TelemetryFilterItem]]
1691
1858
  sort: NotRequired[list[TelemetrySortOptions] | None]
1859
+ consistency_level: NotRequired[Literal["Bounded", "Session", "Strong", "Eventual"]]
1692
1860
 
1693
1861
 
1694
1862
  class WorkerInfo(TypedDict):
@@ -1704,7 +1872,10 @@ class WorkerInfo(TypedDict):
1704
1872
  PatchGpuMemorysetByNameOrIdMemoryRequest: TypeAlias = LabeledMemoryUpdate | ScoredMemoryUpdate
1705
1873
 
1706
1874
 
1707
- PatchGpuMemorysetByNameOrIdMemoriesRequest: TypeAlias = list[LabeledMemoryUpdate] | list[ScoredMemoryUpdate]
1875
+ class BatchMemoryUpdateRequest(TypedDict):
1876
+ updates: NotRequired[list[LabeledMemoryUpdate | ScoredMemoryUpdate] | None]
1877
+ filters: NotRequired[list[FilterItem] | None]
1878
+ patch: NotRequired[LabeledBatchMemoryUpdatePatch | ScoredBatchMemoryUpdatePatch | None]
1708
1879
 
1709
1880
 
1710
1881
  class CascadingEditSuggestion(TypedDict):
@@ -1752,6 +1923,7 @@ class MemorysetMetadata(TypedDict):
1752
1923
  document_prompt_override: str | None
1753
1924
  query_prompt_override: str | None
1754
1925
  hidden: bool
1926
+ is_partitioned: bool
1755
1927
  insertion_task_id: str | None
1756
1928
 
1757
1929
 
@@ -1992,7 +2164,7 @@ class OrcaAsyncClient(AsyncClient):
1992
2164
  self,
1993
2165
  path: Literal["/memoryset"],
1994
2166
  *,
1995
- params: GetMemorysetParams,
2167
+ params: GetMemorysetParams | None = None,
1996
2168
  parse_as: Literal["json"] = "json",
1997
2169
  headers: HeaderTypes | None = None,
1998
2170
  cookies: CookieTypes | None = None,
@@ -2048,7 +2220,7 @@ class OrcaAsyncClient(AsyncClient):
2048
2220
  follow_redirects: bool | UseClientDefault = USE_CLIENT_DEFAULT,
2049
2221
  timeout: TimeoutTypes | UseClientDefault = USE_CLIENT_DEFAULT,
2050
2222
  extensions: RequestExtensions | None = None,
2051
- ) -> list[list[LabeledMemory]] | list[list[ScoredMemory]]:
2223
+ ) -> list[list[LabeledMemory]] | list[list[ScoredMemory]] | None:
2052
2224
  pass
2053
2225
 
2054
2226
  @overload
@@ -2326,7 +2498,7 @@ class OrcaAsyncClient(AsyncClient):
2326
2498
  self,
2327
2499
  path: Literal["/classification_model"],
2328
2500
  *,
2329
- params: None = None,
2501
+ params: GetClassificationModelParams | None = None,
2330
2502
  parse_as: Literal["json"] = "json",
2331
2503
  headers: HeaderTypes | None = None,
2332
2504
  cookies: CookieTypes | None = None,
@@ -2342,7 +2514,7 @@ class OrcaAsyncClient(AsyncClient):
2342
2514
  self,
2343
2515
  path: Literal["/regression_model"],
2344
2516
  *,
2345
- params: None = None,
2517
+ params: GetRegressionModelParams | None = None,
2346
2518
  parse_as: Literal["json"] = "json",
2347
2519
  headers: HeaderTypes | None = None,
2348
2520
  cookies: CookieTypes | None = None,
@@ -2390,7 +2562,7 @@ class OrcaAsyncClient(AsyncClient):
2390
2562
  self,
2391
2563
  path: Literal["/predictive_model"],
2392
2564
  *,
2393
- params: None = None,
2565
+ params: GetPredictiveModelParams | None = None,
2394
2566
  parse_as: Literal["json"] = "json",
2395
2567
  headers: HeaderTypes | None = None,
2396
2568
  cookies: CookieTypes | None = None,
@@ -2502,7 +2674,7 @@ class OrcaAsyncClient(AsyncClient):
2502
2674
  self,
2503
2675
  path: Literal["/job"],
2504
2676
  *,
2505
- params: GetJobParams,
2677
+ params: GetJobParams | None = None,
2506
2678
  parse_as: Literal["json"] = "json",
2507
2679
  headers: HeaderTypes | None = None,
2508
2680
  cookies: CookieTypes | None = None,
@@ -2518,7 +2690,7 @@ class OrcaAsyncClient(AsyncClient):
2518
2690
  self,
2519
2691
  path: Literal["/worker"],
2520
2692
  *,
2521
- params: GetWorkerParams,
2693
+ params: GetWorkerParams | None = None,
2522
2694
  parse_as: Literal["json"] = "json",
2523
2695
  headers: HeaderTypes | None = None,
2524
2696
  cookies: CookieTypes | None = None,
@@ -3150,7 +3322,7 @@ class OrcaAsyncClient(AsyncClient):
3150
3322
  follow_redirects: bool | UseClientDefault = USE_CLIENT_DEFAULT,
3151
3323
  timeout: TimeoutTypes | UseClientDefault = USE_CLIENT_DEFAULT,
3152
3324
  extensions: RequestExtensions | None = None,
3153
- ) -> None:
3325
+ ) -> DeleteMemoriesResponse:
3154
3326
  pass
3155
3327
 
3156
3328
  @overload
@@ -3600,6 +3772,46 @@ class OrcaAsyncClient(AsyncClient):
3600
3772
  ) -> EvaluationResponse:
3601
3773
  pass
3602
3774
 
3775
+ @overload
3776
+ async def POST(
3777
+ self,
3778
+ path: Literal["/classification_model/metrics"],
3779
+ *,
3780
+ params: None = None,
3781
+ json: ComputeClassificationMetricsRequest,
3782
+ data: None = None,
3783
+ files: None = None,
3784
+ content: None = None,
3785
+ parse_as: Literal["json"] = "json",
3786
+ headers: HeaderTypes | None = None,
3787
+ cookies: CookieTypes | None = None,
3788
+ auth: AuthTypes | UseClientDefault = USE_CLIENT_DEFAULT,
3789
+ follow_redirects: bool | UseClientDefault = USE_CLIENT_DEFAULT,
3790
+ timeout: TimeoutTypes | UseClientDefault = USE_CLIENT_DEFAULT,
3791
+ extensions: RequestExtensions | None = None,
3792
+ ) -> ClassificationMetrics:
3793
+ pass
3794
+
3795
+ @overload
3796
+ async def POST(
3797
+ self,
3798
+ path: Literal["/regression_model/metrics"],
3799
+ *,
3800
+ params: None = None,
3801
+ json: ComputeRegressionMetricsRequest,
3802
+ data: None = None,
3803
+ files: None = None,
3804
+ content: None = None,
3805
+ parse_as: Literal["json"] = "json",
3806
+ headers: HeaderTypes | None = None,
3807
+ cookies: CookieTypes | None = None,
3808
+ auth: AuthTypes | UseClientDefault = USE_CLIENT_DEFAULT,
3809
+ follow_redirects: bool | UseClientDefault = USE_CLIENT_DEFAULT,
3810
+ timeout: TimeoutTypes | UseClientDefault = USE_CLIENT_DEFAULT,
3811
+ extensions: RequestExtensions | None = None,
3812
+ ) -> RegressionMetrics:
3813
+ pass
3814
+
3603
3815
  @overload
3604
3816
  async def POST(
3605
3817
  self,
@@ -3867,7 +4079,7 @@ class OrcaAsyncClient(AsyncClient):
3867
4079
  path: Literal["/gpu/memoryset/{name_or_id}/memories"],
3868
4080
  *,
3869
4081
  params: PatchGpuMemorysetByNameOrIdMemoriesParams,
3870
- json: PatchGpuMemorysetByNameOrIdMemoriesRequest,
4082
+ json: BatchMemoryUpdateRequest,
3871
4083
  data: None = None,
3872
4084
  files: None = None,
3873
4085
  content: None = None,
@@ -3878,7 +4090,7 @@ class OrcaAsyncClient(AsyncClient):
3878
4090
  follow_redirects: bool | UseClientDefault = USE_CLIENT_DEFAULT,
3879
4091
  timeout: TimeoutTypes | UseClientDefault = USE_CLIENT_DEFAULT,
3880
4092
  extensions: RequestExtensions | None = None,
3881
- ) -> list[LabeledMemory] | list[ScoredMemory]:
4093
+ ) -> UpdateMemoriesResponse:
3882
4094
  pass
3883
4095
 
3884
4096
  @overload