scale-gp-beta 0.1.0a15__py3-none-any.whl → 0.1.0a17__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.
@@ -18,19 +18,21 @@ from .evaluation_item import EvaluationItem as EvaluationItem
18
18
  from .evaluation_task import EvaluationTask as EvaluationTask
19
19
  from .inference_model import InferenceModel as InferenceModel
20
20
  from .file_list_params import FileListParams as FileListParams
21
- from .span_list_params import SpanListParams as SpanListParams
22
21
  from .model_list_params import ModelListParams as ModelListParams
23
22
  from .span_batch_params import SpanBatchParams as SpanBatchParams
24
23
  from .file_create_params import FileCreateParams as FileCreateParams
25
24
  from .file_update_params import FileUpdateParams as FileUpdateParams
26
25
  from .inference_response import InferenceResponse as InferenceResponse
27
26
  from .span_create_params import SpanCreateParams as SpanCreateParams
27
+ from .span_search_params import SpanSearchParams as SpanSearchParams
28
28
  from .span_update_params import SpanUpdateParams as SpanUpdateParams
29
29
  from .dataset_list_params import DatasetListParams as DatasetListParams
30
30
  from .model_create_params import ModelCreateParams as ModelCreateParams
31
31
  from .model_update_params import ModelUpdateParams as ModelUpdateParams
32
+ from .span_batch_response import SpanBatchResponse as SpanBatchResponse
32
33
  from .file_delete_response import FileDeleteResponse as FileDeleteResponse
33
34
  from .inference_model_list import InferenceModelList as InferenceModelList
35
+ from .span_search_response import SpanSearchResponse as SpanSearchResponse
34
36
  from .dataset_create_params import DatasetCreateParams as DatasetCreateParams
35
37
  from .dataset_update_params import DatasetUpdateParams as DatasetUpdateParams
36
38
  from .evaluation_task_param import EvaluationTaskParam as EvaluationTaskParam
@@ -45,12 +47,15 @@ from .dataset_item_list_params import DatasetItemListParams as DatasetItemListPa
45
47
  from .evaluation_create_params import EvaluationCreateParams as EvaluationCreateParams
46
48
  from .evaluation_update_params import EvaluationUpdateParams as EvaluationUpdateParams
47
49
  from .inference_response_chunk import InferenceResponseChunk as InferenceResponseChunk
50
+ from .span_upsert_batch_params import SpanUpsertBatchParams as SpanUpsertBatchParams
48
51
  from .inference_create_response import InferenceCreateResponse as InferenceCreateResponse
49
52
  from .dataset_item_update_params import DatasetItemUpdateParams as DatasetItemUpdateParams
50
53
  from .evaluation_delete_response import EvaluationDeleteResponse as EvaluationDeleteResponse
51
54
  from .evaluation_retrieve_params import EvaluationRetrieveParams as EvaluationRetrieveParams
55
+ from .span_upsert_batch_response import SpanUpsertBatchResponse as SpanUpsertBatchResponse
52
56
  from .evaluation_item_list_params import EvaluationItemListParams as EvaluationItemListParams
53
57
  from .dataset_item_delete_response import DatasetItemDeleteResponse as DatasetItemDeleteResponse
54
58
  from .dataset_item_retrieve_params import DatasetItemRetrieveParams as DatasetItemRetrieveParams
55
59
  from .evaluation_item_retrieve_params import EvaluationItemRetrieveParams as EvaluationItemRetrieveParams
56
60
  from .dataset_item_batch_create_params import DatasetItemBatchCreateParams as DatasetItemBatchCreateParams
61
+ from .dataset_item_batch_create_response import DatasetItemBatchCreateResponse as DatasetItemBatchCreateResponse
@@ -0,0 +1,15 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import List, Optional
4
+ from typing_extensions import Literal
5
+
6
+ from .._models import BaseModel
7
+ from .dataset_item import DatasetItem
8
+
9
+ __all__ = ["DatasetItemBatchCreateResponse"]
10
+
11
+
12
+ class DatasetItemBatchCreateResponse(BaseModel):
13
+ items: List[DatasetItem]
14
+
15
+ object: Optional[Literal["list"]] = None
@@ -36,6 +36,8 @@ __all__ = [
36
36
  "MetricEvaluationTaskConfigurationRougeScorerLConfigWithItemLocator",
37
37
  "AutoEvaluationQuestionTask",
38
38
  "AutoEvaluationQuestionTaskConfiguration",
39
+ "AutoEvaluationGuidedDecodingEvaluationTask",
40
+ "AutoEvaluationGuidedDecodingEvaluationTaskConfiguration",
39
41
  "ContributorEvaluationQuestionTask",
40
42
  "ContributorEvaluationQuestionTaskConfiguration",
41
43
  ]
