weave-python 0.28.2__py3-none-any.whl → 0.30.4__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.
- weave/weaveapi/auth/v1/service_pb2.py +184 -88
- weave/weaveapi/auth/v1/service_pb2.pyi +1288 -1134
- weave/weaveapi/auth/v1/service_pb2_grpc.pyi +248 -335
- weave/weaveapi/auth/v1/session_pb2.py +12 -4
- weave/weaveapi/auth/v1/session_pb2.pyi +109 -89
- weave/weaveapi/auth/v1/session_pb2_grpc.pyi +11 -10
- weave/weaveapi/auth/v1/usage_pb2.py +16 -12
- weave/weaveapi/auth/v1/usage_pb2.pyi +251 -197
- weave/weaveapi/auth/v1/usage_pb2_grpc.pyi +11 -10
- weave/weaveapi/auth/v1/user_pb2.py +58 -16
- weave/weaveapi/auth/v1/user_pb2.pyi +588 -505
- weave/weaveapi/auth/v1/user_pb2_grpc.pyi +11 -10
- weave/weaveapi/generate/v1/configuration_pb2.py +29 -17
- weave/weaveapi/generate/v1/configuration_pb2.pyi +277 -241
- weave/weaveapi/generate/v1/configuration_pb2_grpc.pyi +11 -10
- weave/weaveapi/generate/v1/generate_pb2.py +30 -4
- weave/weaveapi/generate/v1/generate_pb2.pyi +138 -40
- weave/weaveapi/generate/v1/generate_pb2_grpc.pyi +11 -10
- weave/weaveapi/generate/v1/service_pb2.py +50 -20
- weave/weaveapi/generate/v1/service_pb2.pyi +264 -135
- weave/weaveapi/generate/v1/service_pb2_grpc.py +47 -0
- weave/weaveapi/generate/v1/service_pb2_grpc.pyi +89 -78
- weave/weaveapi/llmx/v1/architecture_pb2.py +3 -3
- weave/weaveapi/llmx/v1/architecture_pb2.pyi +664 -555
- weave/weaveapi/llmx/v1/architecture_pb2_grpc.pyi +11 -10
- weave/weaveapi/llmx/v1/capabilities_pb2.py +86 -54
- weave/weaveapi/llmx/v1/capabilities_pb2.pyi +967 -852
- weave/weaveapi/llmx/v1/capabilities_pb2_grpc.pyi +11 -10
- weave/weaveapi/llmx/v1/model_pb2.py +54 -18
- weave/weaveapi/llmx/v1/model_pb2.pyi +533 -455
- weave/weaveapi/llmx/v1/model_pb2_grpc.pyi +11 -10
- weave/weaveapi/llmx/v1/pricing_pb2.py +22 -18
- weave/weaveapi/llmx/v1/pricing_pb2.pyi +194 -172
- weave/weaveapi/llmx/v1/pricing_pb2_grpc.pyi +11 -10
- weave/weaveapi/llmx/v1/provider_pb2.py +3 -3
- weave/weaveapi/llmx/v1/provider_pb2.pyi +84 -59
- weave/weaveapi/llmx/v1/provider_pb2_grpc.pyi +11 -10
- weave/weaveapi/llmx/v1/service_pb2.py +224 -86
- weave/weaveapi/llmx/v1/service_pb2.pyi +1651 -1403
- weave/weaveapi/llmx/v1/service_pb2_grpc.pyi +160 -203
- weave/weaveapi/mcpregistry/v1/server_pb2.py +14 -8
- weave/weaveapi/mcpregistry/v1/server_pb2.pyi +143 -121
- weave/weaveapi/mcpregistry/v1/server_pb2_grpc.pyi +11 -10
- weave/weaveapi/mcpregistry/v1/service_pb2.py +47 -27
- weave/weaveapi/mcpregistry/v1/service_pb2.pyi +132 -122
- weave/weaveapi/mcpregistry/v1/service_pb2_grpc.pyi +87 -112
- weave/weaveapi/payment/v1/invoice_pb2.py +36 -10
- weave/weaveapi/payment/v1/invoice_pb2.pyi +352 -291
- weave/weaveapi/payment/v1/invoice_pb2_grpc.pyi +11 -10
- weave/weaveapi/payment/v1/service_pb2.py +256 -90
- weave/weaveapi/payment/v1/service_pb2.pyi +1381 -1242
- weave/weaveapi/payment/v1/service_pb2_grpc.pyi +229 -319
- weave/weaveapi/payment/v1/subscription_pb2.py +97 -21
- weave/weaveapi/payment/v1/subscription_pb2.pyi +727 -611
- weave/weaveapi/payment/v1/subscription_pb2_grpc.pyi +11 -10
- weave/weaveapi/storage/v1/auth_pb2.py +3 -3
- weave/weaveapi/storage/v1/auth_pb2.pyi +42 -29
- weave/weaveapi/storage/v1/auth_pb2_grpc.pyi +11 -10
- weave/weaveapi/storage/v1/nosql_database_pb2.py +45 -21
- weave/weaveapi/storage/v1/nosql_database_pb2.pyi +438 -372
- weave/weaveapi/storage/v1/nosql_database_pb2_grpc.pyi +11 -10
- weave/weaveapi/storage/v1/object_store_pb2.py +25 -11
- weave/weaveapi/storage/v1/object_store_pb2.pyi +203 -187
- weave/weaveapi/storage/v1/object_store_pb2_grpc.pyi +11 -10
- weave/weaveapi/storage/v1/service_pb2.py +94 -34
- weave/weaveapi/storage/v1/service_pb2.pyi +414 -357
- weave/weaveapi/storage/v1/service_pb2_grpc.pyi +88 -107
- weave/weaveapi/storage/v1/sql_database_pb2.py +37 -21
- weave/weaveapi/storage/v1/sql_database_pb2.pyi +481 -400
- weave/weaveapi/storage/v1/sql_database_pb2_grpc.pyi +11 -10
- weave/weaveapi/storage/v1/storage_pb2.py +18 -4
- weave/weaveapi/storage/v1/storage_pb2.pyi +79 -70
- weave/weaveapi/storage/v1/storage_pb2_grpc.pyi +11 -10
- weave/weaveapi/synthesize/v1/dataset_pb2.py +10 -8
- weave/weaveapi/synthesize/v1/dataset_pb2.pyi +158 -128
- weave/weaveapi/synthesize/v1/dataset_pb2_grpc.pyi +11 -10
- weave/weaveapi/synthesize/v1/inline_data_pb2.py +4 -4
- weave/weaveapi/synthesize/v1/inline_data_pb2.pyi +31 -27
- weave/weaveapi/synthesize/v1/inline_data_pb2_grpc.pyi +11 -10
- weave/weaveapi/synthesize/v1/relationship_pb2.py +17 -9
- weave/weaveapi/synthesize/v1/relationship_pb2.pyi +67 -64
- weave/weaveapi/synthesize/v1/relationship_pb2_grpc.pyi +11 -10
- weave/weaveapi/synthesize/v1/service_pb2.py +40 -22
- weave/weaveapi/synthesize/v1/service_pb2.pyi +202 -168
- weave/weaveapi/synthesize/v1/service_pb2_grpc.pyi +67 -79
- weave/weaveapi/synthesize/v1/training_pb2.py +17 -11
- weave/weaveapi/synthesize/v1/training_pb2.pyi +119 -106
- weave/weaveapi/synthesize/v1/training_pb2_grpc.pyi +11 -10
- weave/weavesql/llmxdb/capabilities.py +487 -0
- weave/weavesql/llmxdb/changes.py +297 -0
- weave/weavesql/llmxdb/models.py +594 -0
- weave/weavesql/llmxdb/providers.py +348 -0
- weave/weavesql/llmxdb/scraper_runs.py +287 -0
- weave/weavesql/llmxdb/search.py +721 -0
- weave/weavesql/weavedb/dataset.py +75 -0
- weave/weavesql/weavedb/models.py +135 -0
- weave/weavesql/weavedb/relationships.py +72 -0
- weave/weavesql/weavedb/storage.py +113 -0
- weave/weavesql/weavedb/synthesizer.py +107 -0
- {weave_python-0.28.2.dist-info → weave_python-0.30.4.dist-info}/METADATA +3 -3
- weave_python-0.30.4.dist-info/RECORD +131 -0
- {weave_python-0.28.2.dist-info → weave_python-0.30.4.dist-info}/WHEEL +1 -1
- weave_python-0.28.2.dist-info/RECORD +0 -120
- {weave_python-0.28.2.dist-info → weave_python-0.30.4.dist-info}/licenses/LICENSE +0 -0
|
@@ -3,1769 +3,2017 @@
|
|
|
3
3
|
isort:skip_file
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
6
|
+
from collections import abc as _abc
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import message as _message
|
|
9
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
10
|
+
from google.protobuf.internal import containers as _containers
|
|
11
|
+
from weaveapi.llmx.v1 import model_pb2 as _model_pb2
|
|
12
|
+
from weaveapi.llmx.v1 import provider_pb2 as _provider_pb2
|
|
13
|
+
import builtins as _builtins
|
|
14
|
+
import sys
|
|
15
|
+
import typing as _typing
|
|
16
|
+
|
|
17
|
+
if sys.version_info >= (3, 10):
|
|
18
|
+
from typing import TypeAlias as _TypeAlias
|
|
19
|
+
else:
|
|
20
|
+
from typing_extensions import TypeAlias as _TypeAlias
|
|
21
|
+
|
|
22
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
23
|
+
|
|
24
|
+
@_typing.final
|
|
25
|
+
class ListProvidersRequest(_message.Message):
|
|
26
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
27
|
+
|
|
28
|
+
PAGE_SIZE_FIELD_NUMBER: _builtins.int
|
|
29
|
+
PAGE_TOKEN_FIELD_NUMBER: _builtins.int
|
|
30
|
+
ACTIVE_ONLY_FIELD_NUMBER: _builtins.int
|
|
31
|
+
page_size: _builtins.int
|
|
32
|
+
page_token: _builtins.str
|
|
33
|
+
active_only: _builtins.bool
|
|
28
34
|
def __init__(
|
|
29
35
|
self,
|
|
30
36
|
*,
|
|
31
|
-
page_size:
|
|
32
|
-
page_token:
|
|
33
|
-
active_only:
|
|
34
|
-
) -> None: ...
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
37
|
+
page_size: _builtins.int | None = ...,
|
|
38
|
+
page_token: _builtins.str | None = ...,
|
|
39
|
+
active_only: _builtins.bool | None = ...,
|
|
40
|
+
) -> None: ...
|
|
41
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
42
|
+
"active_only",
|
|
43
|
+
b"active_only",
|
|
44
|
+
"page_size",
|
|
45
|
+
b"page_size",
|
|
46
|
+
"page_token",
|
|
47
|
+
b"page_token",
|
|
48
|
+
] # noqa: Y015
|
|
49
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
50
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
51
|
+
"active_only",
|
|
52
|
+
b"active_only",
|
|
53
|
+
"page_size",
|
|
54
|
+
b"page_size",
|
|
55
|
+
"page_token",
|
|
56
|
+
b"page_token",
|
|
57
|
+
] # noqa: Y015
|
|
58
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
59
|
+
|
|
60
|
+
Global___ListProvidersRequest: _TypeAlias = ListProvidersRequest # noqa: Y015
|
|
61
|
+
|
|
62
|
+
@_typing.final
|
|
63
|
+
class ListProvidersResponse(_message.Message):
|
|
64
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
65
|
+
|
|
66
|
+
PROVIDERS_FIELD_NUMBER: _builtins.int
|
|
67
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: _builtins.int
|
|
68
|
+
TOTAL_COUNT_FIELD_NUMBER: _builtins.int
|
|
69
|
+
next_page_token: _builtins.str
|
|
70
|
+
total_count: _builtins.int
|
|
71
|
+
@_builtins.property
|
|
59
72
|
def providers(
|
|
60
73
|
self,
|
|
61
|
-
) ->
|
|
62
|
-
weaveapi.llmx.v1.provider_pb2.Provider
|
|
63
|
-
]: ...
|
|
74
|
+
) -> _containers.RepeatedCompositeFieldContainer[_provider_pb2.Provider]: ...
|
|
64
75
|
def __init__(
|
|
65
76
|
self,
|
|
66
77
|
*,
|
|
67
|
-
providers:
|
|
68
|
-
| None = ...,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
78
|
+
providers: _abc.Iterable[_provider_pb2.Provider] | None = ...,
|
|
79
|
+
next_page_token: _builtins.str | None = ...,
|
|
80
|
+
total_count: _builtins.int | None = ...,
|
|
81
|
+
) -> None: ...
|
|
82
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
83
|
+
"next_page_token",
|
|
84
|
+
b"next_page_token",
|
|
85
|
+
"providers",
|
|
86
|
+
b"providers",
|
|
87
|
+
"total_count",
|
|
88
|
+
b"total_count",
|
|
89
|
+
] # noqa: Y015
|
|
90
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
91
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
92
|
+
"next_page_token",
|
|
93
|
+
b"next_page_token",
|
|
94
|
+
"providers",
|
|
95
|
+
b"providers",
|
|
96
|
+
"total_count",
|
|
97
|
+
b"total_count",
|
|
98
|
+
] # noqa: Y015
|
|
99
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
100
|
+
|
|
101
|
+
Global___ListProvidersResponse: _TypeAlias = ListProvidersResponse # noqa: Y015
|
|
102
|
+
|
|
103
|
+
@_typing.final
|
|
104
|
+
class GetProviderRequest(_message.Message):
|
|
105
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
106
|
+
|
|
107
|
+
SLUG_FIELD_NUMBER: _builtins.int
|
|
108
|
+
slug: _builtins.str
|
|
92
109
|
"""e.g., "openai" """
|
|
93
110
|
def __init__(
|
|
94
111
|
self,
|
|
95
112
|
*,
|
|
96
|
-
slug:
|
|
113
|
+
slug: _builtins.str | None = ...,
|
|
97
114
|
) -> None: ...
|
|
98
|
-
|
|
115
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["slug", b"slug"] # noqa: Y015
|
|
116
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
117
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["slug", b"slug"] # noqa: Y015
|
|
118
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
99
119
|
|
|
100
|
-
|
|
120
|
+
Global___GetProviderRequest: _TypeAlias = GetProviderRequest # noqa: Y015
|
|
101
121
|
|
|
102
|
-
@
|
|
103
|
-
class GetProviderResponse(
|
|
104
|
-
DESCRIPTOR:
|
|
122
|
+
@_typing.final
|
|
123
|
+
class GetProviderResponse(_message.Message):
|
|
124
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
105
125
|
|
|
106
|
-
PROVIDER_FIELD_NUMBER:
|
|
107
|
-
@property
|
|
108
|
-
def provider(self) ->
|
|
126
|
+
PROVIDER_FIELD_NUMBER: _builtins.int
|
|
127
|
+
@_builtins.property
|
|
128
|
+
def provider(self) -> _provider_pb2.Provider: ...
|
|
109
129
|
def __init__(
|
|
110
130
|
self,
|
|
111
131
|
*,
|
|
112
|
-
provider:
|
|
113
|
-
) -> None: ...
|
|
114
|
-
def HasField(
|
|
115
|
-
self, field_name: typing.Literal["provider", b"provider"]
|
|
116
|
-
) -> builtins.bool: ...
|
|
117
|
-
def ClearField(
|
|
118
|
-
self, field_name: typing.Literal["provider", b"provider"]
|
|
132
|
+
provider: _provider_pb2.Provider | None = ...,
|
|
119
133
|
) -> None: ...
|
|
134
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["provider", b"provider"] # noqa: Y015
|
|
135
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
136
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["provider", b"provider"] # noqa: Y015
|
|
137
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
120
138
|
|
|
121
|
-
|
|
139
|
+
Global___GetProviderResponse: _TypeAlias = GetProviderResponse # noqa: Y015
|
|
122
140
|
|
|
123
|
-
@
|
|
124
|
-
class ListModelsRequest(
|
|
141
|
+
@_typing.final
|
|
142
|
+
class ListModelsRequest(_message.Message):
|
|
125
143
|
"""ListModelsRequest defines filters and pagination for listing models."""
|
|
126
144
|
|
|
127
|
-
DESCRIPTOR:
|
|
128
|
-
|
|
129
|
-
PAGE_SIZE_FIELD_NUMBER:
|
|
130
|
-
PAGE_TOKEN_FIELD_NUMBER:
|
|
131
|
-
PROVIDER_FIELD_NUMBER:
|
|
132
|
-
MODEL_TYPE_FIELD_NUMBER:
|
|
133
|
-
ACTIVE_ONLY_FIELD_NUMBER:
|
|
134
|
-
VISION_ONLY_FIELD_NUMBER:
|
|
135
|
-
TOOL_CALLS_ONLY_FIELD_NUMBER:
|
|
136
|
-
REASONING_ONLY_FIELD_NUMBER:
|
|
137
|
-
OPEN_SOURCE_ONLY_FIELD_NUMBER:
|
|
138
|
-
MAX_INPUT_PRICE_FIELD_NUMBER:
|
|
139
|
-
MAX_OUTPUT_PRICE_FIELD_NUMBER:
|
|
140
|
-
MIN_CONTEXT_WINDOW_FIELD_NUMBER:
|
|
141
|
-
ORDER_BY_FIELD_NUMBER:
|
|
142
|
-
DESCENDING_FIELD_NUMBER:
|
|
143
|
-
page_size:
|
|
145
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
146
|
+
|
|
147
|
+
PAGE_SIZE_FIELD_NUMBER: _builtins.int
|
|
148
|
+
PAGE_TOKEN_FIELD_NUMBER: _builtins.int
|
|
149
|
+
PROVIDER_FIELD_NUMBER: _builtins.int
|
|
150
|
+
MODEL_TYPE_FIELD_NUMBER: _builtins.int
|
|
151
|
+
ACTIVE_ONLY_FIELD_NUMBER: _builtins.int
|
|
152
|
+
VISION_ONLY_FIELD_NUMBER: _builtins.int
|
|
153
|
+
TOOL_CALLS_ONLY_FIELD_NUMBER: _builtins.int
|
|
154
|
+
REASONING_ONLY_FIELD_NUMBER: _builtins.int
|
|
155
|
+
OPEN_SOURCE_ONLY_FIELD_NUMBER: _builtins.int
|
|
156
|
+
MAX_INPUT_PRICE_FIELD_NUMBER: _builtins.int
|
|
157
|
+
MAX_OUTPUT_PRICE_FIELD_NUMBER: _builtins.int
|
|
158
|
+
MIN_CONTEXT_WINDOW_FIELD_NUMBER: _builtins.int
|
|
159
|
+
ORDER_BY_FIELD_NUMBER: _builtins.int
|
|
160
|
+
DESCENDING_FIELD_NUMBER: _builtins.int
|
|
161
|
+
page_size: _builtins.int
|
|
144
162
|
"""Maximum number of models to return (1-100).
|
|
145
163
|
Example: 20 for paginated results
|
|
146
164
|
"""
|
|
147
|
-
page_token:
|
|
165
|
+
page_token: _builtins.str
|
|
148
166
|
"""Token for fetching next page of results.
|
|
149
167
|
Example: "eyJvZmZzZXQiOjIwfQ==" from previous response
|
|
150
168
|
"""
|
|
151
|
-
provider:
|
|
169
|
+
provider: _builtins.str
|
|
152
170
|
"""=== Provider and Type Filters ===
|
|
153
171
|
|
|
154
172
|
Filter by provider slug.
|
|
155
173
|
Example: "openai" to only show OpenAI models
|
|
156
174
|
"""
|
|
157
|
-
model_type:
|
|
175
|
+
model_type: _builtins.str
|
|
158
176
|
"""Filter by model type.
|
|
159
177
|
Examples: "chat", "embedding", "image", "audio"
|
|
160
178
|
"""
|
|
161
|
-
active_only:
|
|
179
|
+
active_only: _builtins.bool
|
|
162
180
|
"""Only show currently available models.
|
|
163
181
|
Example: true to exclude deprecated models
|
|
164
182
|
"""
|
|
165
|
-
vision_only:
|
|
183
|
+
vision_only: _builtins.bool
|
|
166
184
|
"""=== Capability Filters (models must have these features) ===
|
|
167
185
|
|
|
168
186
|
Only models with vision/image understanding.
|
|
169
187
|
Example: true for GPT-4V, Claude-3 Vision
|
|
170
188
|
"""
|
|
171
|
-
tool_calls_only:
|
|
189
|
+
tool_calls_only: _builtins.bool
|
|
172
190
|
"""Only models supporting function/tool calling.
|
|
173
191
|
Example: true for GPT-4, Claude-3
|
|
174
192
|
"""
|
|
175
|
-
reasoning_only:
|
|
193
|
+
reasoning_only: _builtins.bool
|
|
176
194
|
"""Only models with advanced reasoning capabilities.
|
|
177
195
|
Example: true for o1-preview, o1-mini
|
|
178
196
|
"""
|
|
179
|
-
open_source_only:
|
|
197
|
+
open_source_only: _builtins.bool
|
|
180
198
|
"""Only open-source models with public weights.
|
|
181
199
|
Example: true for LLaMA, Mistral, false for GPT-4
|
|
182
200
|
"""
|
|
183
|
-
max_input_price:
|
|
201
|
+
max_input_price: _builtins.float
|
|
184
202
|
"""=== Price Filters (per 1M tokens) ===
|
|
185
203
|
|
|
186
204
|
Maximum acceptable input token price.
|
|
187
205
|
Example: 5.0 for models under $5/1M input tokens
|
|
188
206
|
"""
|
|
189
|
-
max_output_price:
|
|
207
|
+
max_output_price: _builtins.float
|
|
190
208
|
"""Maximum acceptable output token price.
|
|
191
209
|
Example: 15.0 for models under $15/1M output tokens
|
|
192
210
|
"""
|
|
193
|
-
min_context_window:
|
|
211
|
+
min_context_window: _builtins.int
|
|
194
212
|
"""=== Token Filters ===
|
|
195
213
|
|
|
196
214
|
Minimum required context window size.
|
|
197
215
|
Example: 32000 for models with 32k+ context
|
|
198
216
|
"""
|
|
199
|
-
order_by:
|
|
217
|
+
order_by: _builtins.str
|
|
200
218
|
"""=== Sorting Options ===
|
|
201
219
|
|
|
202
220
|
Field to sort results by.
|
|
203
221
|
Options: "name", "release_date", "input_price", "context_window"
|
|
204
222
|
Example: "release_date" for newest models first
|
|
205
223
|
"""
|
|
206
|
-
descending:
|
|
224
|
+
descending: _builtins.bool
|
|
207
225
|
"""Sort in descending order.
|
|
208
226
|
Example: true for newest/highest first, false for oldest/lowest
|
|
209
227
|
"""
|
|
210
228
|
def __init__(
|
|
211
229
|
self,
|
|
212
230
|
*,
|
|
213
|
-
page_size:
|
|
214
|
-
page_token:
|
|
215
|
-
provider:
|
|
216
|
-
model_type:
|
|
217
|
-
active_only:
|
|
218
|
-
vision_only:
|
|
219
|
-
tool_calls_only:
|
|
220
|
-
reasoning_only:
|
|
221
|
-
open_source_only:
|
|
222
|
-
max_input_price:
|
|
223
|
-
max_output_price:
|
|
224
|
-
min_context_window:
|
|
225
|
-
order_by:
|
|
226
|
-
descending:
|
|
227
|
-
) -> None: ...
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
231
|
+
page_size: _builtins.int | None = ...,
|
|
232
|
+
page_token: _builtins.str | None = ...,
|
|
233
|
+
provider: _builtins.str | None = ...,
|
|
234
|
+
model_type: _builtins.str | None = ...,
|
|
235
|
+
active_only: _builtins.bool | None = ...,
|
|
236
|
+
vision_only: _builtins.bool | None = ...,
|
|
237
|
+
tool_calls_only: _builtins.bool | None = ...,
|
|
238
|
+
reasoning_only: _builtins.bool | None = ...,
|
|
239
|
+
open_source_only: _builtins.bool | None = ...,
|
|
240
|
+
max_input_price: _builtins.float | None = ...,
|
|
241
|
+
max_output_price: _builtins.float | None = ...,
|
|
242
|
+
min_context_window: _builtins.int | None = ...,
|
|
243
|
+
order_by: _builtins.str | None = ...,
|
|
244
|
+
descending: _builtins.bool | None = ...,
|
|
245
|
+
) -> None: ...
|
|
246
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
247
|
+
"active_only",
|
|
248
|
+
b"active_only",
|
|
249
|
+
"descending",
|
|
250
|
+
b"descending",
|
|
251
|
+
"max_input_price",
|
|
252
|
+
b"max_input_price",
|
|
253
|
+
"max_output_price",
|
|
254
|
+
b"max_output_price",
|
|
255
|
+
"min_context_window",
|
|
256
|
+
b"min_context_window",
|
|
257
|
+
"model_type",
|
|
258
|
+
b"model_type",
|
|
259
|
+
"open_source_only",
|
|
260
|
+
b"open_source_only",
|
|
261
|
+
"order_by",
|
|
262
|
+
b"order_by",
|
|
263
|
+
"page_size",
|
|
264
|
+
b"page_size",
|
|
265
|
+
"page_token",
|
|
266
|
+
b"page_token",
|
|
267
|
+
"provider",
|
|
268
|
+
b"provider",
|
|
269
|
+
"reasoning_only",
|
|
270
|
+
b"reasoning_only",
|
|
271
|
+
"tool_calls_only",
|
|
272
|
+
b"tool_calls_only",
|
|
273
|
+
"vision_only",
|
|
274
|
+
b"vision_only",
|
|
275
|
+
] # noqa: Y015
|
|
276
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
277
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
278
|
+
"active_only",
|
|
279
|
+
b"active_only",
|
|
280
|
+
"descending",
|
|
281
|
+
b"descending",
|
|
282
|
+
"max_input_price",
|
|
283
|
+
b"max_input_price",
|
|
284
|
+
"max_output_price",
|
|
285
|
+
b"max_output_price",
|
|
286
|
+
"min_context_window",
|
|
287
|
+
b"min_context_window",
|
|
288
|
+
"model_type",
|
|
289
|
+
b"model_type",
|
|
290
|
+
"open_source_only",
|
|
291
|
+
b"open_source_only",
|
|
292
|
+
"order_by",
|
|
293
|
+
b"order_by",
|
|
294
|
+
"page_size",
|
|
295
|
+
b"page_size",
|
|
296
|
+
"page_token",
|
|
297
|
+
b"page_token",
|
|
298
|
+
"provider",
|
|
299
|
+
b"provider",
|
|
300
|
+
"reasoning_only",
|
|
301
|
+
b"reasoning_only",
|
|
302
|
+
"tool_calls_only",
|
|
303
|
+
b"tool_calls_only",
|
|
304
|
+
"vision_only",
|
|
305
|
+
b"vision_only",
|
|
306
|
+
] # noqa: Y015
|
|
307
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
308
|
+
|
|
309
|
+
Global___ListModelsRequest: _TypeAlias = ListModelsRequest # noqa: Y015
|
|
310
|
+
|
|
311
|
+
@_typing.final
|
|
312
|
+
class ListModelsResponse(_message.Message):
|
|
313
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
314
|
+
|
|
315
|
+
MODELS_FIELD_NUMBER: _builtins.int
|
|
316
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: _builtins.int
|
|
317
|
+
TOTAL_COUNT_FIELD_NUMBER: _builtins.int
|
|
318
|
+
next_page_token: _builtins.str
|
|
319
|
+
total_count: _builtins.int
|
|
320
|
+
@_builtins.property
|
|
274
321
|
def models(
|
|
275
322
|
self,
|
|
276
|
-
) ->
|
|
277
|
-
weaveapi.llmx.v1.model_pb2.Model
|
|
278
|
-
]: ...
|
|
323
|
+
) -> _containers.RepeatedCompositeFieldContainer[_model_pb2.Model]: ...
|
|
279
324
|
def __init__(
|
|
280
325
|
self,
|
|
281
326
|
*,
|
|
282
|
-
models:
|
|
283
|
-
next_page_token:
|
|
284
|
-
total_count:
|
|
285
|
-
) -> None: ...
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
327
|
+
models: _abc.Iterable[_model_pb2.Model] | None = ...,
|
|
328
|
+
next_page_token: _builtins.str | None = ...,
|
|
329
|
+
total_count: _builtins.int | None = ...,
|
|
330
|
+
) -> None: ...
|
|
331
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
332
|
+
"models",
|
|
333
|
+
b"models",
|
|
334
|
+
"next_page_token",
|
|
335
|
+
b"next_page_token",
|
|
336
|
+
"total_count",
|
|
337
|
+
b"total_count",
|
|
338
|
+
] # noqa: Y015
|
|
339
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
340
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
341
|
+
"models",
|
|
342
|
+
b"models",
|
|
343
|
+
"next_page_token",
|
|
344
|
+
b"next_page_token",
|
|
345
|
+
"total_count",
|
|
346
|
+
b"total_count",
|
|
347
|
+
] # noqa: Y015
|
|
348
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
349
|
+
|
|
350
|
+
Global___ListModelsResponse: _TypeAlias = ListModelsResponse # noqa: Y015
|
|
351
|
+
|
|
352
|
+
@_typing.final
|
|
353
|
+
class GetModelRequest(_message.Message):
|
|
354
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
355
|
+
|
|
356
|
+
PROVIDER_FIELD_NUMBER: _builtins.int
|
|
357
|
+
MODEL_ID_FIELD_NUMBER: _builtins.int
|
|
358
|
+
provider: _builtins.str
|
|
307
359
|
"""e.g., "openai" """
|
|
308
|
-
model_id:
|
|
360
|
+
model_id: _builtins.str
|
|
309
361
|
"""e.g., "gpt-4o" """
|
|
310
362
|
def __init__(
|
|
311
363
|
self,
|
|
312
364
|
*,
|
|
313
|
-
provider:
|
|
314
|
-
model_id:
|
|
315
|
-
) -> None: ...
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
) ->
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
365
|
+
provider: _builtins.str | None = ...,
|
|
366
|
+
model_id: _builtins.str | None = ...,
|
|
367
|
+
) -> None: ...
|
|
368
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
369
|
+
"model_id", b"model_id", "provider", b"provider"
|
|
370
|
+
] # noqa: Y015
|
|
371
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
372
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
373
|
+
"model_id", b"model_id", "provider", b"provider"
|
|
374
|
+
] # noqa: Y015
|
|
375
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
376
|
+
|
|
377
|
+
Global___GetModelRequest: _TypeAlias = GetModelRequest # noqa: Y015
|
|
378
|
+
|
|
379
|
+
@_typing.final
|
|
380
|
+
class GetModelResponse(_message.Message):
|
|
381
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
382
|
+
|
|
383
|
+
MODEL_FIELD_NUMBER: _builtins.int
|
|
384
|
+
@_builtins.property
|
|
385
|
+
def model(self) -> _model_pb2.Model: ...
|
|
330
386
|
def __init__(
|
|
331
387
|
self,
|
|
332
388
|
*,
|
|
333
|
-
model:
|
|
389
|
+
model: _model_pb2.Model | None = ...,
|
|
334
390
|
) -> None: ...
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
def ClearField(self, field_name:
|
|
391
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["model", b"model"] # noqa: Y015
|
|
392
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
393
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["model", b"model"] # noqa: Y015
|
|
394
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
339
395
|
|
|
340
|
-
|
|
396
|
+
Global___GetModelResponse: _TypeAlias = GetModelResponse # noqa: Y015
|
|
341
397
|
|
|
342
|
-
@
|
|
343
|
-
class SearchModelsRequest(
|
|
398
|
+
@_typing.final
|
|
399
|
+
class SearchModelsRequest(_message.Message):
|
|
344
400
|
"""SearchModelsRequest enables advanced model search with multiple filter criteria."""
|
|
345
401
|
|
|
346
|
-
DESCRIPTOR:
|
|
347
|
-
|
|
348
|
-
QUERY_FIELD_NUMBER:
|
|
349
|
-
PROVIDERS_FIELD_NUMBER:
|
|
350
|
-
MODEL_TYPES_FIELD_NUMBER:
|
|
351
|
-
ARCHITECTURES_FIELD_NUMBER:
|
|
352
|
-
REQUIRED_CAPABILITIES_FIELD_NUMBER:
|
|
353
|
-
REQUIRED_INPUT_MODALITIES_FIELD_NUMBER:
|
|
354
|
-
REQUIRED_OUTPUT_MODALITIES_FIELD_NUMBER:
|
|
355
|
-
PRICE_RANGE_FIELD_NUMBER:
|
|
356
|
-
TOKEN_RANGE_FIELD_NUMBER:
|
|
357
|
-
PERFORMANCE_RANGE_FIELD_NUMBER:
|
|
358
|
-
PAGE_SIZE_FIELD_NUMBER:
|
|
359
|
-
PAGE_TOKEN_FIELD_NUMBER:
|
|
360
|
-
ORDER_BY_FIELD_NUMBER:
|
|
361
|
-
DESCENDING_FIELD_NUMBER:
|
|
362
|
-
query:
|
|
402
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
403
|
+
|
|
404
|
+
QUERY_FIELD_NUMBER: _builtins.int
|
|
405
|
+
PROVIDERS_FIELD_NUMBER: _builtins.int
|
|
406
|
+
MODEL_TYPES_FIELD_NUMBER: _builtins.int
|
|
407
|
+
ARCHITECTURES_FIELD_NUMBER: _builtins.int
|
|
408
|
+
REQUIRED_CAPABILITIES_FIELD_NUMBER: _builtins.int
|
|
409
|
+
REQUIRED_INPUT_MODALITIES_FIELD_NUMBER: _builtins.int
|
|
410
|
+
REQUIRED_OUTPUT_MODALITIES_FIELD_NUMBER: _builtins.int
|
|
411
|
+
PRICE_RANGE_FIELD_NUMBER: _builtins.int
|
|
412
|
+
TOKEN_RANGE_FIELD_NUMBER: _builtins.int
|
|
413
|
+
PERFORMANCE_RANGE_FIELD_NUMBER: _builtins.int
|
|
414
|
+
PAGE_SIZE_FIELD_NUMBER: _builtins.int
|
|
415
|
+
PAGE_TOKEN_FIELD_NUMBER: _builtins.int
|
|
416
|
+
ORDER_BY_FIELD_NUMBER: _builtins.int
|
|
417
|
+
DESCENDING_FIELD_NUMBER: _builtins.int
|
|
418
|
+
query: _builtins.str
|
|
363
419
|
"""Full-text search across model names and descriptions.
|
|
364
420
|
Example: "code generation" to find coding-focused models
|
|
365
421
|
"""
|
|
366
|
-
page_size:
|
|
422
|
+
page_size: _builtins.int
|
|
367
423
|
"""=== Pagination ===
|
|
368
424
|
|
|
369
425
|
Results per page (1-100).
|
|
370
426
|
Example: 25
|
|
371
427
|
"""
|
|
372
|
-
page_token:
|
|
428
|
+
page_token: _builtins.str
|
|
373
429
|
"""Continuation token from previous response."""
|
|
374
|
-
order_by:
|
|
430
|
+
order_by: _builtins.str
|
|
375
431
|
"""=== Sorting ===
|
|
376
432
|
|
|
377
433
|
Sort field name.
|
|
378
434
|
Options: "relevance", "name", "release_date", "price", "performance"
|
|
379
435
|
"""
|
|
380
|
-
descending:
|
|
436
|
+
descending: _builtins.bool
|
|
381
437
|
"""Sort direction.
|
|
382
438
|
Example: true for descending (highest/newest first)
|
|
383
439
|
"""
|
|
384
|
-
@property
|
|
385
|
-
def providers(
|
|
386
|
-
self,
|
|
387
|
-
) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
440
|
+
@_builtins.property
|
|
441
|
+
def providers(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]:
|
|
388
442
|
"""=== Advanced Filters (ANY match) ===
|
|
389
443
|
|
|
390
444
|
Filter by multiple providers.
|
|
391
445
|
Example: ["openai", "anthropic"] for models from either provider
|
|
392
446
|
"""
|
|
393
447
|
|
|
394
|
-
@property
|
|
395
|
-
def model_types(
|
|
396
|
-
self,
|
|
397
|
-
) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
448
|
+
@_builtins.property
|
|
449
|
+
def model_types(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]:
|
|
398
450
|
"""Filter by multiple model types.
|
|
399
451
|
Example: ["chat", "instruct"] for conversational models
|
|
400
452
|
"""
|
|
401
453
|
|
|
402
|
-
@property
|
|
403
|
-
def architectures(
|
|
404
|
-
self,
|
|
405
|
-
) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
454
|
+
@_builtins.property
|
|
455
|
+
def architectures(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]:
|
|
406
456
|
"""Filter by architecture families.
|
|
407
457
|
Example: ["GPT", "LLaMA", "Mistral"] for specific architectures
|
|
408
458
|
"""
|
|
409
459
|
|
|
410
|
-
@property
|
|
460
|
+
@_builtins.property
|
|
411
461
|
def required_capabilities(
|
|
412
462
|
self,
|
|
413
|
-
) ->
|
|
463
|
+
) -> _containers.RepeatedScalarFieldContainer[_builtins.str]:
|
|
414
464
|
"""=== Capability Requirements (ALL must match) ===
|
|
415
465
|
|
|
416
466
|
Required capabilities (model must have all).
|
|
417
467
|
Example: ["function_calling", "vision"] for multi-modal tool-use models
|
|
418
468
|
"""
|
|
419
469
|
|
|
420
|
-
@property
|
|
470
|
+
@_builtins.property
|
|
421
471
|
def required_input_modalities(
|
|
422
472
|
self,
|
|
423
|
-
) ->
|
|
473
|
+
) -> _containers.RepeatedScalarFieldContainer[_builtins.str]:
|
|
424
474
|
"""Required input modalities (model must support all).
|
|
425
475
|
Example: ["text", "image"] for vision-language models
|
|
426
476
|
"""
|
|
427
477
|
|
|
428
|
-
@property
|
|
478
|
+
@_builtins.property
|
|
429
479
|
def required_output_modalities(
|
|
430
480
|
self,
|
|
431
|
-
) ->
|
|
481
|
+
) -> _containers.RepeatedScalarFieldContainer[_builtins.str]:
|
|
432
482
|
"""Required output modalities (model must support all).
|
|
433
483
|
Example: ["text", "code"] for code generation models
|
|
434
484
|
"""
|
|
435
485
|
|
|
436
|
-
@property
|
|
437
|
-
def price_range(self) ->
|
|
486
|
+
@_builtins.property
|
|
487
|
+
def price_range(self) -> Global___PriceRange:
|
|
438
488
|
"""=== Numeric Range Filters ===
|
|
439
489
|
|
|
440
490
|
Price range constraints per 1M tokens.
|
|
441
491
|
"""
|
|
442
492
|
|
|
443
|
-
@property
|
|
444
|
-
def token_range(self) ->
|
|
493
|
+
@_builtins.property
|
|
494
|
+
def token_range(self) -> Global___TokenRange:
|
|
445
495
|
"""Token limit constraints."""
|
|
446
496
|
|
|
447
|
-
@property
|
|
448
|
-
def performance_range(self) ->
|
|
497
|
+
@_builtins.property
|
|
498
|
+
def performance_range(self) -> Global___PerformanceRange:
|
|
449
499
|
"""Minimum performance scores required."""
|
|
450
500
|
|
|
451
501
|
def __init__(
|
|
452
502
|
self,
|
|
453
503
|
*,
|
|
454
|
-
query:
|
|
455
|
-
providers:
|
|
456
|
-
model_types:
|
|
457
|
-
architectures:
|
|
458
|
-
required_capabilities:
|
|
459
|
-
required_input_modalities:
|
|
460
|
-
required_output_modalities:
|
|
461
|
-
price_range:
|
|
462
|
-
token_range:
|
|
463
|
-
performance_range:
|
|
464
|
-
page_size:
|
|
465
|
-
page_token:
|
|
466
|
-
order_by:
|
|
467
|
-
descending:
|
|
468
|
-
) -> None: ...
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
504
|
+
query: _builtins.str | None = ...,
|
|
505
|
+
providers: _abc.Iterable[_builtins.str] | None = ...,
|
|
506
|
+
model_types: _abc.Iterable[_builtins.str] | None = ...,
|
|
507
|
+
architectures: _abc.Iterable[_builtins.str] | None = ...,
|
|
508
|
+
required_capabilities: _abc.Iterable[_builtins.str] | None = ...,
|
|
509
|
+
required_input_modalities: _abc.Iterable[_builtins.str] | None = ...,
|
|
510
|
+
required_output_modalities: _abc.Iterable[_builtins.str] | None = ...,
|
|
511
|
+
price_range: Global___PriceRange | None = ...,
|
|
512
|
+
token_range: Global___TokenRange | None = ...,
|
|
513
|
+
performance_range: Global___PerformanceRange | None = ...,
|
|
514
|
+
page_size: _builtins.int | None = ...,
|
|
515
|
+
page_token: _builtins.str | None = ...,
|
|
516
|
+
order_by: _builtins.str | None = ...,
|
|
517
|
+
descending: _builtins.bool | None = ...,
|
|
518
|
+
) -> None: ...
|
|
519
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
520
|
+
"architectures",
|
|
521
|
+
b"architectures",
|
|
522
|
+
"descending",
|
|
523
|
+
b"descending",
|
|
524
|
+
"model_types",
|
|
525
|
+
b"model_types",
|
|
526
|
+
"order_by",
|
|
527
|
+
b"order_by",
|
|
528
|
+
"page_size",
|
|
529
|
+
b"page_size",
|
|
530
|
+
"page_token",
|
|
531
|
+
b"page_token",
|
|
532
|
+
"performance_range",
|
|
533
|
+
b"performance_range",
|
|
534
|
+
"price_range",
|
|
535
|
+
b"price_range",
|
|
536
|
+
"providers",
|
|
537
|
+
b"providers",
|
|
538
|
+
"query",
|
|
539
|
+
b"query",
|
|
540
|
+
"required_capabilities",
|
|
541
|
+
b"required_capabilities",
|
|
542
|
+
"required_input_modalities",
|
|
543
|
+
b"required_input_modalities",
|
|
544
|
+
"required_output_modalities",
|
|
545
|
+
b"required_output_modalities",
|
|
546
|
+
"token_range",
|
|
547
|
+
b"token_range",
|
|
548
|
+
] # noqa: Y015
|
|
549
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
550
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
551
|
+
"architectures",
|
|
552
|
+
b"architectures",
|
|
553
|
+
"descending",
|
|
554
|
+
b"descending",
|
|
555
|
+
"model_types",
|
|
556
|
+
b"model_types",
|
|
557
|
+
"order_by",
|
|
558
|
+
b"order_by",
|
|
559
|
+
"page_size",
|
|
560
|
+
b"page_size",
|
|
561
|
+
"page_token",
|
|
562
|
+
b"page_token",
|
|
563
|
+
"performance_range",
|
|
564
|
+
b"performance_range",
|
|
565
|
+
"price_range",
|
|
566
|
+
b"price_range",
|
|
567
|
+
"providers",
|
|
568
|
+
b"providers",
|
|
569
|
+
"query",
|
|
570
|
+
b"query",
|
|
571
|
+
"required_capabilities",
|
|
572
|
+
b"required_capabilities",
|
|
573
|
+
"required_input_modalities",
|
|
574
|
+
b"required_input_modalities",
|
|
575
|
+
"required_output_modalities",
|
|
576
|
+
b"required_output_modalities",
|
|
577
|
+
"token_range",
|
|
578
|
+
b"token_range",
|
|
579
|
+
] # noqa: Y015
|
|
580
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
581
|
+
|
|
582
|
+
Global___SearchModelsRequest: _TypeAlias = SearchModelsRequest # noqa: Y015
|
|
583
|
+
|
|
584
|
+
@_typing.final
|
|
585
|
+
class PriceRange(_message.Message):
|
|
518
586
|
"""PriceRange defines min/max price constraints for filtering models."""
|
|
519
587
|
|
|
520
|
-
DESCRIPTOR:
|
|
588
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
521
589
|
|
|
522
|
-
MIN_INPUT_PRICE_FIELD_NUMBER:
|
|
523
|
-
MAX_INPUT_PRICE_FIELD_NUMBER:
|
|
524
|
-
MIN_OUTPUT_PRICE_FIELD_NUMBER:
|
|
525
|
-
MAX_OUTPUT_PRICE_FIELD_NUMBER:
|
|
526
|
-
min_input_price:
|
|
590
|
+
MIN_INPUT_PRICE_FIELD_NUMBER: _builtins.int
|
|
591
|
+
MAX_INPUT_PRICE_FIELD_NUMBER: _builtins.int
|
|
592
|
+
MIN_OUTPUT_PRICE_FIELD_NUMBER: _builtins.int
|
|
593
|
+
MAX_OUTPUT_PRICE_FIELD_NUMBER: _builtins.int
|
|
594
|
+
min_input_price: _builtins.float
|
|
527
595
|
"""Minimum input token price per 1M tokens.
|
|
528
596
|
Example: 0.5 for at least $0.50/1M input tokens
|
|
529
597
|
"""
|
|
530
|
-
max_input_price:
|
|
598
|
+
max_input_price: _builtins.float
|
|
531
599
|
"""Maximum input token price per 1M tokens.
|
|
532
600
|
Example: 10.0 for at most $10/1M input tokens
|
|
533
601
|
"""
|
|
534
|
-
min_output_price:
|
|
602
|
+
min_output_price: _builtins.float
|
|
535
603
|
"""Minimum output token price per 1M tokens.
|
|
536
604
|
Example: 1.0 for at least $1/1M output tokens
|
|
537
605
|
"""
|
|
538
|
-
max_output_price:
|
|
606
|
+
max_output_price: _builtins.float
|
|
539
607
|
"""Maximum output token price per 1M tokens.
|
|
540
608
|
Example: 30.0 for at most $30/1M output tokens
|
|
541
609
|
"""
|
|
542
610
|
def __init__(
|
|
543
611
|
self,
|
|
544
612
|
*,
|
|
545
|
-
min_input_price:
|
|
546
|
-
max_input_price:
|
|
547
|
-
min_output_price:
|
|
548
|
-
max_output_price:
|
|
549
|
-
) -> None: ...
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
613
|
+
min_input_price: _builtins.float | None = ...,
|
|
614
|
+
max_input_price: _builtins.float | None = ...,
|
|
615
|
+
min_output_price: _builtins.float | None = ...,
|
|
616
|
+
max_output_price: _builtins.float | None = ...,
|
|
617
|
+
) -> None: ...
|
|
618
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
619
|
+
"max_input_price",
|
|
620
|
+
b"max_input_price",
|
|
621
|
+
"max_output_price",
|
|
622
|
+
b"max_output_price",
|
|
623
|
+
"min_input_price",
|
|
624
|
+
b"min_input_price",
|
|
625
|
+
"min_output_price",
|
|
626
|
+
b"min_output_price",
|
|
627
|
+
] # noqa: Y015
|
|
628
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
629
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
630
|
+
"max_input_price",
|
|
631
|
+
b"max_input_price",
|
|
632
|
+
"max_output_price",
|
|
633
|
+
b"max_output_price",
|
|
634
|
+
"min_input_price",
|
|
635
|
+
b"min_input_price",
|
|
636
|
+
"min_output_price",
|
|
637
|
+
b"min_output_price",
|
|
638
|
+
] # noqa: Y015
|
|
639
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
640
|
+
|
|
641
|
+
Global___PriceRange: _TypeAlias = PriceRange # noqa: Y015
|
|
642
|
+
|
|
643
|
+
@_typing.final
|
|
644
|
+
class TokenRange(_message.Message):
|
|
568
645
|
"""TokenRange defines min/max token constraints for filtering models."""
|
|
569
646
|
|
|
570
|
-
DESCRIPTOR:
|
|
647
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
571
648
|
|
|
572
|
-
MIN_CONTEXT_WINDOW_FIELD_NUMBER:
|
|
573
|
-
MAX_CONTEXT_WINDOW_FIELD_NUMBER:
|
|
574
|
-
MIN_OUTPUT_TOKENS_FIELD_NUMBER:
|
|
575
|
-
MAX_OUTPUT_TOKENS_FIELD_NUMBER:
|
|
576
|
-
min_context_window:
|
|
649
|
+
MIN_CONTEXT_WINDOW_FIELD_NUMBER: _builtins.int
|
|
650
|
+
MAX_CONTEXT_WINDOW_FIELD_NUMBER: _builtins.int
|
|
651
|
+
MIN_OUTPUT_TOKENS_FIELD_NUMBER: _builtins.int
|
|
652
|
+
MAX_OUTPUT_TOKENS_FIELD_NUMBER: _builtins.int
|
|
653
|
+
min_context_window: _builtins.int
|
|
577
654
|
"""Minimum context window size required.
|
|
578
655
|
Example: 8192 for at least 8k context
|
|
579
656
|
"""
|
|
580
|
-
max_context_window:
|
|
657
|
+
max_context_window: _builtins.int
|
|
581
658
|
"""Maximum context window size allowed.
|
|
582
659
|
Example: 128000 for at most 128k context
|
|
583
660
|
"""
|
|
584
|
-
min_output_tokens:
|
|
661
|
+
min_output_tokens: _builtins.int
|
|
585
662
|
"""Minimum output token limit required.
|
|
586
663
|
Example: 2048 for at least 2k output tokens
|
|
587
664
|
"""
|
|
588
|
-
max_output_tokens:
|
|
665
|
+
max_output_tokens: _builtins.int
|
|
589
666
|
"""Maximum output token limit allowed.
|
|
590
667
|
Example: 16384 for at most 16k output tokens
|
|
591
668
|
"""
|
|
592
669
|
def __init__(
|
|
593
670
|
self,
|
|
594
671
|
*,
|
|
595
|
-
min_context_window:
|
|
596
|
-
max_context_window:
|
|
597
|
-
min_output_tokens:
|
|
598
|
-
max_output_tokens:
|
|
599
|
-
) -> None: ...
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
672
|
+
min_context_window: _builtins.int | None = ...,
|
|
673
|
+
max_context_window: _builtins.int | None = ...,
|
|
674
|
+
min_output_tokens: _builtins.int | None = ...,
|
|
675
|
+
max_output_tokens: _builtins.int | None = ...,
|
|
676
|
+
) -> None: ...
|
|
677
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
678
|
+
"max_context_window",
|
|
679
|
+
b"max_context_window",
|
|
680
|
+
"max_output_tokens",
|
|
681
|
+
b"max_output_tokens",
|
|
682
|
+
"min_context_window",
|
|
683
|
+
b"min_context_window",
|
|
684
|
+
"min_output_tokens",
|
|
685
|
+
b"min_output_tokens",
|
|
686
|
+
] # noqa: Y015
|
|
687
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
688
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
689
|
+
"max_context_window",
|
|
690
|
+
b"max_context_window",
|
|
691
|
+
"max_output_tokens",
|
|
692
|
+
b"max_output_tokens",
|
|
693
|
+
"min_context_window",
|
|
694
|
+
b"min_context_window",
|
|
695
|
+
"min_output_tokens",
|
|
696
|
+
b"min_output_tokens",
|
|
697
|
+
] # noqa: Y015
|
|
698
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
699
|
+
|
|
700
|
+
Global___TokenRange: _TypeAlias = TokenRange # noqa: Y015
|
|
701
|
+
|
|
702
|
+
@_typing.final
|
|
703
|
+
class PerformanceRange(_message.Message):
|
|
618
704
|
"""PerformanceRange defines minimum performance scores for filtering."""
|
|
619
705
|
|
|
620
|
-
DESCRIPTOR:
|
|
706
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
621
707
|
|
|
622
|
-
MIN_REASONING_SCORE_FIELD_NUMBER:
|
|
623
|
-
MIN_CODING_SCORE_FIELD_NUMBER:
|
|
624
|
-
MIN_CREATIVE_SCORE_FIELD_NUMBER:
|
|
625
|
-
MIN_FACTUAL_SCORE_FIELD_NUMBER:
|
|
626
|
-
MIN_MATH_SCORE_FIELD_NUMBER:
|
|
627
|
-
min_reasoning_score:
|
|
708
|
+
MIN_REASONING_SCORE_FIELD_NUMBER: _builtins.int
|
|
709
|
+
MIN_CODING_SCORE_FIELD_NUMBER: _builtins.int
|
|
710
|
+
MIN_CREATIVE_SCORE_FIELD_NUMBER: _builtins.int
|
|
711
|
+
MIN_FACTUAL_SCORE_FIELD_NUMBER: _builtins.int
|
|
712
|
+
MIN_MATH_SCORE_FIELD_NUMBER: _builtins.int
|
|
713
|
+
min_reasoning_score: _builtins.float
|
|
628
714
|
"""Minimum reasoning score (0-10).
|
|
629
715
|
Example: 7.5 for strong reasoning models only
|
|
630
716
|
"""
|
|
631
|
-
min_coding_score:
|
|
717
|
+
min_coding_score: _builtins.float
|
|
632
718
|
"""Minimum coding score (0-10).
|
|
633
719
|
Example: 8.0 for excellent coding models only
|
|
634
720
|
"""
|
|
635
|
-
min_creative_score:
|
|
721
|
+
min_creative_score: _builtins.float
|
|
636
722
|
"""Minimum creative writing score (0-10).
|
|
637
723
|
Example: 7.0 for good creative models only
|
|
638
724
|
"""
|
|
639
|
-
min_factual_score:
|
|
725
|
+
min_factual_score: _builtins.float
|
|
640
726
|
"""Minimum factual accuracy score (0-10).
|
|
641
727
|
Example: 8.5 for highly accurate models only
|
|
642
728
|
"""
|
|
643
|
-
min_math_score:
|
|
729
|
+
min_math_score: _builtins.float
|
|
644
730
|
"""Minimum mathematical ability score (0-10).
|
|
645
731
|
Example: 9.0 for advanced math models only
|
|
646
732
|
"""
|
|
647
733
|
def __init__(
|
|
648
734
|
self,
|
|
649
735
|
*,
|
|
650
|
-
min_reasoning_score:
|
|
651
|
-
min_coding_score:
|
|
652
|
-
min_creative_score:
|
|
653
|
-
min_factual_score:
|
|
654
|
-
min_math_score:
|
|
655
|
-
) -> None: ...
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
736
|
+
min_reasoning_score: _builtins.float | None = ...,
|
|
737
|
+
min_coding_score: _builtins.float | None = ...,
|
|
738
|
+
min_creative_score: _builtins.float | None = ...,
|
|
739
|
+
min_factual_score: _builtins.float | None = ...,
|
|
740
|
+
min_math_score: _builtins.float | None = ...,
|
|
741
|
+
) -> None: ...
|
|
742
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
743
|
+
"min_coding_score",
|
|
744
|
+
b"min_coding_score",
|
|
745
|
+
"min_creative_score",
|
|
746
|
+
b"min_creative_score",
|
|
747
|
+
"min_factual_score",
|
|
748
|
+
b"min_factual_score",
|
|
749
|
+
"min_math_score",
|
|
750
|
+
b"min_math_score",
|
|
751
|
+
"min_reasoning_score",
|
|
752
|
+
b"min_reasoning_score",
|
|
753
|
+
] # noqa: Y015
|
|
754
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
755
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
756
|
+
"min_coding_score",
|
|
757
|
+
b"min_coding_score",
|
|
758
|
+
"min_creative_score",
|
|
759
|
+
b"min_creative_score",
|
|
760
|
+
"min_factual_score",
|
|
761
|
+
b"min_factual_score",
|
|
762
|
+
"min_math_score",
|
|
763
|
+
b"min_math_score",
|
|
764
|
+
"min_reasoning_score",
|
|
765
|
+
b"min_reasoning_score",
|
|
766
|
+
] # noqa: Y015
|
|
767
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
768
|
+
|
|
769
|
+
Global___PerformanceRange: _TypeAlias = PerformanceRange # noqa: Y015
|
|
770
|
+
|
|
771
|
+
@_typing.final
|
|
772
|
+
class SearchModelsResponse(_message.Message):
|
|
773
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
774
|
+
|
|
775
|
+
MODELS_FIELD_NUMBER: _builtins.int
|
|
776
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: _builtins.int
|
|
777
|
+
TOTAL_COUNT_FIELD_NUMBER: _builtins.int
|
|
778
|
+
FACETS_FIELD_NUMBER: _builtins.int
|
|
779
|
+
next_page_token: _builtins.str
|
|
780
|
+
total_count: _builtins.int
|
|
781
|
+
@_builtins.property
|
|
685
782
|
def models(
|
|
686
783
|
self,
|
|
687
|
-
) ->
|
|
688
|
-
|
|
689
|
-
]: ...
|
|
690
|
-
@property
|
|
784
|
+
) -> _containers.RepeatedCompositeFieldContainer[_model_pb2.Model]: ...
|
|
785
|
+
@_builtins.property
|
|
691
786
|
def facets(
|
|
692
787
|
self,
|
|
693
|
-
) ->
|
|
694
|
-
global___FacetResult
|
|
695
|
-
]: ...
|
|
788
|
+
) -> _containers.RepeatedCompositeFieldContainer[Global___FacetResult]: ...
|
|
696
789
|
def __init__(
|
|
697
790
|
self,
|
|
698
791
|
*,
|
|
699
|
-
models:
|
|
700
|
-
next_page_token:
|
|
701
|
-
total_count:
|
|
702
|
-
facets:
|
|
703
|
-
) -> None: ...
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
792
|
+
models: _abc.Iterable[_model_pb2.Model] | None = ...,
|
|
793
|
+
next_page_token: _builtins.str | None = ...,
|
|
794
|
+
total_count: _builtins.int | None = ...,
|
|
795
|
+
facets: _abc.Iterable[Global___FacetResult] | None = ...,
|
|
796
|
+
) -> None: ...
|
|
797
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
798
|
+
"facets",
|
|
799
|
+
b"facets",
|
|
800
|
+
"models",
|
|
801
|
+
b"models",
|
|
802
|
+
"next_page_token",
|
|
803
|
+
b"next_page_token",
|
|
804
|
+
"total_count",
|
|
805
|
+
b"total_count",
|
|
806
|
+
] # noqa: Y015
|
|
807
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
808
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
809
|
+
"facets",
|
|
810
|
+
b"facets",
|
|
811
|
+
"models",
|
|
812
|
+
b"models",
|
|
813
|
+
"next_page_token",
|
|
814
|
+
b"next_page_token",
|
|
815
|
+
"total_count",
|
|
816
|
+
b"total_count",
|
|
817
|
+
] # noqa: Y015
|
|
818
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
819
|
+
|
|
820
|
+
Global___SearchModelsResponse: _TypeAlias = SearchModelsResponse # noqa: Y015
|
|
821
|
+
|
|
822
|
+
@_typing.final
|
|
823
|
+
class FacetResult(_message.Message):
|
|
824
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
825
|
+
|
|
826
|
+
FIELD_FIELD_NUMBER: _builtins.int
|
|
827
|
+
VALUES_FIELD_NUMBER: _builtins.int
|
|
828
|
+
field: _builtins.str
|
|
829
|
+
@_builtins.property
|
|
728
830
|
def values(
|
|
729
831
|
self,
|
|
730
|
-
) ->
|
|
731
|
-
global___FacetValue
|
|
732
|
-
]: ...
|
|
832
|
+
) -> _containers.RepeatedCompositeFieldContainer[Global___FacetValue]: ...
|
|
733
833
|
def __init__(
|
|
734
834
|
self,
|
|
735
835
|
*,
|
|
736
|
-
field:
|
|
737
|
-
values:
|
|
738
|
-
) -> None: ...
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
836
|
+
field: _builtins.str | None = ...,
|
|
837
|
+
values: _abc.Iterable[Global___FacetValue] | None = ...,
|
|
838
|
+
) -> None: ...
|
|
839
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
840
|
+
"field", b"field", "values", b"values"
|
|
841
|
+
] # noqa: Y015
|
|
842
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
843
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
844
|
+
"field", b"field", "values", b"values"
|
|
845
|
+
] # noqa: Y015
|
|
846
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
847
|
+
|
|
848
|
+
Global___FacetResult: _TypeAlias = FacetResult # noqa: Y015
|
|
849
|
+
|
|
850
|
+
@_typing.final
|
|
851
|
+
class FacetValue(_message.Message):
|
|
852
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
853
|
+
|
|
854
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
855
|
+
COUNT_FIELD_NUMBER: _builtins.int
|
|
856
|
+
value: _builtins.str
|
|
857
|
+
count: _builtins.int
|
|
753
858
|
def __init__(
|
|
754
859
|
self,
|
|
755
860
|
*,
|
|
756
|
-
value:
|
|
757
|
-
count:
|
|
758
|
-
) -> None: ...
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
861
|
+
value: _builtins.str | None = ...,
|
|
862
|
+
count: _builtins.int | None = ...,
|
|
863
|
+
) -> None: ...
|
|
864
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["count", b"count", "value", b"value"] # noqa: Y015
|
|
865
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
866
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
867
|
+
"count", b"count", "value", b"value"
|
|
868
|
+
] # noqa: Y015
|
|
869
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
870
|
+
|
|
871
|
+
Global___FacetValue: _TypeAlias = FacetValue # noqa: Y015
|
|
872
|
+
|
|
873
|
+
@_typing.final
|
|
874
|
+
class CompareModelsRequest(_message.Message):
|
|
875
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
876
|
+
|
|
877
|
+
MODEL_SLUGS_FIELD_NUMBER: _builtins.int
|
|
878
|
+
FIELDS_FIELD_NUMBER: _builtins.int
|
|
879
|
+
@_builtins.property
|
|
880
|
+
def model_slugs(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]:
|
|
775
881
|
"""e.g., ["openai/gpt-4o", "anthropic/claude-3-opus"]"""
|
|
776
882
|
|
|
777
|
-
@property
|
|
778
|
-
def fields(
|
|
779
|
-
self,
|
|
780
|
-
) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
883
|
+
@_builtins.property
|
|
884
|
+
def fields(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]:
|
|
781
885
|
"""Optional: specific fields to compare"""
|
|
782
886
|
|
|
783
887
|
def __init__(
|
|
784
888
|
self,
|
|
785
889
|
*,
|
|
786
|
-
model_slugs:
|
|
787
|
-
fields:
|
|
788
|
-
) -> None: ...
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
) ->
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
890
|
+
model_slugs: _abc.Iterable[_builtins.str] | None = ...,
|
|
891
|
+
fields: _abc.Iterable[_builtins.str] | None = ...,
|
|
892
|
+
) -> None: ...
|
|
893
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
894
|
+
"fields", b"fields", "model_slugs", b"model_slugs"
|
|
895
|
+
] # noqa: Y015
|
|
896
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
897
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
898
|
+
"fields", b"fields", "model_slugs", b"model_slugs"
|
|
899
|
+
] # noqa: Y015
|
|
900
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
901
|
+
|
|
902
|
+
Global___CompareModelsRequest: _TypeAlias = CompareModelsRequest # noqa: Y015
|
|
903
|
+
|
|
904
|
+
@_typing.final
|
|
905
|
+
class CompareModelsResponse(_message.Message):
|
|
906
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
907
|
+
|
|
908
|
+
COMPARISONS_FIELD_NUMBER: _builtins.int
|
|
909
|
+
SUMMARY_FIELD_NUMBER: _builtins.int
|
|
910
|
+
@_builtins.property
|
|
803
911
|
def comparisons(
|
|
804
912
|
self,
|
|
805
|
-
) ->
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
@property
|
|
809
|
-
def summary(self) -> global___ComparisonSummary: ...
|
|
913
|
+
) -> _containers.RepeatedCompositeFieldContainer[Global___ModelComparison]: ...
|
|
914
|
+
@_builtins.property
|
|
915
|
+
def summary(self) -> Global___ComparisonSummary: ...
|
|
810
916
|
def __init__(
|
|
811
917
|
self,
|
|
812
918
|
*,
|
|
813
|
-
comparisons:
|
|
814
|
-
summary:
|
|
815
|
-
) -> None: ...
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
def
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
value: builtins.str
|
|
919
|
+
comparisons: _abc.Iterable[Global___ModelComparison] | None = ...,
|
|
920
|
+
summary: Global___ComparisonSummary | None = ...,
|
|
921
|
+
) -> None: ...
|
|
922
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
923
|
+
"comparisons", b"comparisons", "summary", b"summary"
|
|
924
|
+
] # noqa: Y015
|
|
925
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
926
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
927
|
+
"comparisons", b"comparisons", "summary", b"summary"
|
|
928
|
+
] # noqa: Y015
|
|
929
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
930
|
+
|
|
931
|
+
Global___CompareModelsResponse: _TypeAlias = CompareModelsResponse # noqa: Y015
|
|
932
|
+
|
|
933
|
+
@_typing.final
|
|
934
|
+
class ModelComparison(_message.Message):
|
|
935
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
936
|
+
|
|
937
|
+
@_typing.final
|
|
938
|
+
class HighlightedDifferencesEntry(_message.Message):
|
|
939
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
940
|
+
|
|
941
|
+
KEY_FIELD_NUMBER: _builtins.int
|
|
942
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
943
|
+
key: _builtins.str
|
|
944
|
+
value: _builtins.str
|
|
840
945
|
def __init__(
|
|
841
946
|
self,
|
|
842
947
|
*,
|
|
843
|
-
key:
|
|
844
|
-
value:
|
|
948
|
+
key: _builtins.str | None = ...,
|
|
949
|
+
value: _builtins.str | None = ...,
|
|
845
950
|
) -> None: ...
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
951
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015
|
|
952
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
953
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
954
|
+
"key", b"key", "value", b"value"
|
|
955
|
+
] # noqa: Y015
|
|
956
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
957
|
+
|
|
958
|
+
MODEL_FIELD_NUMBER: _builtins.int
|
|
959
|
+
HIGHLIGHTED_DIFFERENCES_FIELD_NUMBER: _builtins.int
|
|
960
|
+
@_builtins.property
|
|
961
|
+
def model(self) -> _model_pb2.Model: ...
|
|
962
|
+
@_builtins.property
|
|
855
963
|
def highlighted_differences(
|
|
856
964
|
self,
|
|
857
|
-
) ->
|
|
965
|
+
) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ...
|
|
858
966
|
def __init__(
|
|
859
967
|
self,
|
|
860
968
|
*,
|
|
861
|
-
model:
|
|
862
|
-
highlighted_differences:
|
|
969
|
+
model: _model_pb2.Model | None = ...,
|
|
970
|
+
highlighted_differences: _abc.Mapping[_builtins.str, _builtins.str]
|
|
863
971
|
| None = ...,
|
|
864
972
|
) -> None: ...
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
def
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
most_capable: builtins.str
|
|
973
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
974
|
+
"highlighted_differences", b"highlighted_differences", "model", b"model"
|
|
975
|
+
] # noqa: Y015
|
|
976
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
977
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
978
|
+
"highlighted_differences", b"highlighted_differences", "model", b"model"
|
|
979
|
+
] # noqa: Y015
|
|
980
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
981
|
+
|
|
982
|
+
Global___ModelComparison: _TypeAlias = ModelComparison # noqa: Y015
|
|
983
|
+
|
|
984
|
+
@_typing.final
|
|
985
|
+
class ComparisonSummary(_message.Message):
|
|
986
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
987
|
+
|
|
988
|
+
CHEAPEST_INPUT_FIELD_NUMBER: _builtins.int
|
|
989
|
+
CHEAPEST_OUTPUT_FIELD_NUMBER: _builtins.int
|
|
990
|
+
LARGEST_CONTEXT_FIELD_NUMBER: _builtins.int
|
|
991
|
+
BEST_REASONING_FIELD_NUMBER: _builtins.int
|
|
992
|
+
BEST_CODING_FIELD_NUMBER: _builtins.int
|
|
993
|
+
MOST_CAPABLE_FIELD_NUMBER: _builtins.int
|
|
994
|
+
cheapest_input: _builtins.str
|
|
995
|
+
cheapest_output: _builtins.str
|
|
996
|
+
largest_context: _builtins.str
|
|
997
|
+
best_reasoning: _builtins.str
|
|
998
|
+
best_coding: _builtins.str
|
|
999
|
+
most_capable: _builtins.str
|
|
893
1000
|
"""most capabilities enabled"""
|
|
894
1001
|
def __init__(
|
|
895
1002
|
self,
|
|
896
1003
|
*,
|
|
897
|
-
cheapest_input:
|
|
898
|
-
cheapest_output:
|
|
899
|
-
largest_context:
|
|
900
|
-
best_reasoning:
|
|
901
|
-
best_coding:
|
|
902
|
-
most_capable:
|
|
903
|
-
) -> None: ...
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
1004
|
+
cheapest_input: _builtins.str | None = ...,
|
|
1005
|
+
cheapest_output: _builtins.str | None = ...,
|
|
1006
|
+
largest_context: _builtins.str | None = ...,
|
|
1007
|
+
best_reasoning: _builtins.str | None = ...,
|
|
1008
|
+
best_coding: _builtins.str | None = ...,
|
|
1009
|
+
most_capable: _builtins.str | None = ...,
|
|
1010
|
+
) -> None: ...
|
|
1011
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
1012
|
+
"best_coding",
|
|
1013
|
+
b"best_coding",
|
|
1014
|
+
"best_reasoning",
|
|
1015
|
+
b"best_reasoning",
|
|
1016
|
+
"cheapest_input",
|
|
1017
|
+
b"cheapest_input",
|
|
1018
|
+
"cheapest_output",
|
|
1019
|
+
b"cheapest_output",
|
|
1020
|
+
"largest_context",
|
|
1021
|
+
b"largest_context",
|
|
1022
|
+
"most_capable",
|
|
1023
|
+
b"most_capable",
|
|
1024
|
+
] # noqa: Y015
|
|
1025
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1026
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
1027
|
+
"best_coding",
|
|
1028
|
+
b"best_coding",
|
|
1029
|
+
"best_reasoning",
|
|
1030
|
+
b"best_reasoning",
|
|
1031
|
+
"cheapest_input",
|
|
1032
|
+
b"cheapest_input",
|
|
1033
|
+
"cheapest_output",
|
|
1034
|
+
b"cheapest_output",
|
|
1035
|
+
"largest_context",
|
|
1036
|
+
b"largest_context",
|
|
1037
|
+
"most_capable",
|
|
1038
|
+
b"most_capable",
|
|
1039
|
+
] # noqa: Y015
|
|
1040
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1041
|
+
|
|
1042
|
+
Global___ComparisonSummary: _TypeAlias = ComparisonSummary # noqa: Y015
|
|
1043
|
+
|
|
1044
|
+
@_typing.final
|
|
1045
|
+
class GetModelPriceHistoryRequest(_message.Message):
|
|
1046
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1047
|
+
|
|
1048
|
+
PROVIDER_FIELD_NUMBER: _builtins.int
|
|
1049
|
+
MODEL_ID_FIELD_NUMBER: _builtins.int
|
|
1050
|
+
DAYS_FIELD_NUMBER: _builtins.int
|
|
1051
|
+
provider: _builtins.str
|
|
1052
|
+
model_id: _builtins.str
|
|
1053
|
+
days: _builtins.int
|
|
934
1054
|
"""Last N days (default 30)"""
|
|
935
1055
|
def __init__(
|
|
936
1056
|
self,
|
|
937
1057
|
*,
|
|
938
|
-
provider:
|
|
939
|
-
model_id:
|
|
940
|
-
days:
|
|
941
|
-
) -> None: ...
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
1058
|
+
provider: _builtins.str | None = ...,
|
|
1059
|
+
model_id: _builtins.str | None = ...,
|
|
1060
|
+
days: _builtins.int | None = ...,
|
|
1061
|
+
) -> None: ...
|
|
1062
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
1063
|
+
"days", b"days", "model_id", b"model_id", "provider", b"provider"
|
|
1064
|
+
] # noqa: Y015
|
|
1065
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1066
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
1067
|
+
"days", b"days", "model_id", b"model_id", "provider", b"provider"
|
|
1068
|
+
] # noqa: Y015
|
|
1069
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1070
|
+
|
|
1071
|
+
Global___GetModelPriceHistoryRequest: _TypeAlias = GetModelPriceHistoryRequest # noqa: Y015
|
|
1072
|
+
|
|
1073
|
+
@_typing.final
|
|
1074
|
+
class GetModelPriceHistoryResponse(_message.Message):
|
|
1075
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1076
|
+
|
|
1077
|
+
PRICE_HISTORY_FIELD_NUMBER: _builtins.int
|
|
1078
|
+
LATEST_CHANGE_FIELD_NUMBER: _builtins.int
|
|
1079
|
+
@_builtins.property
|
|
958
1080
|
def price_history(
|
|
959
1081
|
self,
|
|
960
|
-
) ->
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
@property
|
|
964
|
-
def latest_change(self) -> global___PriceChange: ...
|
|
1082
|
+
) -> _containers.RepeatedCompositeFieldContainer[Global___PricePoint]: ...
|
|
1083
|
+
@_builtins.property
|
|
1084
|
+
def latest_change(self) -> Global___PriceChange: ...
|
|
965
1085
|
def __init__(
|
|
966
1086
|
self,
|
|
967
1087
|
*,
|
|
968
|
-
price_history:
|
|
969
|
-
latest_change:
|
|
970
|
-
) -> None: ...
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
def
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
def timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
1088
|
+
price_history: _abc.Iterable[Global___PricePoint] | None = ...,
|
|
1089
|
+
latest_change: Global___PriceChange | None = ...,
|
|
1090
|
+
) -> None: ...
|
|
1091
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
1092
|
+
"latest_change", b"latest_change", "price_history", b"price_history"
|
|
1093
|
+
] # noqa: Y015
|
|
1094
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1095
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
1096
|
+
"latest_change", b"latest_change", "price_history", b"price_history"
|
|
1097
|
+
] # noqa: Y015
|
|
1098
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1099
|
+
|
|
1100
|
+
Global___GetModelPriceHistoryResponse: _TypeAlias = GetModelPriceHistoryResponse # noqa: Y015
|
|
1101
|
+
|
|
1102
|
+
@_typing.final
|
|
1103
|
+
class PricePoint(_message.Message):
|
|
1104
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1105
|
+
|
|
1106
|
+
TIMESTAMP_FIELD_NUMBER: _builtins.int
|
|
1107
|
+
INPUT_PRICE_FIELD_NUMBER: _builtins.int
|
|
1108
|
+
OUTPUT_PRICE_FIELD_NUMBER: _builtins.int
|
|
1109
|
+
CACHE_READ_PRICE_FIELD_NUMBER: _builtins.int
|
|
1110
|
+
CACHE_WRITE_PRICE_FIELD_NUMBER: _builtins.int
|
|
1111
|
+
input_price: _builtins.float
|
|
1112
|
+
output_price: _builtins.float
|
|
1113
|
+
cache_read_price: _builtins.float
|
|
1114
|
+
cache_write_price: _builtins.float
|
|
1115
|
+
@_builtins.property
|
|
1116
|
+
def timestamp(self) -> _timestamp_pb2.Timestamp: ...
|
|
998
1117
|
def __init__(
|
|
999
1118
|
self,
|
|
1000
1119
|
*,
|
|
1001
|
-
timestamp:
|
|
1002
|
-
input_price:
|
|
1003
|
-
output_price:
|
|
1004
|
-
cache_read_price:
|
|
1005
|
-
cache_write_price:
|
|
1006
|
-
) -> None: ...
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1120
|
+
timestamp: _timestamp_pb2.Timestamp | None = ...,
|
|
1121
|
+
input_price: _builtins.float | None = ...,
|
|
1122
|
+
output_price: _builtins.float | None = ...,
|
|
1123
|
+
cache_read_price: _builtins.float | None = ...,
|
|
1124
|
+
cache_write_price: _builtins.float | None = ...,
|
|
1125
|
+
) -> None: ...
|
|
1126
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
1127
|
+
"cache_read_price",
|
|
1128
|
+
b"cache_read_price",
|
|
1129
|
+
"cache_write_price",
|
|
1130
|
+
b"cache_write_price",
|
|
1131
|
+
"input_price",
|
|
1132
|
+
b"input_price",
|
|
1133
|
+
"output_price",
|
|
1134
|
+
b"output_price",
|
|
1135
|
+
"timestamp",
|
|
1136
|
+
b"timestamp",
|
|
1137
|
+
] # noqa: Y015
|
|
1138
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1139
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
1140
|
+
"cache_read_price",
|
|
1141
|
+
b"cache_read_price",
|
|
1142
|
+
"cache_write_price",
|
|
1143
|
+
b"cache_write_price",
|
|
1144
|
+
"input_price",
|
|
1145
|
+
b"input_price",
|
|
1146
|
+
"output_price",
|
|
1147
|
+
b"output_price",
|
|
1148
|
+
"timestamp",
|
|
1149
|
+
b"timestamp",
|
|
1150
|
+
] # noqa: Y015
|
|
1151
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1152
|
+
|
|
1153
|
+
Global___PricePoint: _TypeAlias = PricePoint # noqa: Y015
|
|
1154
|
+
|
|
1155
|
+
@_typing.final
|
|
1156
|
+
class PriceChange(_message.Message):
|
|
1157
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1158
|
+
|
|
1159
|
+
CHANGED_AT_FIELD_NUMBER: _builtins.int
|
|
1160
|
+
OLD_INPUT_PRICE_FIELD_NUMBER: _builtins.int
|
|
1161
|
+
NEW_INPUT_PRICE_FIELD_NUMBER: _builtins.int
|
|
1162
|
+
OLD_OUTPUT_PRICE_FIELD_NUMBER: _builtins.int
|
|
1163
|
+
NEW_OUTPUT_PRICE_FIELD_NUMBER: _builtins.int
|
|
1164
|
+
INPUT_CHANGE_PERCENT_FIELD_NUMBER: _builtins.int
|
|
1165
|
+
OUTPUT_CHANGE_PERCENT_FIELD_NUMBER: _builtins.int
|
|
1166
|
+
old_input_price: _builtins.float
|
|
1167
|
+
new_input_price: _builtins.float
|
|
1168
|
+
old_output_price: _builtins.float
|
|
1169
|
+
new_output_price: _builtins.float
|
|
1170
|
+
input_change_percent: _builtins.float
|
|
1171
|
+
output_change_percent: _builtins.float
|
|
1172
|
+
@_builtins.property
|
|
1173
|
+
def changed_at(self) -> _timestamp_pb2.Timestamp: ...
|
|
1047
1174
|
def __init__(
|
|
1048
1175
|
self,
|
|
1049
1176
|
*,
|
|
1050
|
-
changed_at:
|
|
1051
|
-
old_input_price:
|
|
1052
|
-
new_input_price:
|
|
1053
|
-
old_output_price:
|
|
1054
|
-
new_output_price:
|
|
1055
|
-
input_change_percent:
|
|
1056
|
-
output_change_percent:
|
|
1057
|
-
) -> None: ...
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1177
|
+
changed_at: _timestamp_pb2.Timestamp | None = ...,
|
|
1178
|
+
old_input_price: _builtins.float | None = ...,
|
|
1179
|
+
new_input_price: _builtins.float | None = ...,
|
|
1180
|
+
old_output_price: _builtins.float | None = ...,
|
|
1181
|
+
new_output_price: _builtins.float | None = ...,
|
|
1182
|
+
input_change_percent: _builtins.float | None = ...,
|
|
1183
|
+
output_change_percent: _builtins.float | None = ...,
|
|
1184
|
+
) -> None: ...
|
|
1185
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
1186
|
+
"changed_at",
|
|
1187
|
+
b"changed_at",
|
|
1188
|
+
"input_change_percent",
|
|
1189
|
+
b"input_change_percent",
|
|
1190
|
+
"new_input_price",
|
|
1191
|
+
b"new_input_price",
|
|
1192
|
+
"new_output_price",
|
|
1193
|
+
b"new_output_price",
|
|
1194
|
+
"old_input_price",
|
|
1195
|
+
b"old_input_price",
|
|
1196
|
+
"old_output_price",
|
|
1197
|
+
b"old_output_price",
|
|
1198
|
+
"output_change_percent",
|
|
1199
|
+
b"output_change_percent",
|
|
1200
|
+
] # noqa: Y015
|
|
1201
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1202
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
1203
|
+
"changed_at",
|
|
1204
|
+
b"changed_at",
|
|
1205
|
+
"input_change_percent",
|
|
1206
|
+
b"input_change_percent",
|
|
1207
|
+
"new_input_price",
|
|
1208
|
+
b"new_input_price",
|
|
1209
|
+
"new_output_price",
|
|
1210
|
+
b"new_output_price",
|
|
1211
|
+
"old_input_price",
|
|
1212
|
+
b"old_input_price",
|
|
1213
|
+
"old_output_price",
|
|
1214
|
+
b"old_output_price",
|
|
1215
|
+
"output_change_percent",
|
|
1216
|
+
b"output_change_percent",
|
|
1217
|
+
] # noqa: Y015
|
|
1218
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1219
|
+
|
|
1220
|
+
Global___PriceChange: _TypeAlias = PriceChange # noqa: Y015
|
|
1221
|
+
|
|
1222
|
+
@_typing.final
|
|
1223
|
+
class GetModelChangesRequest(_message.Message):
|
|
1224
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1225
|
+
|
|
1226
|
+
PROVIDER_FIELD_NUMBER: _builtins.int
|
|
1227
|
+
MODEL_ID_FIELD_NUMBER: _builtins.int
|
|
1228
|
+
LIMIT_FIELD_NUMBER: _builtins.int
|
|
1229
|
+
provider: _builtins.str
|
|
1230
|
+
model_id: _builtins.str
|
|
1231
|
+
limit: _builtins.int
|
|
1093
1232
|
"""Default 20"""
|
|
1094
1233
|
def __init__(
|
|
1095
1234
|
self,
|
|
1096
1235
|
*,
|
|
1097
|
-
provider:
|
|
1098
|
-
model_id:
|
|
1099
|
-
limit:
|
|
1100
|
-
) -> None: ...
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1236
|
+
provider: _builtins.str | None = ...,
|
|
1237
|
+
model_id: _builtins.str | None = ...,
|
|
1238
|
+
limit: _builtins.int | None = ...,
|
|
1239
|
+
) -> None: ...
|
|
1240
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
1241
|
+
"limit", b"limit", "model_id", b"model_id", "provider", b"provider"
|
|
1242
|
+
] # noqa: Y015
|
|
1243
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1244
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
1245
|
+
"limit", b"limit", "model_id", b"model_id", "provider", b"provider"
|
|
1246
|
+
] # noqa: Y015
|
|
1247
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1248
|
+
|
|
1249
|
+
Global___GetModelChangesRequest: _TypeAlias = GetModelChangesRequest # noqa: Y015
|
|
1250
|
+
|
|
1251
|
+
@_typing.final
|
|
1252
|
+
class GetModelChangesResponse(_message.Message):
|
|
1253
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1254
|
+
|
|
1255
|
+
CHANGES_FIELD_NUMBER: _builtins.int
|
|
1256
|
+
@_builtins.property
|
|
1116
1257
|
def changes(
|
|
1117
1258
|
self,
|
|
1118
|
-
) ->
|
|
1119
|
-
global___ModelChange
|
|
1120
|
-
]: ...
|
|
1259
|
+
) -> _containers.RepeatedCompositeFieldContainer[Global___ModelChange]: ...
|
|
1121
1260
|
def __init__(
|
|
1122
1261
|
self,
|
|
1123
1262
|
*,
|
|
1124
|
-
changes:
|
|
1125
|
-
) -> None: ...
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1263
|
+
changes: _abc.Iterable[Global___ModelChange] | None = ...,
|
|
1264
|
+
) -> None: ...
|
|
1265
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["changes", b"changes"] # noqa: Y015
|
|
1266
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1267
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["changes", b"changes"] # noqa: Y015
|
|
1268
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1269
|
+
|
|
1270
|
+
Global___GetModelChangesResponse: _TypeAlias = GetModelChangesResponse # noqa: Y015
|
|
1271
|
+
|
|
1272
|
+
@_typing.final
|
|
1273
|
+
class ModelChange(_message.Message):
|
|
1274
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1275
|
+
|
|
1276
|
+
ID_FIELD_NUMBER: _builtins.int
|
|
1277
|
+
FIELD_NAME_FIELD_NUMBER: _builtins.int
|
|
1278
|
+
OLD_VALUE_FIELD_NUMBER: _builtins.int
|
|
1279
|
+
NEW_VALUE_FIELD_NUMBER: _builtins.int
|
|
1280
|
+
CHANGE_TYPE_FIELD_NUMBER: _builtins.int
|
|
1281
|
+
DETECTED_AT_FIELD_NUMBER: _builtins.int
|
|
1282
|
+
id: _builtins.str
|
|
1283
|
+
field_name: _builtins.str
|
|
1284
|
+
old_value: _builtins.str
|
|
1285
|
+
new_value: _builtins.str
|
|
1286
|
+
change_type: _builtins.str
|
|
1145
1287
|
"""added, updated, deprecated, removed"""
|
|
1146
|
-
@property
|
|
1147
|
-
def detected_at(self) ->
|
|
1288
|
+
@_builtins.property
|
|
1289
|
+
def detected_at(self) -> _timestamp_pb2.Timestamp: ...
|
|
1148
1290
|
def __init__(
|
|
1149
1291
|
self,
|
|
1150
1292
|
*,
|
|
1151
|
-
id:
|
|
1152
|
-
field_name:
|
|
1153
|
-
old_value:
|
|
1154
|
-
new_value:
|
|
1155
|
-
change_type:
|
|
1156
|
-
detected_at:
|
|
1157
|
-
) -> None: ...
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
field_name
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1293
|
+
id: _builtins.str | None = ...,
|
|
1294
|
+
field_name: _builtins.str | None = ...,
|
|
1295
|
+
old_value: _builtins.str | None = ...,
|
|
1296
|
+
new_value: _builtins.str | None = ...,
|
|
1297
|
+
change_type: _builtins.str | None = ...,
|
|
1298
|
+
detected_at: _timestamp_pb2.Timestamp | None = ...,
|
|
1299
|
+
) -> None: ...
|
|
1300
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
1301
|
+
"change_type",
|
|
1302
|
+
b"change_type",
|
|
1303
|
+
"detected_at",
|
|
1304
|
+
b"detected_at",
|
|
1305
|
+
"field_name",
|
|
1306
|
+
b"field_name",
|
|
1307
|
+
"id",
|
|
1308
|
+
b"id",
|
|
1309
|
+
"new_value",
|
|
1310
|
+
b"new_value",
|
|
1311
|
+
"old_value",
|
|
1312
|
+
b"old_value",
|
|
1313
|
+
] # noqa: Y015
|
|
1314
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1315
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
1316
|
+
"change_type",
|
|
1317
|
+
b"change_type",
|
|
1318
|
+
"detected_at",
|
|
1319
|
+
b"detected_at",
|
|
1320
|
+
"field_name",
|
|
1321
|
+
b"field_name",
|
|
1322
|
+
"id",
|
|
1323
|
+
b"id",
|
|
1324
|
+
"new_value",
|
|
1325
|
+
b"new_value",
|
|
1326
|
+
"old_value",
|
|
1327
|
+
b"old_value",
|
|
1328
|
+
] # noqa: Y015
|
|
1329
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1330
|
+
|
|
1331
|
+
Global___ModelChange: _TypeAlias = ModelChange # noqa: Y015
|
|
1332
|
+
|
|
1333
|
+
@_typing.final
|
|
1334
|
+
class GetTrendingModelsRequest(_message.Message):
|
|
1335
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1336
|
+
|
|
1337
|
+
PERIOD_DAYS_FIELD_NUMBER: _builtins.int
|
|
1338
|
+
LIMIT_FIELD_NUMBER: _builtins.int
|
|
1339
|
+
period_days: _builtins.int
|
|
1188
1340
|
"""1, 7, 30"""
|
|
1189
|
-
limit:
|
|
1341
|
+
limit: _builtins.int
|
|
1190
1342
|
"""Default 10"""
|
|
1191
1343
|
def __init__(
|
|
1192
1344
|
self,
|
|
1193
1345
|
*,
|
|
1194
|
-
period_days:
|
|
1195
|
-
limit:
|
|
1196
|
-
) -> None: ...
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
) ->
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1346
|
+
period_days: _builtins.int | None = ...,
|
|
1347
|
+
limit: _builtins.int | None = ...,
|
|
1348
|
+
) -> None: ...
|
|
1349
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
1350
|
+
"limit", b"limit", "period_days", b"period_days"
|
|
1351
|
+
] # noqa: Y015
|
|
1352
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1353
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
1354
|
+
"limit", b"limit", "period_days", b"period_days"
|
|
1355
|
+
] # noqa: Y015
|
|
1356
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1357
|
+
|
|
1358
|
+
Global___GetTrendingModelsRequest: _TypeAlias = GetTrendingModelsRequest # noqa: Y015
|
|
1359
|
+
|
|
1360
|
+
@_typing.final
|
|
1361
|
+
class GetTrendingModelsResponse(_message.Message):
|
|
1362
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1363
|
+
|
|
1364
|
+
MODELS_FIELD_NUMBER: _builtins.int
|
|
1365
|
+
@_builtins.property
|
|
1210
1366
|
def models(
|
|
1211
1367
|
self,
|
|
1212
|
-
) ->
|
|
1213
|
-
global___TrendingModel
|
|
1214
|
-
]: ...
|
|
1368
|
+
) -> _containers.RepeatedCompositeFieldContainer[Global___TrendingModel]: ...
|
|
1215
1369
|
def __init__(
|
|
1216
1370
|
self,
|
|
1217
1371
|
*,
|
|
1218
|
-
models:
|
|
1219
|
-
) -> None: ...
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1372
|
+
models: _abc.Iterable[Global___TrendingModel] | None = ...,
|
|
1373
|
+
) -> None: ...
|
|
1374
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["models", b"models"] # noqa: Y015
|
|
1375
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1376
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["models", b"models"] # noqa: Y015
|
|
1377
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1378
|
+
|
|
1379
|
+
Global___GetTrendingModelsResponse: _TypeAlias = GetTrendingModelsResponse # noqa: Y015
|
|
1380
|
+
|
|
1381
|
+
@_typing.final
|
|
1382
|
+
class TrendingModel(_message.Message):
|
|
1383
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1384
|
+
|
|
1385
|
+
MODEL_FIELD_NUMBER: _builtins.int
|
|
1386
|
+
API_CALLS_FIELD_NUMBER: _builtins.int
|
|
1387
|
+
UNIQUE_USERS_FIELD_NUMBER: _builtins.int
|
|
1388
|
+
GROWTH_RATE_FIELD_NUMBER: _builtins.int
|
|
1389
|
+
RANK_FIELD_NUMBER: _builtins.int
|
|
1390
|
+
api_calls: _builtins.int
|
|
1391
|
+
unique_users: _builtins.int
|
|
1392
|
+
growth_rate: _builtins.float
|
|
1236
1393
|
"""Percentage"""
|
|
1237
|
-
rank:
|
|
1238
|
-
@property
|
|
1239
|
-
def model(self) ->
|
|
1394
|
+
rank: _builtins.int
|
|
1395
|
+
@_builtins.property
|
|
1396
|
+
def model(self) -> _model_pb2.Model: ...
|
|
1240
1397
|
def __init__(
|
|
1241
1398
|
self,
|
|
1242
1399
|
*,
|
|
1243
|
-
model:
|
|
1244
|
-
api_calls:
|
|
1245
|
-
unique_users:
|
|
1246
|
-
growth_rate:
|
|
1247
|
-
rank:
|
|
1248
|
-
) -> None: ...
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1400
|
+
model: _model_pb2.Model | None = ...,
|
|
1401
|
+
api_calls: _builtins.int | None = ...,
|
|
1402
|
+
unique_users: _builtins.int | None = ...,
|
|
1403
|
+
growth_rate: _builtins.float | None = ...,
|
|
1404
|
+
rank: _builtins.int | None = ...,
|
|
1405
|
+
) -> None: ...
|
|
1406
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
1407
|
+
"api_calls",
|
|
1408
|
+
b"api_calls",
|
|
1409
|
+
"growth_rate",
|
|
1410
|
+
b"growth_rate",
|
|
1411
|
+
"model",
|
|
1412
|
+
b"model",
|
|
1413
|
+
"rank",
|
|
1414
|
+
b"rank",
|
|
1415
|
+
"unique_users",
|
|
1416
|
+
b"unique_users",
|
|
1417
|
+
] # noqa: Y015
|
|
1418
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1419
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
1420
|
+
"api_calls",
|
|
1421
|
+
b"api_calls",
|
|
1422
|
+
"growth_rate",
|
|
1423
|
+
b"growth_rate",
|
|
1424
|
+
"model",
|
|
1425
|
+
b"model",
|
|
1426
|
+
"rank",
|
|
1427
|
+
b"rank",
|
|
1428
|
+
"unique_users",
|
|
1429
|
+
b"unique_users",
|
|
1430
|
+
] # noqa: Y015
|
|
1431
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1432
|
+
|
|
1433
|
+
Global___TrendingModel: _TypeAlias = TrendingModel # noqa: Y015
|
|
1434
|
+
|
|
1435
|
+
@_typing.final
|
|
1436
|
+
class GetRecentUpdatesRequest(_message.Message):
|
|
1437
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1438
|
+
|
|
1439
|
+
HOURS_FIELD_NUMBER: _builtins.int
|
|
1440
|
+
PROVIDERS_FIELD_NUMBER: _builtins.int
|
|
1441
|
+
CHANGE_TYPES_FIELD_NUMBER: _builtins.int
|
|
1442
|
+
LIMIT_FIELD_NUMBER: _builtins.int
|
|
1443
|
+
hours: _builtins.int
|
|
1279
1444
|
"""Last N hours (default 24)"""
|
|
1280
|
-
limit:
|
|
1445
|
+
limit: _builtins.int
|
|
1281
1446
|
"""Default 50"""
|
|
1282
|
-
@property
|
|
1283
|
-
def providers(
|
|
1284
|
-
self,
|
|
1285
|
-
) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
1447
|
+
@_builtins.property
|
|
1448
|
+
def providers(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]:
|
|
1286
1449
|
"""Filter by providers"""
|
|
1287
1450
|
|
|
1288
|
-
@property
|
|
1289
|
-
def change_types(
|
|
1290
|
-
self,
|
|
1291
|
-
) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
1451
|
+
@_builtins.property
|
|
1452
|
+
def change_types(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]:
|
|
1292
1453
|
"""added, updated, deprecated, removed"""
|
|
1293
1454
|
|
|
1294
1455
|
def __init__(
|
|
1295
1456
|
self,
|
|
1296
1457
|
*,
|
|
1297
|
-
hours:
|
|
1298
|
-
providers:
|
|
1299
|
-
change_types:
|
|
1300
|
-
limit:
|
|
1301
|
-
) -> None: ...
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1458
|
+
hours: _builtins.int | None = ...,
|
|
1459
|
+
providers: _abc.Iterable[_builtins.str] | None = ...,
|
|
1460
|
+
change_types: _abc.Iterable[_builtins.str] | None = ...,
|
|
1461
|
+
limit: _builtins.int | None = ...,
|
|
1462
|
+
) -> None: ...
|
|
1463
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
1464
|
+
"change_types",
|
|
1465
|
+
b"change_types",
|
|
1466
|
+
"hours",
|
|
1467
|
+
b"hours",
|
|
1468
|
+
"limit",
|
|
1469
|
+
b"limit",
|
|
1470
|
+
"providers",
|
|
1471
|
+
b"providers",
|
|
1472
|
+
] # noqa: Y015
|
|
1473
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1474
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
1475
|
+
"change_types",
|
|
1476
|
+
b"change_types",
|
|
1477
|
+
"hours",
|
|
1478
|
+
b"hours",
|
|
1479
|
+
"limit",
|
|
1480
|
+
b"limit",
|
|
1481
|
+
"providers",
|
|
1482
|
+
b"providers",
|
|
1483
|
+
] # noqa: Y015
|
|
1484
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1485
|
+
|
|
1486
|
+
Global___GetRecentUpdatesRequest: _TypeAlias = GetRecentUpdatesRequest # noqa: Y015
|
|
1487
|
+
|
|
1488
|
+
@_typing.final
|
|
1489
|
+
class GetRecentUpdatesResponse(_message.Message):
|
|
1490
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1491
|
+
|
|
1492
|
+
UPDATES_FIELD_NUMBER: _builtins.int
|
|
1493
|
+
@_builtins.property
|
|
1324
1494
|
def updates(
|
|
1325
1495
|
self,
|
|
1326
|
-
) ->
|
|
1327
|
-
global___UpdateEntry
|
|
1328
|
-
]: ...
|
|
1496
|
+
) -> _containers.RepeatedCompositeFieldContainer[Global___UpdateEntry]: ...
|
|
1329
1497
|
def __init__(
|
|
1330
1498
|
self,
|
|
1331
1499
|
*,
|
|
1332
|
-
updates:
|
|
1333
|
-
) -> None: ...
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1500
|
+
updates: _abc.Iterable[Global___UpdateEntry] | None = ...,
|
|
1501
|
+
) -> None: ...
|
|
1502
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["updates", b"updates"] # noqa: Y015
|
|
1503
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1504
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["updates", b"updates"] # noqa: Y015
|
|
1505
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1506
|
+
|
|
1507
|
+
Global___GetRecentUpdatesResponse: _TypeAlias = GetRecentUpdatesResponse # noqa: Y015
|
|
1508
|
+
|
|
1509
|
+
@_typing.final
|
|
1510
|
+
class UpdateEntry(_message.Message):
|
|
1511
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1512
|
+
|
|
1513
|
+
MODEL_SLUG_FIELD_NUMBER: _builtins.int
|
|
1514
|
+
MODEL_NAME_FIELD_NUMBER: _builtins.int
|
|
1515
|
+
PROVIDER_NAME_FIELD_NUMBER: _builtins.int
|
|
1516
|
+
CHANGE_TYPE_FIELD_NUMBER: _builtins.int
|
|
1517
|
+
FIELD_NAME_FIELD_NUMBER: _builtins.int
|
|
1518
|
+
OLD_VALUE_FIELD_NUMBER: _builtins.int
|
|
1519
|
+
NEW_VALUE_FIELD_NUMBER: _builtins.int
|
|
1520
|
+
SUMMARY_FIELD_NUMBER: _builtins.int
|
|
1521
|
+
DETECTED_AT_FIELD_NUMBER: _builtins.int
|
|
1522
|
+
model_slug: _builtins.str
|
|
1523
|
+
model_name: _builtins.str
|
|
1524
|
+
provider_name: _builtins.str
|
|
1525
|
+
change_type: _builtins.str
|
|
1526
|
+
field_name: _builtins.str
|
|
1527
|
+
old_value: _builtins.str
|
|
1528
|
+
new_value: _builtins.str
|
|
1529
|
+
summary: _builtins.str
|
|
1359
1530
|
"""Human-readable summary"""
|
|
1360
|
-
@property
|
|
1361
|
-
def detected_at(self) ->
|
|
1531
|
+
@_builtins.property
|
|
1532
|
+
def detected_at(self) -> _timestamp_pb2.Timestamp: ...
|
|
1362
1533
|
def __init__(
|
|
1363
1534
|
self,
|
|
1364
1535
|
*,
|
|
1365
|
-
model_slug:
|
|
1366
|
-
model_name:
|
|
1367
|
-
provider_name:
|
|
1368
|
-
change_type:
|
|
1369
|
-
field_name:
|
|
1370
|
-
old_value:
|
|
1371
|
-
new_value:
|
|
1372
|
-
summary:
|
|
1373
|
-
detected_at:
|
|
1374
|
-
) -> None: ...
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
field_name
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1536
|
+
model_slug: _builtins.str | None = ...,
|
|
1537
|
+
model_name: _builtins.str | None = ...,
|
|
1538
|
+
provider_name: _builtins.str | None = ...,
|
|
1539
|
+
change_type: _builtins.str | None = ...,
|
|
1540
|
+
field_name: _builtins.str | None = ...,
|
|
1541
|
+
old_value: _builtins.str | None = ...,
|
|
1542
|
+
new_value: _builtins.str | None = ...,
|
|
1543
|
+
summary: _builtins.str | None = ...,
|
|
1544
|
+
detected_at: _timestamp_pb2.Timestamp | None = ...,
|
|
1545
|
+
) -> None: ...
|
|
1546
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
1547
|
+
"change_type",
|
|
1548
|
+
b"change_type",
|
|
1549
|
+
"detected_at",
|
|
1550
|
+
b"detected_at",
|
|
1551
|
+
"field_name",
|
|
1552
|
+
b"field_name",
|
|
1553
|
+
"model_name",
|
|
1554
|
+
b"model_name",
|
|
1555
|
+
"model_slug",
|
|
1556
|
+
b"model_slug",
|
|
1557
|
+
"new_value",
|
|
1558
|
+
b"new_value",
|
|
1559
|
+
"old_value",
|
|
1560
|
+
b"old_value",
|
|
1561
|
+
"provider_name",
|
|
1562
|
+
b"provider_name",
|
|
1563
|
+
"summary",
|
|
1564
|
+
b"summary",
|
|
1565
|
+
] # noqa: Y015
|
|
1566
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1567
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
1568
|
+
"change_type",
|
|
1569
|
+
b"change_type",
|
|
1570
|
+
"detected_at",
|
|
1571
|
+
b"detected_at",
|
|
1572
|
+
"field_name",
|
|
1573
|
+
b"field_name",
|
|
1574
|
+
"model_name",
|
|
1575
|
+
b"model_name",
|
|
1576
|
+
"model_slug",
|
|
1577
|
+
b"model_slug",
|
|
1578
|
+
"new_value",
|
|
1579
|
+
b"new_value",
|
|
1580
|
+
"old_value",
|
|
1581
|
+
b"old_value",
|
|
1582
|
+
"provider_name",
|
|
1583
|
+
b"provider_name",
|
|
1584
|
+
"summary",
|
|
1585
|
+
b"summary",
|
|
1586
|
+
] # noqa: Y015
|
|
1587
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1588
|
+
|
|
1589
|
+
Global___UpdateEntry: _TypeAlias = UpdateEntry # noqa: Y015
|
|
1590
|
+
|
|
1591
|
+
@_typing.final
|
|
1592
|
+
class ExportDataRequest(_message.Message):
|
|
1593
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1594
|
+
|
|
1595
|
+
FORMAT_FIELD_NUMBER: _builtins.int
|
|
1596
|
+
PROVIDERS_FIELD_NUMBER: _builtins.int
|
|
1597
|
+
INCLUDE_INACTIVE_FIELD_NUMBER: _builtins.int
|
|
1598
|
+
format: _builtins.str
|
|
1412
1599
|
""""json", "csv", "yaml" """
|
|
1413
|
-
include_inactive:
|
|
1414
|
-
@property
|
|
1415
|
-
def providers(
|
|
1416
|
-
self,
|
|
1417
|
-
) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
1600
|
+
include_inactive: _builtins.bool
|
|
1601
|
+
@_builtins.property
|
|
1602
|
+
def providers(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]:
|
|
1418
1603
|
"""Optional filter"""
|
|
1419
1604
|
|
|
1420
1605
|
def __init__(
|
|
1421
1606
|
self,
|
|
1422
1607
|
*,
|
|
1423
|
-
format:
|
|
1424
|
-
providers:
|
|
1425
|
-
include_inactive:
|
|
1426
|
-
) -> None: ...
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1608
|
+
format: _builtins.str | None = ...,
|
|
1609
|
+
providers: _abc.Iterable[_builtins.str] | None = ...,
|
|
1610
|
+
include_inactive: _builtins.bool | None = ...,
|
|
1611
|
+
) -> None: ...
|
|
1612
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
1613
|
+
"format",
|
|
1614
|
+
b"format",
|
|
1615
|
+
"include_inactive",
|
|
1616
|
+
b"include_inactive",
|
|
1617
|
+
"providers",
|
|
1618
|
+
b"providers",
|
|
1619
|
+
] # noqa: Y015
|
|
1620
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1621
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
1622
|
+
"format",
|
|
1623
|
+
b"format",
|
|
1624
|
+
"include_inactive",
|
|
1625
|
+
b"include_inactive",
|
|
1626
|
+
"providers",
|
|
1627
|
+
b"providers",
|
|
1628
|
+
] # noqa: Y015
|
|
1629
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1630
|
+
|
|
1631
|
+
Global___ExportDataRequest: _TypeAlias = ExportDataRequest # noqa: Y015
|
|
1632
|
+
|
|
1633
|
+
@_typing.final
|
|
1634
|
+
class ExportDataResponse(_message.Message):
|
|
1635
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1636
|
+
|
|
1637
|
+
DATA_FIELD_NUMBER: _builtins.int
|
|
1638
|
+
CONTENT_TYPE_FIELD_NUMBER: _builtins.int
|
|
1639
|
+
FILENAME_FIELD_NUMBER: _builtins.int
|
|
1640
|
+
MODEL_COUNT_FIELD_NUMBER: _builtins.int
|
|
1641
|
+
GENERATED_AT_FIELD_NUMBER: _builtins.int
|
|
1642
|
+
data: _builtins.bytes
|
|
1643
|
+
content_type: _builtins.str
|
|
1644
|
+
filename: _builtins.str
|
|
1645
|
+
model_count: _builtins.int
|
|
1646
|
+
@_builtins.property
|
|
1647
|
+
def generated_at(self) -> _timestamp_pb2.Timestamp: ...
|
|
1456
1648
|
def __init__(
|
|
1457
1649
|
self,
|
|
1458
1650
|
*,
|
|
1459
|
-
data:
|
|
1460
|
-
content_type:
|
|
1461
|
-
filename:
|
|
1462
|
-
model_count:
|
|
1463
|
-
generated_at:
|
|
1464
|
-
) -> None: ...
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1651
|
+
data: _builtins.bytes | None = ...,
|
|
1652
|
+
content_type: _builtins.str | None = ...,
|
|
1653
|
+
filename: _builtins.str | None = ...,
|
|
1654
|
+
model_count: _builtins.int | None = ...,
|
|
1655
|
+
generated_at: _timestamp_pb2.Timestamp | None = ...,
|
|
1656
|
+
) -> None: ...
|
|
1657
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
1658
|
+
"content_type",
|
|
1659
|
+
b"content_type",
|
|
1660
|
+
"data",
|
|
1661
|
+
b"data",
|
|
1662
|
+
"filename",
|
|
1663
|
+
b"filename",
|
|
1664
|
+
"generated_at",
|
|
1665
|
+
b"generated_at",
|
|
1666
|
+
"model_count",
|
|
1667
|
+
b"model_count",
|
|
1668
|
+
] # noqa: Y015
|
|
1669
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1670
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
1671
|
+
"content_type",
|
|
1672
|
+
b"content_type",
|
|
1673
|
+
"data",
|
|
1674
|
+
b"data",
|
|
1675
|
+
"filename",
|
|
1676
|
+
b"filename",
|
|
1677
|
+
"generated_at",
|
|
1678
|
+
b"generated_at",
|
|
1679
|
+
"model_count",
|
|
1680
|
+
b"model_count",
|
|
1681
|
+
] # noqa: Y015
|
|
1682
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1683
|
+
|
|
1684
|
+
Global___ExportDataResponse: _TypeAlias = ExportDataResponse # noqa: Y015
|
|
1685
|
+
|
|
1686
|
+
@_typing.final
|
|
1687
|
+
class GetStatisticsRequest(_message.Message):
|
|
1488
1688
|
"""Empty for now, might add filters later"""
|
|
1489
1689
|
|
|
1490
|
-
DESCRIPTOR:
|
|
1690
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1491
1691
|
|
|
1492
1692
|
def __init__(
|
|
1493
1693
|
self,
|
|
1494
1694
|
) -> None: ...
|
|
1495
1695
|
|
|
1496
|
-
|
|
1696
|
+
Global___GetStatisticsRequest: _TypeAlias = GetStatisticsRequest # noqa: Y015
|
|
1497
1697
|
|
|
1498
|
-
@
|
|
1499
|
-
class GetStatisticsResponse(
|
|
1500
|
-
DESCRIPTOR:
|
|
1698
|
+
@_typing.final
|
|
1699
|
+
class GetStatisticsResponse(_message.Message):
|
|
1700
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1501
1701
|
|
|
1502
|
-
OVERALL_FIELD_NUMBER:
|
|
1503
|
-
BY_PROVIDER_FIELD_NUMBER:
|
|
1504
|
-
BY_TYPE_FIELD_NUMBER:
|
|
1505
|
-
PRICING_FIELD_NUMBER:
|
|
1506
|
-
RECENT_ACTIVITY_FIELD_NUMBER:
|
|
1507
|
-
@property
|
|
1508
|
-
def overall(self) ->
|
|
1509
|
-
@property
|
|
1702
|
+
OVERALL_FIELD_NUMBER: _builtins.int
|
|
1703
|
+
BY_PROVIDER_FIELD_NUMBER: _builtins.int
|
|
1704
|
+
BY_TYPE_FIELD_NUMBER: _builtins.int
|
|
1705
|
+
PRICING_FIELD_NUMBER: _builtins.int
|
|
1706
|
+
RECENT_ACTIVITY_FIELD_NUMBER: _builtins.int
|
|
1707
|
+
@_builtins.property
|
|
1708
|
+
def overall(self) -> Global___OverallStats: ...
|
|
1709
|
+
@_builtins.property
|
|
1510
1710
|
def by_provider(
|
|
1511
1711
|
self,
|
|
1512
|
-
) ->
|
|
1513
|
-
|
|
1514
|
-
]: ...
|
|
1515
|
-
@property
|
|
1712
|
+
) -> _containers.RepeatedCompositeFieldContainer[Global___ProviderStats]: ...
|
|
1713
|
+
@_builtins.property
|
|
1516
1714
|
def by_type(
|
|
1517
1715
|
self,
|
|
1518
|
-
) ->
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
@property
|
|
1522
|
-
def pricing(self) -> global___PricingStats: ...
|
|
1523
|
-
@property
|
|
1716
|
+
) -> _containers.RepeatedCompositeFieldContainer[Global___TypeStats]: ...
|
|
1717
|
+
@_builtins.property
|
|
1718
|
+
def pricing(self) -> Global___PricingStats: ...
|
|
1719
|
+
@_builtins.property
|
|
1524
1720
|
def recent_activity(
|
|
1525
1721
|
self,
|
|
1526
|
-
) ->
|
|
1527
|
-
global___RecentActivity
|
|
1528
|
-
]: ...
|
|
1722
|
+
) -> _containers.RepeatedCompositeFieldContainer[Global___RecentActivity]: ...
|
|
1529
1723
|
def __init__(
|
|
1530
1724
|
self,
|
|
1531
1725
|
*,
|
|
1532
|
-
overall:
|
|
1533
|
-
by_provider:
|
|
1534
|
-
by_type:
|
|
1535
|
-
pricing:
|
|
1536
|
-
recent_activity:
|
|
1537
|
-
) -> None: ...
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1726
|
+
overall: Global___OverallStats | None = ...,
|
|
1727
|
+
by_provider: _abc.Iterable[Global___ProviderStats] | None = ...,
|
|
1728
|
+
by_type: _abc.Iterable[Global___TypeStats] | None = ...,
|
|
1729
|
+
pricing: Global___PricingStats | None = ...,
|
|
1730
|
+
recent_activity: _abc.Iterable[Global___RecentActivity] | None = ...,
|
|
1731
|
+
) -> None: ...
|
|
1732
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
1733
|
+
"by_provider",
|
|
1734
|
+
b"by_provider",
|
|
1735
|
+
"by_type",
|
|
1736
|
+
b"by_type",
|
|
1737
|
+
"overall",
|
|
1738
|
+
b"overall",
|
|
1739
|
+
"pricing",
|
|
1740
|
+
b"pricing",
|
|
1741
|
+
"recent_activity",
|
|
1742
|
+
b"recent_activity",
|
|
1743
|
+
] # noqa: Y015
|
|
1744
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1745
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
1746
|
+
"by_provider",
|
|
1747
|
+
b"by_provider",
|
|
1748
|
+
"by_type",
|
|
1749
|
+
b"by_type",
|
|
1750
|
+
"overall",
|
|
1751
|
+
b"overall",
|
|
1752
|
+
"pricing",
|
|
1753
|
+
b"pricing",
|
|
1754
|
+
"recent_activity",
|
|
1755
|
+
b"recent_activity",
|
|
1756
|
+
] # noqa: Y015
|
|
1757
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1758
|
+
|
|
1759
|
+
Global___GetStatisticsResponse: _TypeAlias = GetStatisticsResponse # noqa: Y015
|
|
1760
|
+
|
|
1761
|
+
@_typing.final
|
|
1762
|
+
class OverallStats(_message.Message):
|
|
1763
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1764
|
+
|
|
1765
|
+
TOTAL_PROVIDERS_FIELD_NUMBER: _builtins.int
|
|
1766
|
+
TOTAL_MODELS_FIELD_NUMBER: _builtins.int
|
|
1767
|
+
ACTIVE_MODELS_FIELD_NUMBER: _builtins.int
|
|
1768
|
+
DEPRECATED_MODELS_FIELD_NUMBER: _builtins.int
|
|
1769
|
+
OPEN_SOURCE_MODELS_FIELD_NUMBER: _builtins.int
|
|
1770
|
+
LAST_UPDATE_FIELD_NUMBER: _builtins.int
|
|
1771
|
+
total_providers: _builtins.int
|
|
1772
|
+
total_models: _builtins.int
|
|
1773
|
+
active_models: _builtins.int
|
|
1774
|
+
deprecated_models: _builtins.int
|
|
1775
|
+
open_source_models: _builtins.int
|
|
1776
|
+
@_builtins.property
|
|
1777
|
+
def last_update(self) -> _timestamp_pb2.Timestamp: ...
|
|
1576
1778
|
def __init__(
|
|
1577
1779
|
self,
|
|
1578
1780
|
*,
|
|
1579
|
-
total_providers:
|
|
1580
|
-
total_models:
|
|
1581
|
-
active_models:
|
|
1582
|
-
deprecated_models:
|
|
1583
|
-
open_source_models:
|
|
1584
|
-
last_update:
|
|
1585
|
-
) -> None: ...
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1781
|
+
total_providers: _builtins.int | None = ...,
|
|
1782
|
+
total_models: _builtins.int | None = ...,
|
|
1783
|
+
active_models: _builtins.int | None = ...,
|
|
1784
|
+
deprecated_models: _builtins.int | None = ...,
|
|
1785
|
+
open_source_models: _builtins.int | None = ...,
|
|
1786
|
+
last_update: _timestamp_pb2.Timestamp | None = ...,
|
|
1787
|
+
) -> None: ...
|
|
1788
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
1789
|
+
"active_models",
|
|
1790
|
+
b"active_models",
|
|
1791
|
+
"deprecated_models",
|
|
1792
|
+
b"deprecated_models",
|
|
1793
|
+
"last_update",
|
|
1794
|
+
b"last_update",
|
|
1795
|
+
"open_source_models",
|
|
1796
|
+
b"open_source_models",
|
|
1797
|
+
"total_models",
|
|
1798
|
+
b"total_models",
|
|
1799
|
+
"total_providers",
|
|
1800
|
+
b"total_providers",
|
|
1801
|
+
] # noqa: Y015
|
|
1802
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1803
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
1804
|
+
"active_models",
|
|
1805
|
+
b"active_models",
|
|
1806
|
+
"deprecated_models",
|
|
1807
|
+
b"deprecated_models",
|
|
1808
|
+
"last_update",
|
|
1809
|
+
b"last_update",
|
|
1810
|
+
"open_source_models",
|
|
1811
|
+
b"open_source_models",
|
|
1812
|
+
"total_models",
|
|
1813
|
+
b"total_models",
|
|
1814
|
+
"total_providers",
|
|
1815
|
+
b"total_providers",
|
|
1816
|
+
] # noqa: Y015
|
|
1817
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1818
|
+
|
|
1819
|
+
Global___OverallStats: _TypeAlias = OverallStats # noqa: Y015
|
|
1820
|
+
|
|
1821
|
+
@_typing.final
|
|
1822
|
+
class ProviderStats(_message.Message):
|
|
1823
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1824
|
+
|
|
1825
|
+
PROVIDER_NAME_FIELD_NUMBER: _builtins.int
|
|
1826
|
+
MODEL_COUNT_FIELD_NUMBER: _builtins.int
|
|
1827
|
+
ACTIVE_COUNT_FIELD_NUMBER: _builtins.int
|
|
1828
|
+
AVG_INPUT_PRICE_FIELD_NUMBER: _builtins.int
|
|
1829
|
+
AVG_OUTPUT_PRICE_FIELD_NUMBER: _builtins.int
|
|
1830
|
+
AVG_CONTEXT_WINDOW_FIELD_NUMBER: _builtins.int
|
|
1831
|
+
provider_name: _builtins.str
|
|
1832
|
+
model_count: _builtins.int
|
|
1833
|
+
active_count: _builtins.int
|
|
1834
|
+
avg_input_price: _builtins.float
|
|
1835
|
+
avg_output_price: _builtins.float
|
|
1836
|
+
avg_context_window: _builtins.int
|
|
1625
1837
|
def __init__(
|
|
1626
1838
|
self,
|
|
1627
1839
|
*,
|
|
1628
|
-
provider_name:
|
|
1629
|
-
model_count:
|
|
1630
|
-
active_count:
|
|
1631
|
-
avg_input_price:
|
|
1632
|
-
avg_output_price:
|
|
1633
|
-
avg_context_window:
|
|
1634
|
-
) -> None: ...
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1840
|
+
provider_name: _builtins.str | None = ...,
|
|
1841
|
+
model_count: _builtins.int | None = ...,
|
|
1842
|
+
active_count: _builtins.int | None = ...,
|
|
1843
|
+
avg_input_price: _builtins.float | None = ...,
|
|
1844
|
+
avg_output_price: _builtins.float | None = ...,
|
|
1845
|
+
avg_context_window: _builtins.int | None = ...,
|
|
1846
|
+
) -> None: ...
|
|
1847
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
1848
|
+
"active_count",
|
|
1849
|
+
b"active_count",
|
|
1850
|
+
"avg_context_window",
|
|
1851
|
+
b"avg_context_window",
|
|
1852
|
+
"avg_input_price",
|
|
1853
|
+
b"avg_input_price",
|
|
1854
|
+
"avg_output_price",
|
|
1855
|
+
b"avg_output_price",
|
|
1856
|
+
"model_count",
|
|
1857
|
+
b"model_count",
|
|
1858
|
+
"provider_name",
|
|
1859
|
+
b"provider_name",
|
|
1860
|
+
] # noqa: Y015
|
|
1861
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1862
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
1863
|
+
"active_count",
|
|
1864
|
+
b"active_count",
|
|
1865
|
+
"avg_context_window",
|
|
1866
|
+
b"avg_context_window",
|
|
1867
|
+
"avg_input_price",
|
|
1868
|
+
b"avg_input_price",
|
|
1869
|
+
"avg_output_price",
|
|
1870
|
+
b"avg_output_price",
|
|
1871
|
+
"model_count",
|
|
1872
|
+
b"model_count",
|
|
1873
|
+
"provider_name",
|
|
1874
|
+
b"provider_name",
|
|
1875
|
+
] # noqa: Y015
|
|
1876
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1877
|
+
|
|
1878
|
+
Global___ProviderStats: _TypeAlias = ProviderStats # noqa: Y015
|
|
1879
|
+
|
|
1880
|
+
@_typing.final
|
|
1881
|
+
class TypeStats(_message.Message):
|
|
1882
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1883
|
+
|
|
1884
|
+
MODEL_TYPE_FIELD_NUMBER: _builtins.int
|
|
1885
|
+
COUNT_FIELD_NUMBER: _builtins.int
|
|
1886
|
+
PERCENTAGE_FIELD_NUMBER: _builtins.int
|
|
1887
|
+
model_type: _builtins.str
|
|
1888
|
+
count: _builtins.int
|
|
1889
|
+
percentage: _builtins.float
|
|
1665
1890
|
def __init__(
|
|
1666
1891
|
self,
|
|
1667
1892
|
*,
|
|
1668
|
-
model_type:
|
|
1669
|
-
count:
|
|
1670
|
-
percentage:
|
|
1671
|
-
) -> None: ...
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1893
|
+
model_type: _builtins.str | None = ...,
|
|
1894
|
+
count: _builtins.int | None = ...,
|
|
1895
|
+
percentage: _builtins.float | None = ...,
|
|
1896
|
+
) -> None: ...
|
|
1897
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
1898
|
+
"count", b"count", "model_type", b"model_type", "percentage", b"percentage"
|
|
1899
|
+
] # noqa: Y015
|
|
1900
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1901
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
1902
|
+
"count", b"count", "model_type", b"model_type", "percentage", b"percentage"
|
|
1903
|
+
] # noqa: Y015
|
|
1904
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1905
|
+
|
|
1906
|
+
Global___TypeStats: _TypeAlias = TypeStats # noqa: Y015
|
|
1907
|
+
|
|
1908
|
+
@_typing.final
|
|
1909
|
+
class PricingStats(_message.Message):
|
|
1910
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1911
|
+
|
|
1912
|
+
MIN_INPUT_PRICE_FIELD_NUMBER: _builtins.int
|
|
1913
|
+
MAX_INPUT_PRICE_FIELD_NUMBER: _builtins.int
|
|
1914
|
+
AVG_INPUT_PRICE_FIELD_NUMBER: _builtins.int
|
|
1915
|
+
MEDIAN_INPUT_PRICE_FIELD_NUMBER: _builtins.int
|
|
1916
|
+
MIN_OUTPUT_PRICE_FIELD_NUMBER: _builtins.int
|
|
1917
|
+
MAX_OUTPUT_PRICE_FIELD_NUMBER: _builtins.int
|
|
1918
|
+
AVG_OUTPUT_PRICE_FIELD_NUMBER: _builtins.int
|
|
1919
|
+
MEDIAN_OUTPUT_PRICE_FIELD_NUMBER: _builtins.int
|
|
1920
|
+
min_input_price: _builtins.float
|
|
1921
|
+
max_input_price: _builtins.float
|
|
1922
|
+
avg_input_price: _builtins.float
|
|
1923
|
+
median_input_price: _builtins.float
|
|
1924
|
+
min_output_price: _builtins.float
|
|
1925
|
+
max_output_price: _builtins.float
|
|
1926
|
+
avg_output_price: _builtins.float
|
|
1927
|
+
median_output_price: _builtins.float
|
|
1701
1928
|
def __init__(
|
|
1702
1929
|
self,
|
|
1703
1930
|
*,
|
|
1704
|
-
min_input_price:
|
|
1705
|
-
max_input_price:
|
|
1706
|
-
avg_input_price:
|
|
1707
|
-
median_input_price:
|
|
1708
|
-
min_output_price:
|
|
1709
|
-
max_output_price:
|
|
1710
|
-
avg_output_price:
|
|
1711
|
-
median_output_price:
|
|
1712
|
-
) -> None: ...
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1931
|
+
min_input_price: _builtins.float | None = ...,
|
|
1932
|
+
max_input_price: _builtins.float | None = ...,
|
|
1933
|
+
avg_input_price: _builtins.float | None = ...,
|
|
1934
|
+
median_input_price: _builtins.float | None = ...,
|
|
1935
|
+
min_output_price: _builtins.float | None = ...,
|
|
1936
|
+
max_output_price: _builtins.float | None = ...,
|
|
1937
|
+
avg_output_price: _builtins.float | None = ...,
|
|
1938
|
+
median_output_price: _builtins.float | None = ...,
|
|
1939
|
+
) -> None: ...
|
|
1940
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
1941
|
+
"avg_input_price",
|
|
1942
|
+
b"avg_input_price",
|
|
1943
|
+
"avg_output_price",
|
|
1944
|
+
b"avg_output_price",
|
|
1945
|
+
"max_input_price",
|
|
1946
|
+
b"max_input_price",
|
|
1947
|
+
"max_output_price",
|
|
1948
|
+
b"max_output_price",
|
|
1949
|
+
"median_input_price",
|
|
1950
|
+
b"median_input_price",
|
|
1951
|
+
"median_output_price",
|
|
1952
|
+
b"median_output_price",
|
|
1953
|
+
"min_input_price",
|
|
1954
|
+
b"min_input_price",
|
|
1955
|
+
"min_output_price",
|
|
1956
|
+
b"min_output_price",
|
|
1957
|
+
] # noqa: Y015
|
|
1958
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
1959
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
1960
|
+
"avg_input_price",
|
|
1961
|
+
b"avg_input_price",
|
|
1962
|
+
"avg_output_price",
|
|
1963
|
+
b"avg_output_price",
|
|
1964
|
+
"max_input_price",
|
|
1965
|
+
b"max_input_price",
|
|
1966
|
+
"max_output_price",
|
|
1967
|
+
b"max_output_price",
|
|
1968
|
+
"median_input_price",
|
|
1969
|
+
b"median_input_price",
|
|
1970
|
+
"median_output_price",
|
|
1971
|
+
b"median_output_price",
|
|
1972
|
+
"min_input_price",
|
|
1973
|
+
b"min_input_price",
|
|
1974
|
+
"min_output_price",
|
|
1975
|
+
b"min_output_price",
|
|
1976
|
+
] # noqa: Y015
|
|
1977
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
1978
|
+
|
|
1979
|
+
Global___PricingStats: _TypeAlias = PricingStats # noqa: Y015
|
|
1980
|
+
|
|
1981
|
+
@_typing.final
|
|
1982
|
+
class RecentActivity(_message.Message):
|
|
1983
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
1984
|
+
|
|
1985
|
+
ACTIVITY_TYPE_FIELD_NUMBER: _builtins.int
|
|
1986
|
+
DESCRIPTION_FIELD_NUMBER: _builtins.int
|
|
1987
|
+
TIMESTAMP_FIELD_NUMBER: _builtins.int
|
|
1988
|
+
activity_type: _builtins.str
|
|
1745
1989
|
""""new_model", "price_change", "deprecation" """
|
|
1746
|
-
description:
|
|
1747
|
-
@property
|
|
1748
|
-
def timestamp(self) ->
|
|
1990
|
+
description: _builtins.str
|
|
1991
|
+
@_builtins.property
|
|
1992
|
+
def timestamp(self) -> _timestamp_pb2.Timestamp: ...
|
|
1749
1993
|
def __init__(
|
|
1750
1994
|
self,
|
|
1751
1995
|
*,
|
|
1752
|
-
activity_type:
|
|
1753
|
-
description:
|
|
1754
|
-
timestamp:
|
|
1755
|
-
) -> None: ...
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1996
|
+
activity_type: _builtins.str | None = ...,
|
|
1997
|
+
description: _builtins.str | None = ...,
|
|
1998
|
+
timestamp: _timestamp_pb2.Timestamp | None = ...,
|
|
1999
|
+
) -> None: ...
|
|
2000
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
2001
|
+
"activity_type",
|
|
2002
|
+
b"activity_type",
|
|
2003
|
+
"description",
|
|
2004
|
+
b"description",
|
|
2005
|
+
"timestamp",
|
|
2006
|
+
b"timestamp",
|
|
2007
|
+
] # noqa: Y015
|
|
2008
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
2009
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
2010
|
+
"activity_type",
|
|
2011
|
+
b"activity_type",
|
|
2012
|
+
"description",
|
|
2013
|
+
b"description",
|
|
2014
|
+
"timestamp",
|
|
2015
|
+
b"timestamp",
|
|
2016
|
+
] # noqa: Y015
|
|
2017
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
2018
|
+
|
|
2019
|
+
Global___RecentActivity: _TypeAlias = RecentActivity # noqa: Y015
|