scale-gp-beta 0.1.0a23__py3-none-any.whl → 0.1.0a25__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.
- scale_gp_beta/__init__.py +2 -1
- scale_gp_beta/_base_client.py +22 -0
- scale_gp_beta/_client.py +19 -1
- scale_gp_beta/_version.py +1 -1
- scale_gp_beta/lib/tracing/span.py +84 -53
- scale_gp_beta/lib/tracing/trace_queue_manager.py +7 -3
- scale_gp_beta/lib/tracing/tracing.py +9 -3
- scale_gp_beta/lib/tracing/types.py +1 -3
- scale_gp_beta/resources/__init__.py +14 -0
- scale_gp_beta/resources/chat/completions.py +4 -2
- scale_gp_beta/resources/models.py +2 -0
- scale_gp_beta/resources/questions.py +693 -0
- scale_gp_beta/resources/spans.py +124 -92
- scale_gp_beta/types/__init__.py +4 -1
- scale_gp_beta/types/chat/chat_completion.py +1 -1
- scale_gp_beta/types/chat/chat_completion_chunk.py +1 -1
- scale_gp_beta/types/chat/completion_models_params.py +1 -0
- scale_gp_beta/types/chat/model_definition.py +1 -0
- scale_gp_beta/types/inference_model.py +1 -0
- scale_gp_beta/types/model_list_params.py +1 -0
- scale_gp_beta/types/question.py +175 -0
- scale_gp_beta/types/question_create_params.py +121 -0
- scale_gp_beta/types/{span_search_response.py → question_list.py} +4 -4
- scale_gp_beta/types/question_list_params.py +17 -0
- scale_gp_beta/types/span.py +1 -3
- scale_gp_beta/types/span_batch_params.py +1 -3
- scale_gp_beta/types/span_create_params.py +1 -3
- scale_gp_beta/types/span_search_params.py +45 -33
- scale_gp_beta/types/span_update_params.py +1 -1
- scale_gp_beta/types/span_upsert_batch_params.py +1 -3
- {scale_gp_beta-0.1.0a23.dist-info → scale_gp_beta-0.1.0a25.dist-info}/METADATA +41 -1
- {scale_gp_beta-0.1.0a23.dist-info → scale_gp_beta-0.1.0a25.dist-info}/RECORD +34 -30
- {scale_gp_beta-0.1.0a23.dist-info → scale_gp_beta-0.1.0a25.dist-info}/WHEEL +0 -0
- {scale_gp_beta-0.1.0a23.dist-info → scale_gp_beta-0.1.0a25.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,121 @@
|
|
|
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, List, Union
|
|
6
|
+
from typing_extensions import Literal, Required, TypeAlias, TypedDict
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"QuestionCreateParams",
|
|
10
|
+
"CategoricalQuestionRequest",
|
|
11
|
+
"CategoricalQuestionRequestConfiguration",
|
|
12
|
+
"RatingQuestionRequest",
|
|
13
|
+
"RatingQuestionRequestConfiguration",
|
|
14
|
+
"NumberQuestionRequest",
|
|
15
|
+
"NumberQuestionRequestConfiguration",
|
|
16
|
+
"FreeTextQuestionRequest",
|
|
17
|
+
"FreeTextQuestionRequestConfiguration",
|
|
18
|
+
"FormQuestionRequest",
|
|
19
|
+
"FormQuestionRequestConfiguration",
|
|
20
|
+
]
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class CategoricalQuestionRequest(TypedDict, total=False):
|
|
24
|
+
configuration: Required[CategoricalQuestionRequestConfiguration]
|
|
25
|
+
|
|
26
|
+
name: Required[str]
|
|
27
|
+
|
|
28
|
+
prompt: Required[str]
|
|
29
|
+
"""user-facing question prompt"""
|
|
30
|
+
|
|
31
|
+
question_type: Literal["categorical"]
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
class CategoricalQuestionRequestConfiguration(TypedDict, total=False):
|
|
35
|
+
choices: Required[List[str]]
|
|
36
|
+
"""Categorical answer choices (must contain at least one entry)"""
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
class RatingQuestionRequest(TypedDict, total=False):
|
|
40
|
+
configuration: Required[RatingQuestionRequestConfiguration]
|
|
41
|
+
|
|
42
|
+
name: Required[str]
|
|
43
|
+
|
|
44
|
+
prompt: Required[str]
|
|
45
|
+
"""user-facing question prompt"""
|
|
46
|
+
|
|
47
|
+
question_type: Literal["rating"]
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
class RatingQuestionRequestConfiguration(TypedDict, total=False):
|
|
51
|
+
max_label: Required[str]
|
|
52
|
+
"""Label shown for the maximum rating"""
|
|
53
|
+
|
|
54
|
+
min_label: Required[str]
|
|
55
|
+
"""Label shown for the minimum rating"""
|
|
56
|
+
|
|
57
|
+
steps: Required[int]
|
|
58
|
+
"""Number of discrete points on the scale (e.g., 5 for a 1–5 scale)"""
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
class NumberQuestionRequest(TypedDict, total=False):
|
|
62
|
+
name: Required[str]
|
|
63
|
+
|
|
64
|
+
prompt: Required[str]
|
|
65
|
+
"""user-facing question prompt"""
|
|
66
|
+
|
|
67
|
+
configuration: NumberQuestionRequestConfiguration
|
|
68
|
+
|
|
69
|
+
question_type: Literal["number"]
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
class NumberQuestionRequestConfiguration(TypedDict, total=False):
|
|
73
|
+
max: float
|
|
74
|
+
"""Maximum value for the number"""
|
|
75
|
+
|
|
76
|
+
min: float
|
|
77
|
+
"""Minimum value for the number"""
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
class FreeTextQuestionRequest(TypedDict, total=False):
|
|
81
|
+
name: Required[str]
|
|
82
|
+
|
|
83
|
+
prompt: Required[str]
|
|
84
|
+
"""user-facing question prompt"""
|
|
85
|
+
|
|
86
|
+
configuration: FreeTextQuestionRequestConfiguration
|
|
87
|
+
|
|
88
|
+
question_type: Literal["free_text"]
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
class FreeTextQuestionRequestConfiguration(TypedDict, total=False):
|
|
92
|
+
max_length: int
|
|
93
|
+
"""Maximum characters allowed"""
|
|
94
|
+
|
|
95
|
+
min_length: int
|
|
96
|
+
"""Minimum characters required"""
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
class FormQuestionRequest(TypedDict, total=False):
|
|
100
|
+
configuration: Required[FormQuestionRequestConfiguration]
|
|
101
|
+
|
|
102
|
+
name: Required[str]
|
|
103
|
+
|
|
104
|
+
prompt: Required[str]
|
|
105
|
+
"""user-facing question prompt"""
|
|
106
|
+
|
|
107
|
+
question_type: Literal["form"]
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
class FormQuestionRequestConfiguration(TypedDict, total=False):
|
|
111
|
+
form_schema: Required[Dict[str, object]]
|
|
112
|
+
"""The JSON schema of the desired form object"""
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
QuestionCreateParams: TypeAlias = Union[
|
|
116
|
+
CategoricalQuestionRequest,
|
|
117
|
+
RatingQuestionRequest,
|
|
118
|
+
NumberQuestionRequest,
|
|
119
|
+
FreeTextQuestionRequest,
|
|
120
|
+
FormQuestionRequest,
|
|
121
|
+
]
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
from typing import List, Optional
|
|
4
4
|
from typing_extensions import Literal
|
|
5
5
|
|
|
6
|
-
from .span import Span
|
|
7
6
|
from .._models import BaseModel
|
|
7
|
+
from .question import Question
|
|
8
8
|
|
|
9
|
-
__all__ = ["
|
|
9
|
+
__all__ = ["QuestionList"]
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
class
|
|
12
|
+
class QuestionList(BaseModel):
|
|
13
13
|
has_more: bool
|
|
14
14
|
"""Whether there are more items left to be fetched."""
|
|
15
15
|
|
|
16
|
-
items: List[
|
|
16
|
+
items: List[Question]
|
|
17
17
|
|
|
18
18
|
total: int
|
|
19
19
|
"""The total of items that match the query.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing_extensions import Literal, TypedDict
|
|
6
|
+
|
|
7
|
+
__all__ = ["QuestionListParams"]
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class QuestionListParams(TypedDict, total=False):
|
|
11
|
+
ending_before: str
|
|
12
|
+
|
|
13
|
+
limit: int
|
|
14
|
+
|
|
15
|
+
sort_order: Literal["asc", "desc"]
|
|
16
|
+
|
|
17
|
+
starting_after: str
|
scale_gp_beta/types/span.py
CHANGED
|
@@ -46,7 +46,7 @@ class Span(BaseModel):
|
|
|
46
46
|
parent_id: Optional[str] = None
|
|
47
47
|
"""Reference to a parent span_id"""
|
|
48
48
|
|
|
49
|
-
status: Optional[Literal["SUCCESS", "ERROR"]] = None
|
|
49
|
+
status: Optional[Literal["SUCCESS", "ERROR", "CANCELED"]] = None
|
|
50
50
|
|
|
51
51
|
type: Optional[
|
|
52
52
|
Literal[
|
|
@@ -64,8 +64,6 @@ class Span(BaseModel):
|
|
|
64
64
|
"DOCUMENT_SEARCH",
|
|
65
65
|
"DOCUMENT_PROMPT",
|
|
66
66
|
"CUSTOM",
|
|
67
|
-
"INPUT_GUARDRAIL",
|
|
68
|
-
"OUTPUT_GUARDRAIL",
|
|
69
67
|
"CODE_EXECUTION",
|
|
70
68
|
"DATA_MANIPULATION",
|
|
71
69
|
"EVALUATION",
|
|
@@ -46,7 +46,7 @@ class Item(TypedDict, total=False):
|
|
|
46
46
|
parent_id: str
|
|
47
47
|
"""Reference to a parent span_id"""
|
|
48
48
|
|
|
49
|
-
status: Literal["SUCCESS", "ERROR"]
|
|
49
|
+
status: Literal["SUCCESS", "ERROR", "CANCELED"]
|
|
50
50
|
|
|
51
51
|
type: Literal[
|
|
52
52
|
"TEXT_INPUT",
|
|
@@ -63,8 +63,6 @@ class Item(TypedDict, total=False):
|
|
|
63
63
|
"DOCUMENT_SEARCH",
|
|
64
64
|
"DOCUMENT_PROMPT",
|
|
65
65
|
"CUSTOM",
|
|
66
|
-
"INPUT_GUARDRAIL",
|
|
67
|
-
"OUTPUT_GUARDRAIL",
|
|
68
66
|
"CODE_EXECUTION",
|
|
69
67
|
"DATA_MANIPULATION",
|
|
70
68
|
"EVALUATION",
|
|
@@ -42,7 +42,7 @@ class SpanCreateParams(TypedDict, total=False):
|
|
|
42
42
|
parent_id: str
|
|
43
43
|
"""Reference to a parent span_id"""
|
|
44
44
|
|
|
45
|
-
status: Literal["SUCCESS", "ERROR"]
|
|
45
|
+
status: Literal["SUCCESS", "ERROR", "CANCELED"]
|
|
46
46
|
|
|
47
47
|
type: Literal[
|
|
48
48
|
"TEXT_INPUT",
|
|
@@ -59,8 +59,6 @@ class SpanCreateParams(TypedDict, total=False):
|
|
|
59
59
|
"DOCUMENT_SEARCH",
|
|
60
60
|
"DOCUMENT_PROMPT",
|
|
61
61
|
"CUSTOM",
|
|
62
|
-
"INPUT_GUARDRAIL",
|
|
63
|
-
"OUTPUT_GUARDRAIL",
|
|
64
62
|
"CODE_EXECUTION",
|
|
65
63
|
"DATA_MANIPULATION",
|
|
66
64
|
"EVALUATION",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
|
-
from typing import Dict, Union
|
|
5
|
+
from typing import Dict, List, Union
|
|
6
6
|
from datetime import datetime
|
|
7
7
|
from typing_extensions import Literal, Annotated, TypedDict
|
|
8
8
|
|
|
@@ -26,52 +26,64 @@ class SpanSearchParams(TypedDict, total=False):
|
|
|
26
26
|
to_ts: Annotated[Union[str, datetime], PropertyInfo(format="iso8601")]
|
|
27
27
|
"""The ending (most recent) timestamp in ISO format."""
|
|
28
28
|
|
|
29
|
+
excluded_span_ids: List[str]
|
|
30
|
+
"""List of span IDs to exclude from results"""
|
|
31
|
+
|
|
32
|
+
excluded_trace_ids: List[str]
|
|
33
|
+
"""List of trace IDs to exclude from results"""
|
|
34
|
+
|
|
29
35
|
extra_metadata: Dict[str, object]
|
|
30
36
|
"""Filter on custom metadata key-value pairs"""
|
|
31
37
|
|
|
32
38
|
group_id: str
|
|
33
39
|
"""Filter by group ID"""
|
|
34
40
|
|
|
35
|
-
|
|
41
|
+
names: List[str]
|
|
36
42
|
"""Filter by trace/span name"""
|
|
37
43
|
|
|
38
44
|
parents_only: bool
|
|
39
45
|
"""Only fetch spans that are the top-level (ie. have no parent_id)"""
|
|
40
46
|
|
|
41
47
|
span_id: str
|
|
42
|
-
"""Filter by span ID"""
|
|
48
|
+
"""Filter by span ID (deprecated: use span_ids instead)"""
|
|
49
|
+
|
|
50
|
+
span_ids: List[str]
|
|
51
|
+
"""Filter by span IDs"""
|
|
43
52
|
|
|
44
|
-
|
|
53
|
+
statuses: List[Literal["SUCCESS", "ERROR", "CANCELED"]]
|
|
45
54
|
"""Filter on span status"""
|
|
46
55
|
|
|
47
56
|
trace_id: str
|
|
48
|
-
"""
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
57
|
+
"""Filter by trace ID (deprecated: use trace_ids instead)"""
|
|
58
|
+
|
|
59
|
+
trace_ids: List[str]
|
|
60
|
+
"""Filter by trace IDs"""
|
|
61
|
+
|
|
62
|
+
types: List[
|
|
63
|
+
Literal[
|
|
64
|
+
"TEXT_INPUT",
|
|
65
|
+
"TEXT_OUTPUT",
|
|
66
|
+
"COMPLETION_INPUT",
|
|
67
|
+
"COMPLETION",
|
|
68
|
+
"KB_RETRIEVAL",
|
|
69
|
+
"KB_INPUT",
|
|
70
|
+
"RERANKING",
|
|
71
|
+
"EXTERNAL_ENDPOINT",
|
|
72
|
+
"PROMPT_ENGINEERING",
|
|
73
|
+
"DOCUMENT_INPUT",
|
|
74
|
+
"MAP_REDUCE",
|
|
75
|
+
"DOCUMENT_SEARCH",
|
|
76
|
+
"DOCUMENT_PROMPT",
|
|
77
|
+
"CUSTOM",
|
|
78
|
+
"CODE_EXECUTION",
|
|
79
|
+
"DATA_MANIPULATION",
|
|
80
|
+
"EVALUATION",
|
|
81
|
+
"FILE_RETRIEVAL",
|
|
82
|
+
"KB_ADD_CHUNK",
|
|
83
|
+
"KB_MANAGEMENT",
|
|
84
|
+
"TRACER",
|
|
85
|
+
"AGENT_TRACER",
|
|
86
|
+
"AGENT_WORKFLOW",
|
|
87
|
+
"STANDALONE",
|
|
88
|
+
]
|
|
77
89
|
]
|
|
@@ -46,7 +46,7 @@ class Item(TypedDict, total=False):
|
|
|
46
46
|
parent_id: str
|
|
47
47
|
"""Reference to a parent span_id"""
|
|
48
48
|
|
|
49
|
-
status: Literal["SUCCESS", "ERROR"]
|
|
49
|
+
status: Literal["SUCCESS", "ERROR", "CANCELED"]
|
|
50
50
|
|
|
51
51
|
type: Literal[
|
|
52
52
|
"TEXT_INPUT",
|
|
@@ -63,8 +63,6 @@ class Item(TypedDict, total=False):
|
|
|
63
63
|
"DOCUMENT_SEARCH",
|
|
64
64
|
"DOCUMENT_PROMPT",
|
|
65
65
|
"CUSTOM",
|
|
66
|
-
"INPUT_GUARDRAIL",
|
|
67
|
-
"OUTPUT_GUARDRAIL",
|
|
68
66
|
"CODE_EXECUTION",
|
|
69
67
|
"DATA_MANIPULATION",
|
|
70
68
|
"EVALUATION",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: scale-gp-beta
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.0a25
|
|
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
|
|
@@ -18,6 +18,7 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.10
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.11
|
|
20
20
|
Classifier: Programming Language :: Python :: 3.12
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
21
22
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
22
23
|
Classifier: Typing :: Typed
|
|
23
24
|
Requires-Python: >=3.8
|
|
@@ -27,6 +28,9 @@ Requires-Dist: httpx<1,>=0.23.0
|
|
|
27
28
|
Requires-Dist: pydantic<3,>=1.9.0
|
|
28
29
|
Requires-Dist: sniffio
|
|
29
30
|
Requires-Dist: typing-extensions<5,>=4.10
|
|
31
|
+
Provides-Extra: aiohttp
|
|
32
|
+
Requires-Dist: aiohttp; extra == 'aiohttp'
|
|
33
|
+
Requires-Dist: httpx-aiohttp>=0.1.6; extra == 'aiohttp'
|
|
30
34
|
Description-Content-Type: text/markdown
|
|
31
35
|
|
|
32
36
|
# Scale GP Python API library
|
|
@@ -345,6 +349,42 @@ asyncio.run(main())
|
|
|
345
349
|
|
|
346
350
|
Functionality between the synchronous and asynchronous clients is otherwise identical.
|
|
347
351
|
|
|
352
|
+
### With aiohttp
|
|
353
|
+
|
|
354
|
+
By default, the async client uses `httpx` for HTTP requests. However, for improved concurrency performance you may also use `aiohttp` as the HTTP backend.
|
|
355
|
+
|
|
356
|
+
You can enable this by installing `aiohttp`:
|
|
357
|
+
|
|
358
|
+
```sh
|
|
359
|
+
# install from PyPI
|
|
360
|
+
pip install --pre scale-gp-beta[aiohttp]
|
|
361
|
+
```
|
|
362
|
+
|
|
363
|
+
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
|
|
364
|
+
|
|
365
|
+
```python
|
|
366
|
+
import os
|
|
367
|
+
import asyncio
|
|
368
|
+
from scale_gp_beta import DefaultAioHttpClient
|
|
369
|
+
from scale_gp_beta import AsyncSGPClient
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
async def main() -> None:
|
|
373
|
+
async with AsyncSGPClient(
|
|
374
|
+
account_id="My Account ID",
|
|
375
|
+
api_key=os.environ.get("SGP_API_KEY"), # This is the default and can be omitted
|
|
376
|
+
http_client=DefaultAioHttpClient(),
|
|
377
|
+
) as client:
|
|
378
|
+
completion = await client.chat.completions.create(
|
|
379
|
+
messages=[{"foo": "bar"}],
|
|
380
|
+
model="model",
|
|
381
|
+
top_k=2,
|
|
382
|
+
)
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
asyncio.run(main())
|
|
386
|
+
```
|
|
387
|
+
|
|
348
388
|
## Streaming responses
|
|
349
389
|
|
|
350
390
|
We provide support for streaming responses using Server Side Events (SSE).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
scale_gp_beta/__init__.py,sha256=
|
|
2
|
-
scale_gp_beta/_base_client.py,sha256=
|
|
3
|
-
scale_gp_beta/_client.py,sha256=
|
|
1
|
+
scale_gp_beta/__init__.py,sha256=1-OM7-VWB-h9n8WOf7lPVuG6JUHDYRc0v1w-G8tU6gU,2696
|
|
2
|
+
scale_gp_beta/_base_client.py,sha256=b_qByv38VsIQP1cn5wHjEd03_OqbZy6iJkug8dgHxSw,66722
|
|
3
|
+
scale_gp_beta/_client.py,sha256=CM_cxTWhBvacePZN5fkUhirCT-DuiAkq1t3hJZ6BQ9M,25123
|
|
4
4
|
scale_gp_beta/_compat.py,sha256=VWemUKbj6DDkQ-O4baSpHVLJafotzeXmCQGJugfVTIw,6580
|
|
5
5
|
scale_gp_beta/_constants.py,sha256=S14PFzyN9-I31wiV7SmIlL5Ga0MLHxdvegInGdXH7tM,462
|
|
6
6
|
scale_gp_beta/_exceptions.py,sha256=95GM5CLFtP-QMjjmzsr5ajjZOyEZvyaETfGmqNPR8YM,3226
|
|
@@ -11,7 +11,7 @@ scale_gp_beta/_resource.py,sha256=siZly_U6D0AOVLAzaOsqUdEFFzVMbWRj-ml30nvRp7E,11
|
|
|
11
11
|
scale_gp_beta/_response.py,sha256=GemuybPk0uemovTlGHyHkj-ScYTTDJA0jqH5FQqIPwQ,28852
|
|
12
12
|
scale_gp_beta/_streaming.py,sha256=fcCSGXslmi2SmmkM05g2SACXHk2Mj7k1X5uMBu6U5s8,10112
|
|
13
13
|
scale_gp_beta/_types.py,sha256=0wSs40TefKMPBj2wQKenEeZ0lzedoHClNJeqrpAgkII,6204
|
|
14
|
-
scale_gp_beta/_version.py,sha256=
|
|
14
|
+
scale_gp_beta/_version.py,sha256=TPaEzWPjCEZtxL1ryqTzn5k6iNq2pi-gepCDzD__uqA,174
|
|
15
15
|
scale_gp_beta/pagination.py,sha256=t-U86PYxl20VRsz8VXOMJJDe7HxkX7ISFMvRNbBNy9s,4054
|
|
16
16
|
scale_gp_beta/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
17
|
scale_gp_beta/_utils/__init__.py,sha256=PNZ_QJuzZEgyYXqkO1HVhGkj5IU9bglVUcw7H-Knjzw,2062
|
|
@@ -28,29 +28,30 @@ scale_gp_beta/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
|
|
|
28
28
|
scale_gp_beta/lib/tracing/__init__.py,sha256=UgyExbqAA2ljDEF4X4YFhtbBZuoQJ2IF4hkGs_xQEc0,226
|
|
29
29
|
scale_gp_beta/lib/tracing/exceptions.py,sha256=vL2_GAfWEy8EfLhrBkDClLYTasOLnL-5zUpdCQnSzcs,107
|
|
30
30
|
scale_gp_beta/lib/tracing/scope.py,sha256=kHrd0his8L2K_KXn2E6J9d565PliEdFoKRQ1d5ALTyk,3901
|
|
31
|
-
scale_gp_beta/lib/tracing/span.py,sha256=
|
|
31
|
+
scale_gp_beta/lib/tracing/span.py,sha256=jmi1IYkPSAw_26bid7fCpiAWmyjW8XjaoonX70ydXPc,12448
|
|
32
32
|
scale_gp_beta/lib/tracing/trace.py,sha256=sdLUnvByLaMbV2TgI-MdKKs7If1-6GKz5j9A6scnDoI,6205
|
|
33
33
|
scale_gp_beta/lib/tracing/trace_exporter.py,sha256=bE6hS-Qu9KknEUTdsfIQMQwauah125mEavTDqEenBRA,3779
|
|
34
|
-
scale_gp_beta/lib/tracing/trace_queue_manager.py,sha256=
|
|
35
|
-
scale_gp_beta/lib/tracing/tracing.py,sha256=
|
|
36
|
-
scale_gp_beta/lib/tracing/types.py,sha256=
|
|
34
|
+
scale_gp_beta/lib/tracing/trace_queue_manager.py,sha256=RnEDOKi7c1xlKXUsofShzZ8WrHldbhc0wyveMNgX8E4,6206
|
|
35
|
+
scale_gp_beta/lib/tracing/tracing.py,sha256=_j30MMy-w5Y33t2lAYSFVpMY_Ia2PFcEFaUEG5UN2OI,9368
|
|
36
|
+
scale_gp_beta/lib/tracing/types.py,sha256=07piipdyN0a25gYGtV6dM12ZroJqLUpBmcFmdQPV4jU,1113
|
|
37
37
|
scale_gp_beta/lib/tracing/util.py,sha256=8Oq4wLXRNOzh3CC1zRaBEr0h_WdXLrk536BUNKRddVE,1527
|
|
38
|
-
scale_gp_beta/resources/__init__.py,sha256=
|
|
38
|
+
scale_gp_beta/resources/__init__.py,sha256=uquYxoMtAXyfIas331lnYexJZKr7pEYqi_vKlfrHRIg,5431
|
|
39
39
|
scale_gp_beta/resources/completions.py,sha256=4esj9lGTJAxt6wFvON126DvEGkMIChRZ6uZBOf56Aac,31868
|
|
40
40
|
scale_gp_beta/resources/dataset_items.py,sha256=2d7O5zmqVEafJTxVwgbRz9yq-4T81dPPfFuPDRAaWqU,22510
|
|
41
41
|
scale_gp_beta/resources/datasets.py,sha256=CVvokGR-PHgghKPP1Yivrdg6seSIwuaSGCJOHt7Wv_o,21783
|
|
42
42
|
scale_gp_beta/resources/evaluation_items.py,sha256=Nvz3zKypvYUJWDDDvraaEwzr--Vbj27GAN670Ro5Mqo,11631
|
|
43
43
|
scale_gp_beta/resources/evaluations.py,sha256=nFWudDB9o8Dc33ypzLfp4B7nJKYDRElxJxjiD-hxpA8,31442
|
|
44
44
|
scale_gp_beta/resources/inference.py,sha256=w1JD8S5P_SxhOtj1vDyg-23uP72zVVVU6lKU_YbqX4U,7563
|
|
45
|
-
scale_gp_beta/resources/models.py,sha256=
|
|
46
|
-
scale_gp_beta/resources/
|
|
45
|
+
scale_gp_beta/resources/models.py,sha256=z-P2nzIFLublMJgvaKyDHxdH-QnN629oNxIN8-CAlJc,32701
|
|
46
|
+
scale_gp_beta/resources/questions.py,sha256=0kNyVJwKvDconhlfhxY7aDYHNSB_I9QqtVpOst9GdL0,26050
|
|
47
|
+
scale_gp_beta/resources/spans.py,sha256=Hi8GJSAKCt04DFt9BUxuhqB9TJpBm52pUE1xhVXK2mI,34340
|
|
47
48
|
scale_gp_beta/resources/chat/__init__.py,sha256=BVAfz9TM3DT5W9f_mt0P9YRxL_MsUxKCWAH6u1iogmA,1041
|
|
48
49
|
scale_gp_beta/resources/chat/chat.py,sha256=4OG_TrwVqYvV-7Ha8Nbc6iuXQuys9wKXgkxYmE6p6jk,3672
|
|
49
|
-
scale_gp_beta/resources/chat/completions.py,sha256=
|
|
50
|
+
scale_gp_beta/resources/chat/completions.py,sha256=frz7lU_59uOkRVqEA3iSGrFqCvmtQfVWdG0xE0znKIk,51700
|
|
50
51
|
scale_gp_beta/resources/files/__init__.py,sha256=VgAtqUimN5Kf_-lmEaNBnu_ApGegKsJQ1zNf-42MXFA,1002
|
|
51
52
|
scale_gp_beta/resources/files/content.py,sha256=oJxb-28ZOUBgzE_MiAaJOcKFmtlB-N5APdhfZBNJna8,5762
|
|
52
53
|
scale_gp_beta/resources/files/files.py,sha256=yGmHAI8mtO_NjqC5XVk3n2y2ZklzL_qGtnD8OuhDkcQ,20731
|
|
53
|
-
scale_gp_beta/types/__init__.py,sha256=
|
|
54
|
+
scale_gp_beta/types/__init__.py,sha256=NrOvEA6wHKwHg05K3HSjw8OT9yAx67oZBHfwRDb7c4c,4492
|
|
54
55
|
scale_gp_beta/types/completion.py,sha256=5eewo25sdqL4vutqvE8wmugE0Cw6YLzZ0_AD6yjP9NM,3259
|
|
55
56
|
scale_gp_beta/types/completion_create_params.py,sha256=LE9vna29Kbh7E8qUq7EhQbcu7YuCF_h663maKtzOnhk,3063
|
|
56
57
|
scale_gp_beta/types/component.py,sha256=0dLrvTEHpF628wZ-CIniOpsOzKfnLlaZy4OPIFDzoF0,403
|
|
@@ -89,7 +90,7 @@ scale_gp_beta/types/file_list_params.py,sha256=rFIimu3tLcEWfJItI4a6FDb8LJFX38JSz
|
|
|
89
90
|
scale_gp_beta/types/file_update_params.py,sha256=cZAz43aIXmc0jOz-uKWDsZIJx24NN4t9kQ2XDORvQ-Q,297
|
|
90
91
|
scale_gp_beta/types/inference_create_params.py,sha256=lpdMjG-ufUDpH8bGPbt2klG0I9Q3o374WrqHBjEpPwE,665
|
|
91
92
|
scale_gp_beta/types/inference_create_response.py,sha256=JgoDjN5B8zRUpOXXasD97vFKVN7A6QHKz_PN64pKB6s,390
|
|
92
|
-
scale_gp_beta/types/inference_model.py,sha256=
|
|
93
|
+
scale_gp_beta/types/inference_model.py,sha256=EZRMAOJDRywGKcfY6caKlZbNR1IKDdGT8bUc6Qmcf8s,4375
|
|
93
94
|
scale_gp_beta/types/inference_model_list.py,sha256=I5qlOvpe-kX2HUp-C0h47Na0w6tRfZiC5wGCJ_KMxUk,688
|
|
94
95
|
scale_gp_beta/types/inference_response.py,sha256=PIX9ihGJ6IP6D6i8gk3o_mbSLy9fvRwZdGyICQKh-q8,337
|
|
95
96
|
scale_gp_beta/types/inference_response_chunk.py,sha256=UIw0gVwnqtQKPTH3QAW9UYVlD0lBz7av-EzcMqF7xgg,353
|
|
@@ -97,27 +98,30 @@ scale_gp_beta/types/item_locator.py,sha256=2DgC4WO_8eqnGFUZppHqqhLFhbRQQVph83glx
|
|
|
97
98
|
scale_gp_beta/types/item_locator_template.py,sha256=eEwfJCLdYr0OZ5-Pk5iGtHSa93h0zGZ015C7RtN1XYY,200
|
|
98
99
|
scale_gp_beta/types/model_create_params.py,sha256=K04FNqloYYTwffMHnNLRnrPNOKPgG70R6xKXZzR3Uu0,3484
|
|
99
100
|
scale_gp_beta/types/model_delete_response.py,sha256=fSpTChRLHPOoc9SJbkS4wcLxVOc3kKBOya8wkGow5pY,339
|
|
100
|
-
scale_gp_beta/types/model_list_params.py,sha256=
|
|
101
|
+
scale_gp_beta/types/model_list_params.py,sha256=UJkBX6LCoK4mVUe6LJx_qD1dZLFypPeXof1YBTXURS8,636
|
|
101
102
|
scale_gp_beta/types/model_update_params.py,sha256=RFXvs-EIDHmNO-fnPB8H6B9DlK6bYVsiwFDMPPFHGII,3701
|
|
102
|
-
scale_gp_beta/types/
|
|
103
|
-
scale_gp_beta/types/
|
|
103
|
+
scale_gp_beta/types/question.py,sha256=9972h0ulq49B5NdKS9KFlNS0bbfJu_uDvVqfu05ljfs,4131
|
|
104
|
+
scale_gp_beta/types/question_create_params.py,sha256=IqkypTXQ47U18e2iVFUyvg0hJrG5akqP07SLdfQJMb4,3078
|
|
105
|
+
scale_gp_beta/types/question_list.py,sha256=lk4GWhnnThcqnwmbxUNq07vqyXS8ToUYRp4nf7YctGs,657
|
|
106
|
+
scale_gp_beta/types/question_list_params.py,sha256=2x9Ww7wPAhc0hr6WpcqydLuB-mECpMK-MG7jbmtfKJM,362
|
|
107
|
+
scale_gp_beta/types/span.py,sha256=Cm4y9KhRG1hkN8xB0EJfQPu_lkPU8aAwp7AoEfXB9aw,1893
|
|
108
|
+
scale_gp_beta/types/span_batch_params.py,sha256=t0_-UlRp65hgegUBX4QknN1w4uoZhvhed9IvMe1LQEQ,1874
|
|
104
109
|
scale_gp_beta/types/span_batch_response.py,sha256=gNRJL9XVm5ELuIOWTCUbwwetxeD0s-M6JZi11USvBpU,354
|
|
105
|
-
scale_gp_beta/types/span_create_params.py,sha256=
|
|
106
|
-
scale_gp_beta/types/span_search_params.py,sha256=
|
|
107
|
-
scale_gp_beta/types/
|
|
108
|
-
scale_gp_beta/types/
|
|
109
|
-
scale_gp_beta/types/span_upsert_batch_params.py,sha256=eLEw1tTPtJlWqcCEzEykThDf_TAhcQirVftVMSWfGok,1929
|
|
110
|
+
scale_gp_beta/types/span_create_params.py,sha256=tUSgnDkdGew-TrG9wxaLHabGvACtfPVA7v1RFhAYUnM,1784
|
|
111
|
+
scale_gp_beta/types/span_search_params.py,sha256=UaHEywDELoXV_Hr1kQiQQ6UyXGYpyZ76x4hiGf71ETY,2305
|
|
112
|
+
scale_gp_beta/types/span_update_params.py,sha256=zT-O1SE5K-KkbGxjLGkjgvhBRYTP8r_rFkuIwk6WVDQ,576
|
|
113
|
+
scale_gp_beta/types/span_upsert_batch_params.py,sha256=MrqPpOhJ122X8qf8S6aobfwkemQJ89Q23SPhmsSqhog,1886
|
|
110
114
|
scale_gp_beta/types/span_upsert_batch_response.py,sha256=Gkndmd_cyfodeGaCJu4sF4TsgB22hgHVlmoek3e_Kkc,366
|
|
111
115
|
scale_gp_beta/types/chat/__init__.py,sha256=YmEJo3C_C7aRkImUaKB5BG97oOGkV0q3sHimL8cMa4g,688
|
|
112
|
-
scale_gp_beta/types/chat/chat_completion.py,sha256=
|
|
113
|
-
scale_gp_beta/types/chat/chat_completion_chunk.py,sha256
|
|
116
|
+
scale_gp_beta/types/chat/chat_completion.py,sha256=I2ZTWB0V2QSXcY7PDzdxMljQKVYm_IkDrWK-clgmp7Q,8266
|
|
117
|
+
scale_gp_beta/types/chat/chat_completion_chunk.py,sha256=-4kVGYCM-kDafahkwlkiyFyp9fhIfvVFKdMjkw5lDcY,7076
|
|
114
118
|
scale_gp_beta/types/chat/completion_create_params.py,sha256=Y7vJNvNM4Sov77l55aS5YtyRnrf7isediu3nKr6YE-A,4505
|
|
115
119
|
scale_gp_beta/types/chat/completion_create_response.py,sha256=0OhfoJW8azVRrZdXRRMuiJ7kEEeMDnKScxrr3sayzDo,374
|
|
116
|
-
scale_gp_beta/types/chat/completion_models_params.py,sha256=
|
|
120
|
+
scale_gp_beta/types/chat/completion_models_params.py,sha256=NdZ3Lkgclq6UKc9iae-evvCFuaOQszCwwubVjP1MYfk,635
|
|
117
121
|
scale_gp_beta/types/chat/completion_models_response.py,sha256=Ctgj6o-QWPSdjBKzG9J4Id0-DjXu4UGGw1NR6-840Ec,403
|
|
118
|
-
scale_gp_beta/types/chat/model_definition.py,sha256=
|
|
122
|
+
scale_gp_beta/types/chat/model_definition.py,sha256=XPkHEe4tY442oLSMlaotClNDv5XeQ3j5RrXgLZFo1Qk,841
|
|
119
123
|
scale_gp_beta/types/files/__init__.py,sha256=OKfJYcKb4NObdiRObqJV_dOyDQ8feXekDUge2o_4pXQ,122
|
|
120
|
-
scale_gp_beta-0.1.
|
|
121
|
-
scale_gp_beta-0.1.
|
|
122
|
-
scale_gp_beta-0.1.
|
|
123
|
-
scale_gp_beta-0.1.
|
|
124
|
+
scale_gp_beta-0.1.0a25.dist-info/METADATA,sha256=IosCRBFi1sxouDnckVM2S38xK64vLGqLL5tRP6UbgQA,28723
|
|
125
|
+
scale_gp_beta-0.1.0a25.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
|
126
|
+
scale_gp_beta-0.1.0a25.dist-info/licenses/LICENSE,sha256=x49Bj8r_ZpqfzThbmfHyZ_bE88XvHdIMI_ANyLHFFRE,11338
|
|
127
|
+
scale_gp_beta-0.1.0a25.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|