@@ -323,6 +325,33 @@ class AutoEvaluationQuestionTask(BaseModel):
323
325
  task_type: Optional[Literal["auto_evaluation.question"]] = None
324
326
 
325
327
 
328
+ class AutoEvaluationGuidedDecodingEvaluationTaskConfiguration(BaseModel):
329
+ choices: List[str]
330
+ """Choices array cannot be empty"""
331
+
332
+ model: str
333
+ """model specified as `model_vendor/model_name`"""
334
+
335
+ prompt: str
336
+
337
+ inference_args: Optional[Dict[str, object]] = None
338
+ """Additional arguments to pass to the inference request"""
339
+
340
+ system_prompt: Optional[str] = None
341
+
342
+
343
+ class AutoEvaluationGuidedDecodingEvaluationTask(BaseModel):
344
+ configuration: AutoEvaluationGuidedDecodingEvaluationTaskConfiguration
345
+
346
+ alias: Optional[str] = None
347
+ """Alias to title the results column.
348
+
349
+ Defaults to the `auto_evaluation_guided_decoding`
350
+ """
351
+
352
+ task_type: Optional[Literal["auto_evaluation.guided_decoding"]] = None
353
+
354
+
326
355
  class ContributorEvaluationQuestionTaskConfiguration(BaseModel):
327
356
  layout: "Container"
328
357
 
@@ -351,6 +380,7 @@ EvaluationTask: TypeAlias = Annotated[
351
380
  ApplicationVariantV1EvaluationTask,
352
381
  MetricEvaluationTask,
353
382
  AutoEvaluationQuestionTask,
383
+ AutoEvaluationGuidedDecodingEvaluationTask,
354
384
  ContributorEvaluationQuestionTask,
355
385
  ],
356
386
  PropertyInfo(discriminator="task_type"),
@@ -380,6 +410,8 @@ if PYDANTIC_V2:
380
410
  MetricEvaluationTaskConfigurationRougeScorerLConfigWithItemLocator.model_rebuild()
381
411
  AutoEvaluationQuestionTask.model_rebuild()
382
412
  AutoEvaluationQuestionTaskConfiguration.model_rebuild()
413
+ AutoEvaluationGuidedDecodingEvaluationTask.model_rebuild()
414
+ AutoEvaluationGuidedDecodingEvaluationTaskConfiguration.model_rebuild()
383
415
  ContributorEvaluationQuestionTask.model_rebuild()
384
416
  ContributorEvaluationQuestionTaskConfiguration.model_rebuild()
385
417
  else:
@@ -404,5 +436,7 @@ else:
404
436
  MetricEvaluationTaskConfigurationRougeScorerLConfigWithItemLocator.update_forward_refs() # type: ignore
405
437
  AutoEvaluationQuestionTask.update_forward_refs() # type: ignore
406
438
  AutoEvaluationQuestionTaskConfiguration.update_forward_refs() # type: ignore
439
+ AutoEvaluationGuidedDecodingEvaluationTask.update_forward_refs() # type: ignore
440
+ AutoEvaluationGuidedDecodingEvaluationTaskConfiguration.update_forward_refs() # type: ignore
407
441
  ContributorEvaluationQuestionTask.update_forward_refs() # type: ignore
408
442
  ContributorEvaluationQuestionTaskConfiguration.update_forward_refs() # type: ignore
@@ -33,6 +33,8 @@ __all__ = [
33
33
  "MetricEvaluationTaskConfigurationRougeScorerLConfigWithItemLocator",
34
34
  "AutoEvaluationQuestionTask",
35
35
  "AutoEvaluationQuestionTaskConfiguration",
36
+ "AutoEvaluationGuidedDecodingEvaluationTask",
37
+ "AutoEvaluationGuidedDecodingEvaluationTaskConfiguration",
36
38
  "ContributorEvaluationQuestionTask",
37
39
  "ContributorEvaluationQuestionTaskConfiguration",
38
40
  ]
@@ -318,6 +320,33 @@ class AutoEvaluationQuestionTask(TypedDict, total=False):
318
320
  task_type: Literal["auto_evaluation.question"]
319
321
 
320
322
 
323
+ class AutoEvaluationGuidedDecodingEvaluationTaskConfiguration(TypedDict, total=False):
324
+ choices: Required[List[str]]
325
+ """Choices array cannot be empty"""
326
+
327
+ model: Required[str]
328
+ """model specified as `model_vendor/model_name`"""
329
+
330
+ prompt: Required[str]
331
+
332
+ inference_args: Dict[str, object]
333
+ """Additional arguments to pass to the inference request"""
334
+
335
+ system_prompt: str
336
+
337
+
338
+ class AutoEvaluationGuidedDecodingEvaluationTask(TypedDict, total=False):
339
+ configuration: Required[AutoEvaluationGuidedDecodingEvaluationTaskConfiguration]
340
+
341
+ alias: str
342
+ """Alias to title the results column.
343
+
344
+ Defaults to the `auto_evaluation_guided_decoding`
345
+ """
346
+
347
+ task_type: Literal["auto_evaluation.guided_decoding"]
348
+
349
+
321
350
  class ContributorEvaluationQuestionTaskConfiguration(TypedDict, total=False):
322
351
  layout: Required["ContainerParam"]
323
352
 
@@ -345,6 +374,7 @@ EvaluationTaskParam: TypeAlias = Union[
345
374
  ApplicationVariantV1EvaluationTask,
346
375
  MetricEvaluationTask,
347
376
  AutoEvaluationQuestionTask,
377
+ AutoEvaluationGuidedDecodingEvaluationTask,
348
378
  ContributorEvaluationQuestionTask,
349
379
  ]
350
380
 
@@ -32,6 +32,9 @@ class Span(BaseModel):
32
32
 
33
33
  end_timestamp: Optional[datetime] = None
34
34
 
35
+ group_id: Optional[str] = None
36
+ """Reference to a group_id"""
37
+
35
38
  input: Optional[Dict[str, object]] = None
36
39
 
37
40
  metadata: Optional[Dict[str, object]] = None
@@ -4,18 +4,18 @@ from __future__ import annotations
4
4
 
5
5
  from typing import Dict, Union, Iterable
6
6
  from datetime import datetime
7
- from typing_extensions import Literal, Required, Annotated, TypeAlias, TypedDict
7
+ from typing_extensions import Literal, Required, Annotated, TypedDict
8
8
 
9
9
  from .._utils import PropertyInfo
10
10
 
11
- __all__ = ["SpanBatchParams", "Item", "ItemBaseSpanCreateRequest", "ItemLegacyApplicationSpanCreateRequest"]
11
+ __all__ = ["SpanBatchParams", "Item"]
12
12
 
13
13
 
14
14
  class SpanBatchParams(TypedDict, total=False):
15
15
  items: Required[Iterable[Item]]
16
16
 
17
17
 
18
- class ItemBaseSpanCreateRequest(TypedDict, total=False):
18
+ class Item(TypedDict, total=False):
19
19
  name: Required[str]
20
20
 
21
21
  start_timestamp: Required[Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]]
@@ -26,66 +26,17 @@ class ItemBaseSpanCreateRequest(TypedDict, total=False):
26
26
  id: str
27
27
  """The id of the span"""
28
28
 
29
- end_timestamp: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]
30
-
31
- input: Dict[str, object]
32
-
33
- metadata: Dict[str, object]
34
-
35
- output: Dict[str, object]
36
-
37
- parent_id: str
38
- """Reference to a parent span_id"""
39
-
40
- status: Literal["SUCCESS", "ERROR"]
41
-
42
- type: Literal[
43
- "TEXT_INPUT",
44
- "TEXT_OUTPUT",
45
- "COMPLETION_INPUT",
46
- "COMPLETION",
47
- "KB_RETRIEVAL",
48
- "KB_INPUT",
49
- "RERANKING",
50
- "EXTERNAL_ENDPOINT",
51
- "PROMPT_ENGINEERING",
52
- "DOCUMENT_INPUT",
53
- "MAP_REDUCE",
54
- "DOCUMENT_SEARCH",
55
- "DOCUMENT_PROMPT",
56
- "CUSTOM",
57
- "INPUT_GUARDRAIL",
58
- "OUTPUT_GUARDRAIL",
59
- "CODE_EXECUTION",
60
- "DATA_MANIPULATION",
61
- "EVALUATION",
62
- "FILE_RETRIEVAL",
63
- "KB_ADD_CHUNK",
64
- "KB_MANAGEMENT",
65
- "TRACER",
66
- "AGENT_TRACER",
67
- "AGENT_WORKFLOW",
68
- "STANDALONE",
69
- ]
70
-
29
+ application_interaction_id: str
30
+ """The optional application interaction ID this span belongs to"""
71
31
 
72
- class ItemLegacyApplicationSpanCreateRequest(TypedDict, total=False):
73
- application_interaction_id: Required[str]
74
-
75
- application_variant_id: Required[str]
76
-
77
- name: Required[str]
78
-
79
- start_timestamp: Required[Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]]
80
-
81
- trace_id: Required[str]
82
- """id for grouping traces together, uuid is recommended"""
83
-
84
- id: str
85
- """The id of the span"""
32
+ application_variant_id: str
33
+ """The optional application variant ID this span belongs to"""
86
34
 
87
35
  end_timestamp: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]
88
36
 
37
+ group_id: str
38
+ """Reference to a group_id"""
39
+
89
40
  input: Dict[str, object]
90
41
 
91
42
  metadata: Dict[str, object]
@@ -125,6 +76,3 @@ class ItemLegacyApplicationSpanCreateRequest(TypedDict, total=False):
125
76
  "AGENT_WORKFLOW",
126
77
  "STANDALONE",
127
78
  ]
128
-
129
-
130
- Item: TypeAlias = Union[ItemBaseSpanCreateRequest, ItemLegacyApplicationSpanCreateRequest]
@@ -0,0 +1,15 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import List, Optional
4
+ from typing_extensions import Literal
5
+
6
+ from .span import Span
7
+ from .._models import BaseModel
8
+
9
+ __all__ = ["SpanBatchResponse"]
10
+
11
+
12
+ class SpanBatchResponse(BaseModel):
13
+ items: List[Span]
14
+
15
+ object: Optional[Literal["list"]] = None
@@ -4,14 +4,14 @@ from __future__ import annotations
4
4
 
5
5
  from typing import Dict, Union
6
6
  from datetime import datetime
7
- from typing_extensions import Literal, Required, Annotated, TypeAlias, TypedDict
7
+ from typing_extensions import Literal, Required, Annotated, TypedDict
8
8
 
9
9
  from .._utils import PropertyInfo
10
10
 
11
- __all__ = ["SpanCreateParams", "BaseSpanCreateRequest", "LegacyApplicationSpanCreateRequest"]
11
+ __all__ = ["SpanCreateParams"]
12
12
 
13
13
 
14
- class BaseSpanCreateRequest(TypedDict, total=False):
14
+ class SpanCreateParams(TypedDict, total=False):
15
15
  name: Required[str]
16
16
 
17
17
  start_timestamp: Required[Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]]
@@ -22,66 +22,17 @@ class BaseSpanCreateRequest(TypedDict, total=False):
22
22
  id: str
23
23
  """The id of the span"""
24
24
 
25
- end_timestamp: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]
26
-
27
- input: Dict[str, object]
28
-
29
- metadata: Dict[str, object]
30
-
31
- output: Dict[str, object]
32
-
33
- parent_id: str
34
- """Reference to a parent span_id"""
35
-
36
- status: Literal["SUCCESS", "ERROR"]
37
-
38
- type: Literal[
39
- "TEXT_INPUT",
40
- "TEXT_OUTPUT",
41
- "COMPLETION_INPUT",
42
- "COMPLETION",
43
- "KB_RETRIEVAL",
44
- "KB_INPUT",
45
- "RERANKING",
46
- "EXTERNAL_ENDPOINT",
47
- "PROMPT_ENGINEERING",
48
- "DOCUMENT_INPUT",
49
- "MAP_REDUCE",
50
- "DOCUMENT_SEARCH",
51
- "DOCUMENT_PROMPT",
52
- "CUSTOM",
53
- "INPUT_GUARDRAIL",
54
- "OUTPUT_GUARDRAIL",
55
- "CODE_EXECUTION",
56
- "DATA_MANIPULATION",
57
- "EVALUATION",
58
- "FILE_RETRIEVAL",
59
- "KB_ADD_CHUNK",
60
- "KB_MANAGEMENT",
61
- "TRACER",
62
- "AGENT_TRACER",
63
- "AGENT_WORKFLOW",
64
- "STANDALONE",
65
- ]
66
-
25
+ application_interaction_id: str
26
+ """The optional application interaction ID this span belongs to"""
67
27
 
68
- class LegacyApplicationSpanCreateRequest(TypedDict, total=False):
69
- application_interaction_id: Required[str]
70
-
71
- application_variant_id: Required[str]
72
-
73
- name: Required[str]
74
-
75
- start_timestamp: Required[Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]]
76
-
77
- trace_id: Required[str]
78
- """id for grouping traces together, uuid is recommended"""
79
-
80
- id: str
81
- """The id of the span"""
28
+ application_variant_id: str
29
+ """The optional application variant ID this span belongs to"""
82
30
 
83
31
  end_timestamp: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]
84
32
 
33
+ group_id: str
34
+ """Reference to a group_id"""
35
+
85
36
  input: Dict[str, object]
86
37
 
87
38
  metadata: Dict[str, object]
@@ -121,6 +72,3 @@ class LegacyApplicationSpanCreateRequest(TypedDict, total=False):
121
72
  "AGENT_WORKFLOW",
122
73
  "STANDALONE",
123
74
  ]
124
-
125
-
126
- SpanCreateParams: TypeAlias = Union[BaseSpanCreateRequest, LegacyApplicationSpanCreateRequest]
@@ -0,0 +1,77 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import Dict, Union
6
+ from datetime import datetime
7
+ from typing_extensions import Literal, Annotated, TypedDict
8
+
9
+ from .._utils import PropertyInfo
10
+
11
+ __all__ = ["SpanSearchParams"]
12
+
13
+
14
+ class SpanSearchParams(TypedDict, total=False):
15
+ ending_before: str
16
+
17
+ from_ts: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]
18
+ """The starting (oldest) timestamp in ISO format."""
19
+
20
+ limit: int
21
+
22
+ sort_order: Literal["asc", "desc"]
23
+
24
+ starting_after: str
25
+
26
+ to_ts: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]
27
+ """The ending (most recent) timestamp in ISO format."""
28
+
29
+ extra_metadata: Dict[str, object]
30
+ """Filter on custom metadata key-value pairs"""
31
+
32
+ group_id: str
33
+ """Filter by group ID"""
34
+
35
+ name: str
36
+ """Filter by trace/span name"""
37
+
38
+ parents_only: bool
39
+ """Only fetch spans that are the top-level (ie. have no parent_id)"""
40
+
41
+ span_id: str
42
+ """Filter by span ID"""
43
+
44
+ status: Literal["SUCCESS", "ERROR"]
45
+ """Filter on span status"""
46
+
47
+ trace_id: str
48
+ """Which trace_id to filter on"""
49
+
50
+ type: Literal[
51
+ "TEXT_INPUT",
52
+ "TEXT_OUTPUT",
53
+ "COMPLETION_INPUT",
54
+ "COMPLETION",
55
+ "KB_RETRIEVAL",
56
+ "KB_INPUT",
57
+ "RERANKING",
58
+ "EXTERNAL_ENDPOINT",
59
+ "PROMPT_ENGINEERING",
60
+ "DOCUMENT_INPUT",
61
+ "MAP_REDUCE",
62
+ "DOCUMENT_SEARCH",
63
+ "DOCUMENT_PROMPT",
64
+ "CUSTOM",
65
+ "INPUT_GUARDRAIL",
66
+ "OUTPUT_GUARDRAIL",
67
+ "CODE_EXECUTION",
68
+ "DATA_MANIPULATION",
69
+ "EVALUATION",
70
+ "FILE_RETRIEVAL",
71
+ "KB_ADD_CHUNK",
72
+ "KB_MANAGEMENT",
73
+ "TRACER",
74
+ "AGENT_TRACER",
75
+ "AGENT_WORKFLOW",
76
+ "STANDALONE",
77
+ ]
@@ -0,0 +1,27 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import List, Optional
4
+ from typing_extensions import Literal
5
+
6
+ from .span import Span
7
+ from .._models import BaseModel
8
+
9
+ __all__ = ["SpanSearchResponse"]
10
+
11
+
12
+ class SpanSearchResponse(BaseModel):
13
+ has_more: bool
14
+ """Whether there are more items left to be fetched."""
15
+
16
+ items: List[Span]
17
+
18
+ total: int
19
+ """The total of items that match the query.
20
+
21
+ This is greater than or equal to the number of items returned.
22
+ """
23
+
24
+ limit: Optional[int] = None
25
+ """The maximum number of items to return."""
26
+
27
+ object: Optional[Literal["list"]] = None
@@ -0,0 +1,78 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import Dict, Union, Iterable
6
+ from datetime import datetime
7
+ from typing_extensions import Literal, Required, Annotated, TypedDict
8
+
9
+ from .._utils import PropertyInfo
10
+
11
+ __all__ = ["SpanUpsertBatchParams", "Item"]
12
+
13
+
14
+ class SpanUpsertBatchParams(TypedDict, total=False):
15
+ items: Required[Iterable[Item]]
16
+
17
+
18
+ class Item(TypedDict, total=False):
19
+ name: Required[str]
20
+
21
+ start_timestamp: Required[Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]]
22
+
23
+ trace_id: Required[str]
24
+ """id for grouping traces together, uuid is recommended"""
25
+
26
+ id: str
27
+ """The id of the span"""
28
+
29
+ application_interaction_id: str
30
+ """The optional application interaction ID this span belongs to"""
31
+
32
+ application_variant_id: str
33
+ """The optional application variant ID this span belongs to"""
34
+
35
+ end_timestamp: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]
36
+
37
+ group_id: str
38
+ """Reference to a group_id"""
39
+
40
+ input: Dict[str, object]
41
+
42
+ metadata: Dict[str, object]
43
+
44
+ output: Dict[str, object]
45
+
46
+ parent_id: str
47
+ """Reference to a parent span_id"""
48
+
49
+ status: Literal["SUCCESS", "ERROR"]
50
+
51
+ type: Literal[
52
+ "TEXT_INPUT",
53
+ "TEXT_OUTPUT",
54
+ "COMPLETION_INPUT",
55
+ "COMPLETION",
56
+ "KB_RETRIEVAL",
57
+ "KB_INPUT",
58
+ "RERANKING",
59
+ "EXTERNAL_ENDPOINT",
60
+ "PROMPT_ENGINEERING",
61
+ "DOCUMENT_INPUT",
62
+ "MAP_REDUCE",
63
+ "DOCUMENT_SEARCH",
64
+ "DOCUMENT_PROMPT",
65
+ "CUSTOM",
66
+ "INPUT_GUARDRAIL",
67
+ "OUTPUT_GUARDRAIL",
68
+ "CODE_EXECUTION",
69
+ "DATA_MANIPULATION",
70
+ "EVALUATION",
71
+ "FILE_RETRIEVAL",
72
+ "KB_ADD_CHUNK",
73
+ "KB_MANAGEMENT",
74
+ "TRACER",
75
+ "AGENT_TRACER",
76
+ "AGENT_WORKFLOW",
77
+ "STANDALONE",
78
+ ]
@@ -0,0 +1,15 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from typing import List, Optional
4
+ from typing_extensions import Literal
5
+
6
+ from .span import Span
7
+ from .._models import BaseModel
8
+
9
+ __all__ = ["SpanUpsertBatchResponse"]
10
+
11
+
12
+ class SpanUpsertBatchResponse(BaseModel):
13
+ items: List[Span]
14
+
15
+ object: Optional[Literal["list"]] = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: scale-gp-beta
3
- Version: 0.1.0a15
3
+ Version: 0.1.0a17
4
4
  Summary: The official Python library for the Scale GP API
5
5
  Project-URL: Homepage, https://github.com/scaleapi/sgp-python-beta
6
6
  Project-URL: Repository, https://github.com/scaleapi/sgp-python-beta
@@ -242,10 +242,7 @@ client = SGPClient(
242
242
 
243
243
  inference = client.inference.create(
244
244
  model="model",
245
- inference_configuration={
246
- "num_retries": 0,
247
- "timeout_seconds": 0,
248
- },
245
+ inference_configuration={},
249
246
  )
250
247
  print(inference.inference_configuration)
251
248
  ```