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.
Files changed (104) hide show
  1. weave/weaveapi/auth/v1/service_pb2.py +184 -88
  2. weave/weaveapi/auth/v1/service_pb2.pyi +1288 -1134
  3. weave/weaveapi/auth/v1/service_pb2_grpc.pyi +248 -335
  4. weave/weaveapi/auth/v1/session_pb2.py +12 -4
  5. weave/weaveapi/auth/v1/session_pb2.pyi +109 -89
  6. weave/weaveapi/auth/v1/session_pb2_grpc.pyi +11 -10
  7. weave/weaveapi/auth/v1/usage_pb2.py +16 -12
  8. weave/weaveapi/auth/v1/usage_pb2.pyi +251 -197
  9. weave/weaveapi/auth/v1/usage_pb2_grpc.pyi +11 -10
  10. weave/weaveapi/auth/v1/user_pb2.py +58 -16
  11. weave/weaveapi/auth/v1/user_pb2.pyi +588 -505
  12. weave/weaveapi/auth/v1/user_pb2_grpc.pyi +11 -10
  13. weave/weaveapi/generate/v1/configuration_pb2.py +29 -17
  14. weave/weaveapi/generate/v1/configuration_pb2.pyi +277 -241
  15. weave/weaveapi/generate/v1/configuration_pb2_grpc.pyi +11 -10
  16. weave/weaveapi/generate/v1/generate_pb2.py +30 -4
  17. weave/weaveapi/generate/v1/generate_pb2.pyi +138 -40
  18. weave/weaveapi/generate/v1/generate_pb2_grpc.pyi +11 -10
  19. weave/weaveapi/generate/v1/service_pb2.py +50 -20
  20. weave/weaveapi/generate/v1/service_pb2.pyi +264 -135
  21. weave/weaveapi/generate/v1/service_pb2_grpc.py +47 -0
  22. weave/weaveapi/generate/v1/service_pb2_grpc.pyi +89 -78
  23. weave/weaveapi/llmx/v1/architecture_pb2.py +3 -3
  24. weave/weaveapi/llmx/v1/architecture_pb2.pyi +664 -555
  25. weave/weaveapi/llmx/v1/architecture_pb2_grpc.pyi +11 -10
  26. weave/weaveapi/llmx/v1/capabilities_pb2.py +86 -54
  27. weave/weaveapi/llmx/v1/capabilities_pb2.pyi +967 -852
  28. weave/weaveapi/llmx/v1/capabilities_pb2_grpc.pyi +11 -10
  29. weave/weaveapi/llmx/v1/model_pb2.py +54 -18
  30. weave/weaveapi/llmx/v1/model_pb2.pyi +533 -455
  31. weave/weaveapi/llmx/v1/model_pb2_grpc.pyi +11 -10
  32. weave/weaveapi/llmx/v1/pricing_pb2.py +22 -18
  33. weave/weaveapi/llmx/v1/pricing_pb2.pyi +194 -172
  34. weave/weaveapi/llmx/v1/pricing_pb2_grpc.pyi +11 -10
  35. weave/weaveapi/llmx/v1/provider_pb2.py +3 -3
  36. weave/weaveapi/llmx/v1/provider_pb2.pyi +84 -59
  37. weave/weaveapi/llmx/v1/provider_pb2_grpc.pyi +11 -10
  38. weave/weaveapi/llmx/v1/service_pb2.py +224 -86
  39. weave/weaveapi/llmx/v1/service_pb2.pyi +1651 -1403
  40. weave/weaveapi/llmx/v1/service_pb2_grpc.pyi +160 -203
  41. weave/weaveapi/mcpregistry/v1/server_pb2.py +14 -8
  42. weave/weaveapi/mcpregistry/v1/server_pb2.pyi +143 -121
  43. weave/weaveapi/mcpregistry/v1/server_pb2_grpc.pyi +11 -10
  44. weave/weaveapi/mcpregistry/v1/service_pb2.py +47 -27
  45. weave/weaveapi/mcpregistry/v1/service_pb2.pyi +132 -122
  46. weave/weaveapi/mcpregistry/v1/service_pb2_grpc.pyi +87 -112
  47. weave/weaveapi/payment/v1/invoice_pb2.py +36 -10
  48. weave/weaveapi/payment/v1/invoice_pb2.pyi +352 -291
  49. weave/weaveapi/payment/v1/invoice_pb2_grpc.pyi +11 -10
  50. weave/weaveapi/payment/v1/service_pb2.py +256 -90
  51. weave/weaveapi/payment/v1/service_pb2.pyi +1381 -1242
  52. weave/weaveapi/payment/v1/service_pb2_grpc.pyi +229 -319
  53. weave/weaveapi/payment/v1/subscription_pb2.py +97 -21
  54. weave/weaveapi/payment/v1/subscription_pb2.pyi +727 -611
  55. weave/weaveapi/payment/v1/subscription_pb2_grpc.pyi +11 -10
  56. weave/weaveapi/storage/v1/auth_pb2.py +3 -3
  57. weave/weaveapi/storage/v1/auth_pb2.pyi +42 -29
  58. weave/weaveapi/storage/v1/auth_pb2_grpc.pyi +11 -10
  59. weave/weaveapi/storage/v1/nosql_database_pb2.py +45 -21
  60. weave/weaveapi/storage/v1/nosql_database_pb2.pyi +438 -372
  61. weave/weaveapi/storage/v1/nosql_database_pb2_grpc.pyi +11 -10
  62. weave/weaveapi/storage/v1/object_store_pb2.py +25 -11
  63. weave/weaveapi/storage/v1/object_store_pb2.pyi +203 -187
  64. weave/weaveapi/storage/v1/object_store_pb2_grpc.pyi +11 -10
  65. weave/weaveapi/storage/v1/service_pb2.py +94 -34
  66. weave/weaveapi/storage/v1/service_pb2.pyi +414 -357
  67. weave/weaveapi/storage/v1/service_pb2_grpc.pyi +88 -107
  68. weave/weaveapi/storage/v1/sql_database_pb2.py +37 -21
  69. weave/weaveapi/storage/v1/sql_database_pb2.pyi +481 -400
  70. weave/weaveapi/storage/v1/sql_database_pb2_grpc.pyi +11 -10
  71. weave/weaveapi/storage/v1/storage_pb2.py +18 -4
  72. weave/weaveapi/storage/v1/storage_pb2.pyi +79 -70
  73. weave/weaveapi/storage/v1/storage_pb2_grpc.pyi +11 -10
  74. weave/weaveapi/synthesize/v1/dataset_pb2.py +10 -8
  75. weave/weaveapi/synthesize/v1/dataset_pb2.pyi +158 -128
  76. weave/weaveapi/synthesize/v1/dataset_pb2_grpc.pyi +11 -10
  77. weave/weaveapi/synthesize/v1/inline_data_pb2.py +4 -4
  78. weave/weaveapi/synthesize/v1/inline_data_pb2.pyi +31 -27
  79. weave/weaveapi/synthesize/v1/inline_data_pb2_grpc.pyi +11 -10
  80. weave/weaveapi/synthesize/v1/relationship_pb2.py +17 -9
  81. weave/weaveapi/synthesize/v1/relationship_pb2.pyi +67 -64
  82. weave/weaveapi/synthesize/v1/relationship_pb2_grpc.pyi +11 -10
  83. weave/weaveapi/synthesize/v1/service_pb2.py +40 -22
  84. weave/weaveapi/synthesize/v1/service_pb2.pyi +202 -168
  85. weave/weaveapi/synthesize/v1/service_pb2_grpc.pyi +67 -79
  86. weave/weaveapi/synthesize/v1/training_pb2.py +17 -11
  87. weave/weaveapi/synthesize/v1/training_pb2.pyi +119 -106
  88. weave/weaveapi/synthesize/v1/training_pb2_grpc.pyi +11 -10
  89. weave/weavesql/llmxdb/capabilities.py +487 -0
  90. weave/weavesql/llmxdb/changes.py +297 -0
  91. weave/weavesql/llmxdb/models.py +594 -0
  92. weave/weavesql/llmxdb/providers.py +348 -0
  93. weave/weavesql/llmxdb/scraper_runs.py +287 -0
  94. weave/weavesql/llmxdb/search.py +721 -0
  95. weave/weavesql/weavedb/dataset.py +75 -0
  96. weave/weavesql/weavedb/models.py +135 -0
  97. weave/weavesql/weavedb/relationships.py +72 -0
  98. weave/weavesql/weavedb/storage.py +113 -0
  99. weave/weavesql/weavedb/synthesizer.py +107 -0
  100. {weave_python-0.28.2.dist-info → weave_python-0.30.4.dist-info}/METADATA +3 -3
  101. weave_python-0.30.4.dist-info/RECORD +131 -0
  102. {weave_python-0.28.2.dist-info → weave_python-0.30.4.dist-info}/WHEEL +1 -1
  103. weave_python-0.28.2.dist-info/RECORD +0 -120
  104. {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 builtins
7
- import collections.abc
8
- import google.protobuf.descriptor
9
- import google.protobuf.internal.containers
10
- import google.protobuf.message
11
- import google.protobuf.timestamp_pb2
12
- import typing
13
- import weaveapi.llmx.v1.model_pb2
14
- import weaveapi.llmx.v1.provider_pb2
15
-
16
- DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
17
-
18
- @typing.final
19
- class ListProvidersRequest(google.protobuf.message.Message):
20
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
21
-
22
- PAGE_SIZE_FIELD_NUMBER: builtins.int
23
- PAGE_TOKEN_FIELD_NUMBER: builtins.int
24
- ACTIVE_ONLY_FIELD_NUMBER: builtins.int
25
- page_size: builtins.int
26
- page_token: builtins.str
27
- active_only: builtins.bool
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: builtins.int = ...,
32
- page_token: builtins.str = ...,
33
- active_only: builtins.bool = ...,
34
- ) -> None: ...
35
- def ClearField(
36
- self,
37
- field_name: typing.Literal[
38
- "active_only",
39
- b"active_only",
40
- "page_size",
41
- b"page_size",
42
- "page_token",
43
- b"page_token",
44
- ],
45
- ) -> None: ...
46
-
47
- global___ListProvidersRequest = ListProvidersRequest
48
-
49
- @typing.final
50
- class ListProvidersResponse(google.protobuf.message.Message):
51
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
52
-
53
- PROVIDERS_FIELD_NUMBER: builtins.int
54
- NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
55
- TOTAL_COUNT_FIELD_NUMBER: builtins.int
56
- next_page_token: builtins.str
57
- total_count: builtins.int
58
- @property
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
- ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
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: collections.abc.Iterable[weaveapi.llmx.v1.provider_pb2.Provider]
68
- | None = ...,
69
- next_page_token: builtins.str = ...,
70
- total_count: builtins.int = ...,
71
- ) -> None: ...
72
- def ClearField(
73
- self,
74
- field_name: typing.Literal[
75
- "next_page_token",
76
- b"next_page_token",
77
- "providers",
78
- b"providers",
79
- "total_count",
80
- b"total_count",
81
- ],
82
- ) -> None: ...
83
-
84
- global___ListProvidersResponse = ListProvidersResponse
85
-
86
- @typing.final
87
- class GetProviderRequest(google.protobuf.message.Message):
88
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
89
-
90
- SLUG_FIELD_NUMBER: builtins.int
91
- slug: builtins.str
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: builtins.str = ...,
113
+ slug: _builtins.str | None = ...,
97
114
  ) -> None: ...
98
- def ClearField(self, field_name: typing.Literal["slug", b"slug"]) -> None: ...
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
- global___GetProviderRequest = GetProviderRequest
120
+ Global___GetProviderRequest: _TypeAlias = GetProviderRequest # noqa: Y015
101
121
 
102
- @typing.final
103
- class GetProviderResponse(google.protobuf.message.Message):
104
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
122
+ @_typing.final
123
+ class GetProviderResponse(_message.Message):
124
+ DESCRIPTOR: _descriptor.Descriptor
105
125
 
106
- PROVIDER_FIELD_NUMBER: builtins.int
107
- @property
108
- def provider(self) -> weaveapi.llmx.v1.provider_pb2.Provider: ...
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: weaveapi.llmx.v1.provider_pb2.Provider | None = ...,
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
- global___GetProviderResponse = GetProviderResponse
139
+ Global___GetProviderResponse: _TypeAlias = GetProviderResponse # noqa: Y015
122
140
 
123
- @typing.final
124
- class ListModelsRequest(google.protobuf.message.Message):
141
+ @_typing.final
142
+ class ListModelsRequest(_message.Message):
125
143
  """ListModelsRequest defines filters and pagination for listing models."""
126
144
 
127
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
128
-
129
- PAGE_SIZE_FIELD_NUMBER: builtins.int
130
- PAGE_TOKEN_FIELD_NUMBER: builtins.int
131
- PROVIDER_FIELD_NUMBER: builtins.int
132
- MODEL_TYPE_FIELD_NUMBER: builtins.int
133
- ACTIVE_ONLY_FIELD_NUMBER: builtins.int
134
- VISION_ONLY_FIELD_NUMBER: builtins.int
135
- TOOL_CALLS_ONLY_FIELD_NUMBER: builtins.int
136
- REASONING_ONLY_FIELD_NUMBER: builtins.int
137
- OPEN_SOURCE_ONLY_FIELD_NUMBER: builtins.int
138
- MAX_INPUT_PRICE_FIELD_NUMBER: builtins.int
139
- MAX_OUTPUT_PRICE_FIELD_NUMBER: builtins.int
140
- MIN_CONTEXT_WINDOW_FIELD_NUMBER: builtins.int
141
- ORDER_BY_FIELD_NUMBER: builtins.int
142
- DESCENDING_FIELD_NUMBER: builtins.int
143
- page_size: builtins.int
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: builtins.str
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: builtins.str
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: builtins.str
175
+ model_type: _builtins.str
158
176
  """Filter by model type.
159
177
  Examples: "chat", "embedding", "image", "audio"
160
178
  """
161
- active_only: builtins.bool
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: builtins.bool
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: builtins.bool
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: builtins.bool
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: builtins.bool
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: builtins.float
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: builtins.float
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: builtins.int
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: builtins.str
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: builtins.bool
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: builtins.int = ...,
214
- page_token: builtins.str = ...,
215
- provider: builtins.str = ...,
216
- model_type: builtins.str = ...,
217
- active_only: builtins.bool = ...,
218
- vision_only: builtins.bool = ...,
219
- tool_calls_only: builtins.bool = ...,
220
- reasoning_only: builtins.bool = ...,
221
- open_source_only: builtins.bool = ...,
222
- max_input_price: builtins.float = ...,
223
- max_output_price: builtins.float = ...,
224
- min_context_window: builtins.int = ...,
225
- order_by: builtins.str = ...,
226
- descending: builtins.bool = ...,
227
- ) -> None: ...
228
- def ClearField(
229
- self,
230
- field_name: typing.Literal[
231
- "active_only",
232
- b"active_only",
233
- "descending",
234
- b"descending",
235
- "max_input_price",
236
- b"max_input_price",
237
- "max_output_price",
238
- b"max_output_price",
239
- "min_context_window",
240
- b"min_context_window",
241
- "model_type",
242
- b"model_type",
243
- "open_source_only",
244
- b"open_source_only",
245
- "order_by",
246
- b"order_by",
247
- "page_size",
248
- b"page_size",
249
- "page_token",
250
- b"page_token",
251
- "provider",
252
- b"provider",
253
- "reasoning_only",
254
- b"reasoning_only",
255
- "tool_calls_only",
256
- b"tool_calls_only",
257
- "vision_only",
258
- b"vision_only",
259
- ],
260
- ) -> None: ...
261
-
262
- global___ListModelsRequest = ListModelsRequest
263
-
264
- @typing.final
265
- class ListModelsResponse(google.protobuf.message.Message):
266
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
267
-
268
- MODELS_FIELD_NUMBER: builtins.int
269
- NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
270
- TOTAL_COUNT_FIELD_NUMBER: builtins.int
271
- next_page_token: builtins.str
272
- total_count: builtins.int
273
- @property
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
- ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
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: collections.abc.Iterable[weaveapi.llmx.v1.model_pb2.Model] | None = ...,
283
- next_page_token: builtins.str = ...,
284
- total_count: builtins.int = ...,
285
- ) -> None: ...
286
- def ClearField(
287
- self,
288
- field_name: typing.Literal[
289
- "models",
290
- b"models",
291
- "next_page_token",
292
- b"next_page_token",
293
- "total_count",
294
- b"total_count",
295
- ],
296
- ) -> None: ...
297
-
298
- global___ListModelsResponse = ListModelsResponse
299
-
300
- @typing.final
301
- class GetModelRequest(google.protobuf.message.Message):
302
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
303
-
304
- PROVIDER_FIELD_NUMBER: builtins.int
305
- MODEL_ID_FIELD_NUMBER: builtins.int
306
- provider: builtins.str
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: builtins.str
360
+ model_id: _builtins.str
309
361
  """e.g., "gpt-4o" """
310
362
  def __init__(
311
363
  self,
312
364
  *,
313
- provider: builtins.str = ...,
314
- model_id: builtins.str = ...,
315
- ) -> None: ...
316
- def ClearField(
317
- self,
318
- field_name: typing.Literal["model_id", b"model_id", "provider", b"provider"],
319
- ) -> None: ...
320
-
321
- global___GetModelRequest = GetModelRequest
322
-
323
- @typing.final
324
- class GetModelResponse(google.protobuf.message.Message):
325
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
326
-
327
- MODEL_FIELD_NUMBER: builtins.int
328
- @property
329
- def model(self) -> weaveapi.llmx.v1.model_pb2.Model: ...
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: weaveapi.llmx.v1.model_pb2.Model | None = ...,
389
+ model: _model_pb2.Model | None = ...,
334
390
  ) -> None: ...
335
- def HasField(
336
- self, field_name: typing.Literal["model", b"model"]
337
- ) -> builtins.bool: ...
338
- def ClearField(self, field_name: typing.Literal["model", b"model"]) -> None: ...
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
- global___GetModelResponse = GetModelResponse
396
+ Global___GetModelResponse: _TypeAlias = GetModelResponse # noqa: Y015
341
397
 
342
- @typing.final
343
- class SearchModelsRequest(google.protobuf.message.Message):
398
+ @_typing.final
399
+ class SearchModelsRequest(_message.Message):
344
400
  """SearchModelsRequest enables advanced model search with multiple filter criteria."""
345
401
 
346
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
347
-
348
- QUERY_FIELD_NUMBER: builtins.int
349
- PROVIDERS_FIELD_NUMBER: builtins.int
350
- MODEL_TYPES_FIELD_NUMBER: builtins.int
351
- ARCHITECTURES_FIELD_NUMBER: builtins.int
352
- REQUIRED_CAPABILITIES_FIELD_NUMBER: builtins.int
353
- REQUIRED_INPUT_MODALITIES_FIELD_NUMBER: builtins.int
354
- REQUIRED_OUTPUT_MODALITIES_FIELD_NUMBER: builtins.int
355
- PRICE_RANGE_FIELD_NUMBER: builtins.int
356
- TOKEN_RANGE_FIELD_NUMBER: builtins.int
357
- PERFORMANCE_RANGE_FIELD_NUMBER: builtins.int
358
- PAGE_SIZE_FIELD_NUMBER: builtins.int
359
- PAGE_TOKEN_FIELD_NUMBER: builtins.int
360
- ORDER_BY_FIELD_NUMBER: builtins.int
361
- DESCENDING_FIELD_NUMBER: builtins.int
362
- query: builtins.str
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: builtins.int
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: builtins.str
428
+ page_token: _builtins.str
373
429
  """Continuation token from previous response."""
374
- order_by: builtins.str
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: builtins.bool
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
- ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
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
- ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
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
- ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
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) -> global___PriceRange:
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) -> global___TokenRange:
493
+ @_builtins.property
494
+ def token_range(self) -> Global___TokenRange:
445
495
  """Token limit constraints."""
446
496
 
447
- @property
448
- def performance_range(self) -> global___PerformanceRange:
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: builtins.str = ...,
455
- providers: collections.abc.Iterable[builtins.str] | None = ...,
456
- model_types: collections.abc.Iterable[builtins.str] | None = ...,
457
- architectures: collections.abc.Iterable[builtins.str] | None = ...,
458
- required_capabilities: collections.abc.Iterable[builtins.str] | None = ...,
459
- required_input_modalities: collections.abc.Iterable[builtins.str] | None = ...,
460
- required_output_modalities: collections.abc.Iterable[builtins.str] | None = ...,
461
- price_range: global___PriceRange | None = ...,
462
- token_range: global___TokenRange | None = ...,
463
- performance_range: global___PerformanceRange | None = ...,
464
- page_size: builtins.int = ...,
465
- page_token: builtins.str = ...,
466
- order_by: builtins.str = ...,
467
- descending: builtins.bool = ...,
468
- ) -> None: ...
469
- def HasField(
470
- self,
471
- field_name: typing.Literal[
472
- "performance_range",
473
- b"performance_range",
474
- "price_range",
475
- b"price_range",
476
- "token_range",
477
- b"token_range",
478
- ],
479
- ) -> builtins.bool: ...
480
- def ClearField(
481
- self,
482
- field_name: typing.Literal[
483
- "architectures",
484
- b"architectures",
485
- "descending",
486
- b"descending",
487
- "model_types",
488
- b"model_types",
489
- "order_by",
490
- b"order_by",
491
- "page_size",
492
- b"page_size",
493
- "page_token",
494
- b"page_token",
495
- "performance_range",
496
- b"performance_range",
497
- "price_range",
498
- b"price_range",
499
- "providers",
500
- b"providers",
501
- "query",
502
- b"query",
503
- "required_capabilities",
504
- b"required_capabilities",
505
- "required_input_modalities",
506
- b"required_input_modalities",
507
- "required_output_modalities",
508
- b"required_output_modalities",
509
- "token_range",
510
- b"token_range",
511
- ],
512
- ) -> None: ...
513
-
514
- global___SearchModelsRequest = SearchModelsRequest
515
-
516
- @typing.final
517
- class PriceRange(google.protobuf.message.Message):
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: google.protobuf.descriptor.Descriptor
588
+ DESCRIPTOR: _descriptor.Descriptor
521
589
 
522
- MIN_INPUT_PRICE_FIELD_NUMBER: builtins.int
523
- MAX_INPUT_PRICE_FIELD_NUMBER: builtins.int
524
- MIN_OUTPUT_PRICE_FIELD_NUMBER: builtins.int
525
- MAX_OUTPUT_PRICE_FIELD_NUMBER: builtins.int
526
- min_input_price: builtins.float
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: builtins.float
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: builtins.float
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: builtins.float
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: builtins.float = ...,
546
- max_input_price: builtins.float = ...,
547
- min_output_price: builtins.float = ...,
548
- max_output_price: builtins.float = ...,
549
- ) -> None: ...
550
- def ClearField(
551
- self,
552
- field_name: typing.Literal[
553
- "max_input_price",
554
- b"max_input_price",
555
- "max_output_price",
556
- b"max_output_price",
557
- "min_input_price",
558
- b"min_input_price",
559
- "min_output_price",
560
- b"min_output_price",
561
- ],
562
- ) -> None: ...
563
-
564
- global___PriceRange = PriceRange
565
-
566
- @typing.final
567
- class TokenRange(google.protobuf.message.Message):
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: google.protobuf.descriptor.Descriptor
647
+ DESCRIPTOR: _descriptor.Descriptor
571
648
 
572
- MIN_CONTEXT_WINDOW_FIELD_NUMBER: builtins.int
573
- MAX_CONTEXT_WINDOW_FIELD_NUMBER: builtins.int
574
- MIN_OUTPUT_TOKENS_FIELD_NUMBER: builtins.int
575
- MAX_OUTPUT_TOKENS_FIELD_NUMBER: builtins.int
576
- min_context_window: builtins.int
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: builtins.int
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: builtins.int
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: builtins.int
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: builtins.int = ...,
596
- max_context_window: builtins.int = ...,
597
- min_output_tokens: builtins.int = ...,
598
- max_output_tokens: builtins.int = ...,
599
- ) -> None: ...
600
- def ClearField(
601
- self,
602
- field_name: typing.Literal[
603
- "max_context_window",
604
- b"max_context_window",
605
- "max_output_tokens",
606
- b"max_output_tokens",
607
- "min_context_window",
608
- b"min_context_window",
609
- "min_output_tokens",
610
- b"min_output_tokens",
611
- ],
612
- ) -> None: ...
613
-
614
- global___TokenRange = TokenRange
615
-
616
- @typing.final
617
- class PerformanceRange(google.protobuf.message.Message):
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: google.protobuf.descriptor.Descriptor
706
+ DESCRIPTOR: _descriptor.Descriptor
621
707
 
622
- MIN_REASONING_SCORE_FIELD_NUMBER: builtins.int
623
- MIN_CODING_SCORE_FIELD_NUMBER: builtins.int
624
- MIN_CREATIVE_SCORE_FIELD_NUMBER: builtins.int
625
- MIN_FACTUAL_SCORE_FIELD_NUMBER: builtins.int
626
- MIN_MATH_SCORE_FIELD_NUMBER: builtins.int
627
- min_reasoning_score: builtins.float
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: builtins.float
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: builtins.float
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: builtins.float
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: builtins.float
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: builtins.float = ...,
651
- min_coding_score: builtins.float = ...,
652
- min_creative_score: builtins.float = ...,
653
- min_factual_score: builtins.float = ...,
654
- min_math_score: builtins.float = ...,
655
- ) -> None: ...
656
- def ClearField(
657
- self,
658
- field_name: typing.Literal[
659
- "min_coding_score",
660
- b"min_coding_score",
661
- "min_creative_score",
662
- b"min_creative_score",
663
- "min_factual_score",
664
- b"min_factual_score",
665
- "min_math_score",
666
- b"min_math_score",
667
- "min_reasoning_score",
668
- b"min_reasoning_score",
669
- ],
670
- ) -> None: ...
671
-
672
- global___PerformanceRange = PerformanceRange
673
-
674
- @typing.final
675
- class SearchModelsResponse(google.protobuf.message.Message):
676
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
677
-
678
- MODELS_FIELD_NUMBER: builtins.int
679
- NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
680
- TOTAL_COUNT_FIELD_NUMBER: builtins.int
681
- FACETS_FIELD_NUMBER: builtins.int
682
- next_page_token: builtins.str
683
- total_count: builtins.int
684
- @property
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
- ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
688
- weaveapi.llmx.v1.model_pb2.Model
689
- ]: ...
690
- @property
784
+ ) -> _containers.RepeatedCompositeFieldContainer[_model_pb2.Model]: ...
785
+ @_builtins.property
691
786
  def facets(
692
787
  self,
693
- ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
694
- global___FacetResult
695
- ]: ...
788
+ ) -> _containers.RepeatedCompositeFieldContainer[Global___FacetResult]: ...
696
789
  def __init__(
697
790
  self,
698
791
  *,
699
- models: collections.abc.Iterable[weaveapi.llmx.v1.model_pb2.Model] | None = ...,
700
- next_page_token: builtins.str = ...,
701
- total_count: builtins.int = ...,
702
- facets: collections.abc.Iterable[global___FacetResult] | None = ...,
703
- ) -> None: ...
704
- def ClearField(
705
- self,
706
- field_name: typing.Literal[
707
- "facets",
708
- b"facets",
709
- "models",
710
- b"models",
711
- "next_page_token",
712
- b"next_page_token",
713
- "total_count",
714
- b"total_count",
715
- ],
716
- ) -> None: ...
717
-
718
- global___SearchModelsResponse = SearchModelsResponse
719
-
720
- @typing.final
721
- class FacetResult(google.protobuf.message.Message):
722
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
723
-
724
- FIELD_FIELD_NUMBER: builtins.int
725
- VALUES_FIELD_NUMBER: builtins.int
726
- field: builtins.str
727
- @property
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
- ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
731
- global___FacetValue
732
- ]: ...
832
+ ) -> _containers.RepeatedCompositeFieldContainer[Global___FacetValue]: ...
733
833
  def __init__(
734
834
  self,
735
835
  *,
736
- field: builtins.str = ...,
737
- values: collections.abc.Iterable[global___FacetValue] | None = ...,
738
- ) -> None: ...
739
- def ClearField(
740
- self, field_name: typing.Literal["field", b"field", "values", b"values"]
741
- ) -> None: ...
742
-
743
- global___FacetResult = FacetResult
744
-
745
- @typing.final
746
- class FacetValue(google.protobuf.message.Message):
747
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
748
-
749
- VALUE_FIELD_NUMBER: builtins.int
750
- COUNT_FIELD_NUMBER: builtins.int
751
- value: builtins.str
752
- count: builtins.int
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: builtins.str = ...,
757
- count: builtins.int = ...,
758
- ) -> None: ...
759
- def ClearField(
760
- self, field_name: typing.Literal["count", b"count", "value", b"value"]
761
- ) -> None: ...
762
-
763
- global___FacetValue = FacetValue
764
-
765
- @typing.final
766
- class CompareModelsRequest(google.protobuf.message.Message):
767
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
768
-
769
- MODEL_SLUGS_FIELD_NUMBER: builtins.int
770
- FIELDS_FIELD_NUMBER: builtins.int
771
- @property
772
- def model_slugs(
773
- self,
774
- ) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
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: collections.abc.Iterable[builtins.str] | None = ...,
787
- fields: collections.abc.Iterable[builtins.str] | None = ...,
788
- ) -> None: ...
789
- def ClearField(
790
- self,
791
- field_name: typing.Literal["fields", b"fields", "model_slugs", b"model_slugs"],
792
- ) -> None: ...
793
-
794
- global___CompareModelsRequest = CompareModelsRequest
795
-
796
- @typing.final
797
- class CompareModelsResponse(google.protobuf.message.Message):
798
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
799
-
800
- COMPARISONS_FIELD_NUMBER: builtins.int
801
- SUMMARY_FIELD_NUMBER: builtins.int
802
- @property
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
- ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
806
- global___ModelComparison
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: collections.abc.Iterable[global___ModelComparison] | None = ...,
814
- summary: global___ComparisonSummary | None = ...,
815
- ) -> None: ...
816
- def HasField(
817
- self, field_name: typing.Literal["summary", b"summary"]
818
- ) -> builtins.bool: ...
819
- def ClearField(
820
- self,
821
- field_name: typing.Literal[
822
- "comparisons", b"comparisons", "summary", b"summary"
823
- ],
824
- ) -> None: ...
825
-
826
- global___CompareModelsResponse = CompareModelsResponse
827
-
828
- @typing.final
829
- class ModelComparison(google.protobuf.message.Message):
830
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
831
-
832
- @typing.final
833
- class HighlightedDifferencesEntry(google.protobuf.message.Message):
834
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
835
-
836
- KEY_FIELD_NUMBER: builtins.int
837
- VALUE_FIELD_NUMBER: builtins.int
838
- key: builtins.str
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: builtins.str = ...,
844
- value: builtins.str = ...,
948
+ key: _builtins.str | None = ...,
949
+ value: _builtins.str | None = ...,
845
950
  ) -> None: ...
846
- def ClearField(
847
- self, field_name: typing.Literal["key", b"key", "value", b"value"]
848
- ) -> None: ...
849
-
850
- MODEL_FIELD_NUMBER: builtins.int
851
- HIGHLIGHTED_DIFFERENCES_FIELD_NUMBER: builtins.int
852
- @property
853
- def model(self) -> weaveapi.llmx.v1.model_pb2.Model: ...
854
- @property
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
- ) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ...
965
+ ) -> _containers.ScalarMap[_builtins.str, _builtins.str]: ...
858
966
  def __init__(
859
967
  self,
860
968
  *,
861
- model: weaveapi.llmx.v1.model_pb2.Model | None = ...,
862
- highlighted_differences: collections.abc.Mapping[builtins.str, builtins.str]
969
+ model: _model_pb2.Model | None = ...,
970
+ highlighted_differences: _abc.Mapping[_builtins.str, _builtins.str]
863
971
  | None = ...,
864
972
  ) -> None: ...
865
- def HasField(
866
- self, field_name: typing.Literal["model", b"model"]
867
- ) -> builtins.bool: ...
868
- def ClearField(
869
- self,
870
- field_name: typing.Literal[
871
- "highlighted_differences", b"highlighted_differences", "model", b"model"
872
- ],
873
- ) -> None: ...
874
-
875
- global___ModelComparison = ModelComparison
876
-
877
- @typing.final
878
- class ComparisonSummary(google.protobuf.message.Message):
879
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
880
-
881
- CHEAPEST_INPUT_FIELD_NUMBER: builtins.int
882
- CHEAPEST_OUTPUT_FIELD_NUMBER: builtins.int
883
- LARGEST_CONTEXT_FIELD_NUMBER: builtins.int
884
- BEST_REASONING_FIELD_NUMBER: builtins.int
885
- BEST_CODING_FIELD_NUMBER: builtins.int
886
- MOST_CAPABLE_FIELD_NUMBER: builtins.int
887
- cheapest_input: builtins.str
888
- cheapest_output: builtins.str
889
- largest_context: builtins.str
890
- best_reasoning: builtins.str
891
- best_coding: builtins.str
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: builtins.str = ...,
898
- cheapest_output: builtins.str = ...,
899
- largest_context: builtins.str = ...,
900
- best_reasoning: builtins.str = ...,
901
- best_coding: builtins.str = ...,
902
- most_capable: builtins.str = ...,
903
- ) -> None: ...
904
- def ClearField(
905
- self,
906
- field_name: typing.Literal[
907
- "best_coding",
908
- b"best_coding",
909
- "best_reasoning",
910
- b"best_reasoning",
911
- "cheapest_input",
912
- b"cheapest_input",
913
- "cheapest_output",
914
- b"cheapest_output",
915
- "largest_context",
916
- b"largest_context",
917
- "most_capable",
918
- b"most_capable",
919
- ],
920
- ) -> None: ...
921
-
922
- global___ComparisonSummary = ComparisonSummary
923
-
924
- @typing.final
925
- class GetModelPriceHistoryRequest(google.protobuf.message.Message):
926
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
927
-
928
- PROVIDER_FIELD_NUMBER: builtins.int
929
- MODEL_ID_FIELD_NUMBER: builtins.int
930
- DAYS_FIELD_NUMBER: builtins.int
931
- provider: builtins.str
932
- model_id: builtins.str
933
- days: builtins.int
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: builtins.str = ...,
939
- model_id: builtins.str = ...,
940
- days: builtins.int = ...,
941
- ) -> None: ...
942
- def ClearField(
943
- self,
944
- field_name: typing.Literal[
945
- "days", b"days", "model_id", b"model_id", "provider", b"provider"
946
- ],
947
- ) -> None: ...
948
-
949
- global___GetModelPriceHistoryRequest = GetModelPriceHistoryRequest
950
-
951
- @typing.final
952
- class GetModelPriceHistoryResponse(google.protobuf.message.Message):
953
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
954
-
955
- PRICE_HISTORY_FIELD_NUMBER: builtins.int
956
- LATEST_CHANGE_FIELD_NUMBER: builtins.int
957
- @property
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
- ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
961
- global___PricePoint
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: collections.abc.Iterable[global___PricePoint] | None = ...,
969
- latest_change: global___PriceChange | None = ...,
970
- ) -> None: ...
971
- def HasField(
972
- self, field_name: typing.Literal["latest_change", b"latest_change"]
973
- ) -> builtins.bool: ...
974
- def ClearField(
975
- self,
976
- field_name: typing.Literal[
977
- "latest_change", b"latest_change", "price_history", b"price_history"
978
- ],
979
- ) -> None: ...
980
-
981
- global___GetModelPriceHistoryResponse = GetModelPriceHistoryResponse
982
-
983
- @typing.final
984
- class PricePoint(google.protobuf.message.Message):
985
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
986
-
987
- TIMESTAMP_FIELD_NUMBER: builtins.int
988
- INPUT_PRICE_FIELD_NUMBER: builtins.int
989
- OUTPUT_PRICE_FIELD_NUMBER: builtins.int
990
- CACHE_READ_PRICE_FIELD_NUMBER: builtins.int
991
- CACHE_WRITE_PRICE_FIELD_NUMBER: builtins.int
992
- input_price: builtins.float
993
- output_price: builtins.float
994
- cache_read_price: builtins.float
995
- cache_write_price: builtins.float
996
- @property
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: google.protobuf.timestamp_pb2.Timestamp | None = ...,
1002
- input_price: builtins.float = ...,
1003
- output_price: builtins.float = ...,
1004
- cache_read_price: builtins.float = ...,
1005
- cache_write_price: builtins.float = ...,
1006
- ) -> None: ...
1007
- def HasField(
1008
- self, field_name: typing.Literal["timestamp", b"timestamp"]
1009
- ) -> builtins.bool: ...
1010
- def ClearField(
1011
- self,
1012
- field_name: typing.Literal[
1013
- "cache_read_price",
1014
- b"cache_read_price",
1015
- "cache_write_price",
1016
- b"cache_write_price",
1017
- "input_price",
1018
- b"input_price",
1019
- "output_price",
1020
- b"output_price",
1021
- "timestamp",
1022
- b"timestamp",
1023
- ],
1024
- ) -> None: ...
1025
-
1026
- global___PricePoint = PricePoint
1027
-
1028
- @typing.final
1029
- class PriceChange(google.protobuf.message.Message):
1030
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
1031
-
1032
- CHANGED_AT_FIELD_NUMBER: builtins.int
1033
- OLD_INPUT_PRICE_FIELD_NUMBER: builtins.int
1034
- NEW_INPUT_PRICE_FIELD_NUMBER: builtins.int
1035
- OLD_OUTPUT_PRICE_FIELD_NUMBER: builtins.int
1036
- NEW_OUTPUT_PRICE_FIELD_NUMBER: builtins.int
1037
- INPUT_CHANGE_PERCENT_FIELD_NUMBER: builtins.int
1038
- OUTPUT_CHANGE_PERCENT_FIELD_NUMBER: builtins.int
1039
- old_input_price: builtins.float
1040
- new_input_price: builtins.float
1041
- old_output_price: builtins.float
1042
- new_output_price: builtins.float
1043
- input_change_percent: builtins.float
1044
- output_change_percent: builtins.float
1045
- @property
1046
- def changed_at(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
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: google.protobuf.timestamp_pb2.Timestamp | None = ...,
1051
- old_input_price: builtins.float = ...,
1052
- new_input_price: builtins.float = ...,
1053
- old_output_price: builtins.float = ...,
1054
- new_output_price: builtins.float = ...,
1055
- input_change_percent: builtins.float = ...,
1056
- output_change_percent: builtins.float = ...,
1057
- ) -> None: ...
1058
- def HasField(
1059
- self, field_name: typing.Literal["changed_at", b"changed_at"]
1060
- ) -> builtins.bool: ...
1061
- def ClearField(
1062
- self,
1063
- field_name: typing.Literal[
1064
- "changed_at",
1065
- b"changed_at",
1066
- "input_change_percent",
1067
- b"input_change_percent",
1068
- "new_input_price",
1069
- b"new_input_price",
1070
- "new_output_price",
1071
- b"new_output_price",
1072
- "old_input_price",
1073
- b"old_input_price",
1074
- "old_output_price",
1075
- b"old_output_price",
1076
- "output_change_percent",
1077
- b"output_change_percent",
1078
- ],
1079
- ) -> None: ...
1080
-
1081
- global___PriceChange = PriceChange
1082
-
1083
- @typing.final
1084
- class GetModelChangesRequest(google.protobuf.message.Message):
1085
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
1086
-
1087
- PROVIDER_FIELD_NUMBER: builtins.int
1088
- MODEL_ID_FIELD_NUMBER: builtins.int
1089
- LIMIT_FIELD_NUMBER: builtins.int
1090
- provider: builtins.str
1091
- model_id: builtins.str
1092
- limit: builtins.int
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: builtins.str = ...,
1098
- model_id: builtins.str = ...,
1099
- limit: builtins.int = ...,
1100
- ) -> None: ...
1101
- def ClearField(
1102
- self,
1103
- field_name: typing.Literal[
1104
- "limit", b"limit", "model_id", b"model_id", "provider", b"provider"
1105
- ],
1106
- ) -> None: ...
1107
-
1108
- global___GetModelChangesRequest = GetModelChangesRequest
1109
-
1110
- @typing.final
1111
- class GetModelChangesResponse(google.protobuf.message.Message):
1112
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
1113
-
1114
- CHANGES_FIELD_NUMBER: builtins.int
1115
- @property
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
- ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
1119
- global___ModelChange
1120
- ]: ...
1259
+ ) -> _containers.RepeatedCompositeFieldContainer[Global___ModelChange]: ...
1121
1260
  def __init__(
1122
1261
  self,
1123
1262
  *,
1124
- changes: collections.abc.Iterable[global___ModelChange] | None = ...,
1125
- ) -> None: ...
1126
- def ClearField(self, field_name: typing.Literal["changes", b"changes"]) -> None: ...
1127
-
1128
- global___GetModelChangesResponse = GetModelChangesResponse
1129
-
1130
- @typing.final
1131
- class ModelChange(google.protobuf.message.Message):
1132
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
1133
-
1134
- ID_FIELD_NUMBER: builtins.int
1135
- FIELD_NAME_FIELD_NUMBER: builtins.int
1136
- OLD_VALUE_FIELD_NUMBER: builtins.int
1137
- NEW_VALUE_FIELD_NUMBER: builtins.int
1138
- CHANGE_TYPE_FIELD_NUMBER: builtins.int
1139
- DETECTED_AT_FIELD_NUMBER: builtins.int
1140
- id: builtins.str
1141
- field_name: builtins.str
1142
- old_value: builtins.str
1143
- new_value: builtins.str
1144
- change_type: builtins.str
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) -> google.protobuf.timestamp_pb2.Timestamp: ...
1288
+ @_builtins.property
1289
+ def detected_at(self) -> _timestamp_pb2.Timestamp: ...
1148
1290
  def __init__(
1149
1291
  self,
1150
1292
  *,
1151
- id: builtins.str = ...,
1152
- field_name: builtins.str = ...,
1153
- old_value: builtins.str = ...,
1154
- new_value: builtins.str = ...,
1155
- change_type: builtins.str = ...,
1156
- detected_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
1157
- ) -> None: ...
1158
- def HasField(
1159
- self, field_name: typing.Literal["detected_at", b"detected_at"]
1160
- ) -> builtins.bool: ...
1161
- def ClearField(
1162
- self,
1163
- field_name: typing.Literal[
1164
- "change_type",
1165
- b"change_type",
1166
- "detected_at",
1167
- b"detected_at",
1168
- "field_name",
1169
- b"field_name",
1170
- "id",
1171
- b"id",
1172
- "new_value",
1173
- b"new_value",
1174
- "old_value",
1175
- b"old_value",
1176
- ],
1177
- ) -> None: ...
1178
-
1179
- global___ModelChange = ModelChange
1180
-
1181
- @typing.final
1182
- class GetTrendingModelsRequest(google.protobuf.message.Message):
1183
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
1184
-
1185
- PERIOD_DAYS_FIELD_NUMBER: builtins.int
1186
- LIMIT_FIELD_NUMBER: builtins.int
1187
- period_days: builtins.int
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: builtins.int
1341
+ limit: _builtins.int
1190
1342
  """Default 10"""
1191
1343
  def __init__(
1192
1344
  self,
1193
1345
  *,
1194
- period_days: builtins.int = ...,
1195
- limit: builtins.int = ...,
1196
- ) -> None: ...
1197
- def ClearField(
1198
- self,
1199
- field_name: typing.Literal["limit", b"limit", "period_days", b"period_days"],
1200
- ) -> None: ...
1201
-
1202
- global___GetTrendingModelsRequest = GetTrendingModelsRequest
1203
-
1204
- @typing.final
1205
- class GetTrendingModelsResponse(google.protobuf.message.Message):
1206
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
1207
-
1208
- MODELS_FIELD_NUMBER: builtins.int
1209
- @property
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
- ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
1213
- global___TrendingModel
1214
- ]: ...
1368
+ ) -> _containers.RepeatedCompositeFieldContainer[Global___TrendingModel]: ...
1215
1369
  def __init__(
1216
1370
  self,
1217
1371
  *,
1218
- models: collections.abc.Iterable[global___TrendingModel] | None = ...,
1219
- ) -> None: ...
1220
- def ClearField(self, field_name: typing.Literal["models", b"models"]) -> None: ...
1221
-
1222
- global___GetTrendingModelsResponse = GetTrendingModelsResponse
1223
-
1224
- @typing.final
1225
- class TrendingModel(google.protobuf.message.Message):
1226
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
1227
-
1228
- MODEL_FIELD_NUMBER: builtins.int
1229
- API_CALLS_FIELD_NUMBER: builtins.int
1230
- UNIQUE_USERS_FIELD_NUMBER: builtins.int
1231
- GROWTH_RATE_FIELD_NUMBER: builtins.int
1232
- RANK_FIELD_NUMBER: builtins.int
1233
- api_calls: builtins.int
1234
- unique_users: builtins.int
1235
- growth_rate: builtins.float
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: builtins.int
1238
- @property
1239
- def model(self) -> weaveapi.llmx.v1.model_pb2.Model: ...
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: weaveapi.llmx.v1.model_pb2.Model | None = ...,
1244
- api_calls: builtins.int = ...,
1245
- unique_users: builtins.int = ...,
1246
- growth_rate: builtins.float = ...,
1247
- rank: builtins.int = ...,
1248
- ) -> None: ...
1249
- def HasField(
1250
- self, field_name: typing.Literal["model", b"model"]
1251
- ) -> builtins.bool: ...
1252
- def ClearField(
1253
- self,
1254
- field_name: typing.Literal[
1255
- "api_calls",
1256
- b"api_calls",
1257
- "growth_rate",
1258
- b"growth_rate",
1259
- "model",
1260
- b"model",
1261
- "rank",
1262
- b"rank",
1263
- "unique_users",
1264
- b"unique_users",
1265
- ],
1266
- ) -> None: ...
1267
-
1268
- global___TrendingModel = TrendingModel
1269
-
1270
- @typing.final
1271
- class GetRecentUpdatesRequest(google.protobuf.message.Message):
1272
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
1273
-
1274
- HOURS_FIELD_NUMBER: builtins.int
1275
- PROVIDERS_FIELD_NUMBER: builtins.int
1276
- CHANGE_TYPES_FIELD_NUMBER: builtins.int
1277
- LIMIT_FIELD_NUMBER: builtins.int
1278
- hours: builtins.int
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: builtins.int
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: builtins.int = ...,
1298
- providers: collections.abc.Iterable[builtins.str] | None = ...,
1299
- change_types: collections.abc.Iterable[builtins.str] | None = ...,
1300
- limit: builtins.int = ...,
1301
- ) -> None: ...
1302
- def ClearField(
1303
- self,
1304
- field_name: typing.Literal[
1305
- "change_types",
1306
- b"change_types",
1307
- "hours",
1308
- b"hours",
1309
- "limit",
1310
- b"limit",
1311
- "providers",
1312
- b"providers",
1313
- ],
1314
- ) -> None: ...
1315
-
1316
- global___GetRecentUpdatesRequest = GetRecentUpdatesRequest
1317
-
1318
- @typing.final
1319
- class GetRecentUpdatesResponse(google.protobuf.message.Message):
1320
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
1321
-
1322
- UPDATES_FIELD_NUMBER: builtins.int
1323
- @property
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
- ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
1327
- global___UpdateEntry
1328
- ]: ...
1496
+ ) -> _containers.RepeatedCompositeFieldContainer[Global___UpdateEntry]: ...
1329
1497
  def __init__(
1330
1498
  self,
1331
1499
  *,
1332
- updates: collections.abc.Iterable[global___UpdateEntry] | None = ...,
1333
- ) -> None: ...
1334
- def ClearField(self, field_name: typing.Literal["updates", b"updates"]) -> None: ...
1335
-
1336
- global___GetRecentUpdatesResponse = GetRecentUpdatesResponse
1337
-
1338
- @typing.final
1339
- class UpdateEntry(google.protobuf.message.Message):
1340
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
1341
-
1342
- MODEL_SLUG_FIELD_NUMBER: builtins.int
1343
- MODEL_NAME_FIELD_NUMBER: builtins.int
1344
- PROVIDER_NAME_FIELD_NUMBER: builtins.int
1345
- CHANGE_TYPE_FIELD_NUMBER: builtins.int
1346
- FIELD_NAME_FIELD_NUMBER: builtins.int
1347
- OLD_VALUE_FIELD_NUMBER: builtins.int
1348
- NEW_VALUE_FIELD_NUMBER: builtins.int
1349
- SUMMARY_FIELD_NUMBER: builtins.int
1350
- DETECTED_AT_FIELD_NUMBER: builtins.int
1351
- model_slug: builtins.str
1352
- model_name: builtins.str
1353
- provider_name: builtins.str
1354
- change_type: builtins.str
1355
- field_name: builtins.str
1356
- old_value: builtins.str
1357
- new_value: builtins.str
1358
- summary: builtins.str
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) -> google.protobuf.timestamp_pb2.Timestamp: ...
1531
+ @_builtins.property
1532
+ def detected_at(self) -> _timestamp_pb2.Timestamp: ...
1362
1533
  def __init__(
1363
1534
  self,
1364
1535
  *,
1365
- model_slug: builtins.str = ...,
1366
- model_name: builtins.str = ...,
1367
- provider_name: builtins.str = ...,
1368
- change_type: builtins.str = ...,
1369
- field_name: builtins.str = ...,
1370
- old_value: builtins.str = ...,
1371
- new_value: builtins.str = ...,
1372
- summary: builtins.str = ...,
1373
- detected_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
1374
- ) -> None: ...
1375
- def HasField(
1376
- self, field_name: typing.Literal["detected_at", b"detected_at"]
1377
- ) -> builtins.bool: ...
1378
- def ClearField(
1379
- self,
1380
- field_name: typing.Literal[
1381
- "change_type",
1382
- b"change_type",
1383
- "detected_at",
1384
- b"detected_at",
1385
- "field_name",
1386
- b"field_name",
1387
- "model_name",
1388
- b"model_name",
1389
- "model_slug",
1390
- b"model_slug",
1391
- "new_value",
1392
- b"new_value",
1393
- "old_value",
1394
- b"old_value",
1395
- "provider_name",
1396
- b"provider_name",
1397
- "summary",
1398
- b"summary",
1399
- ],
1400
- ) -> None: ...
1401
-
1402
- global___UpdateEntry = UpdateEntry
1403
-
1404
- @typing.final
1405
- class ExportDataRequest(google.protobuf.message.Message):
1406
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
1407
-
1408
- FORMAT_FIELD_NUMBER: builtins.int
1409
- PROVIDERS_FIELD_NUMBER: builtins.int
1410
- INCLUDE_INACTIVE_FIELD_NUMBER: builtins.int
1411
- format: builtins.str
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: builtins.bool
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: builtins.str = ...,
1424
- providers: collections.abc.Iterable[builtins.str] | None = ...,
1425
- include_inactive: builtins.bool = ...,
1426
- ) -> None: ...
1427
- def ClearField(
1428
- self,
1429
- field_name: typing.Literal[
1430
- "format",
1431
- b"format",
1432
- "include_inactive",
1433
- b"include_inactive",
1434
- "providers",
1435
- b"providers",
1436
- ],
1437
- ) -> None: ...
1438
-
1439
- global___ExportDataRequest = ExportDataRequest
1440
-
1441
- @typing.final
1442
- class ExportDataResponse(google.protobuf.message.Message):
1443
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
1444
-
1445
- DATA_FIELD_NUMBER: builtins.int
1446
- CONTENT_TYPE_FIELD_NUMBER: builtins.int
1447
- FILENAME_FIELD_NUMBER: builtins.int
1448
- MODEL_COUNT_FIELD_NUMBER: builtins.int
1449
- GENERATED_AT_FIELD_NUMBER: builtins.int
1450
- data: builtins.bytes
1451
- content_type: builtins.str
1452
- filename: builtins.str
1453
- model_count: builtins.int
1454
- @property
1455
- def generated_at(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
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: builtins.bytes = ...,
1460
- content_type: builtins.str = ...,
1461
- filename: builtins.str = ...,
1462
- model_count: builtins.int = ...,
1463
- generated_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
1464
- ) -> None: ...
1465
- def HasField(
1466
- self, field_name: typing.Literal["generated_at", b"generated_at"]
1467
- ) -> builtins.bool: ...
1468
- def ClearField(
1469
- self,
1470
- field_name: typing.Literal[
1471
- "content_type",
1472
- b"content_type",
1473
- "data",
1474
- b"data",
1475
- "filename",
1476
- b"filename",
1477
- "generated_at",
1478
- b"generated_at",
1479
- "model_count",
1480
- b"model_count",
1481
- ],
1482
- ) -> None: ...
1483
-
1484
- global___ExportDataResponse = ExportDataResponse
1485
-
1486
- @typing.final
1487
- class GetStatisticsRequest(google.protobuf.message.Message):
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: google.protobuf.descriptor.Descriptor
1690
+ DESCRIPTOR: _descriptor.Descriptor
1491
1691
 
1492
1692
  def __init__(
1493
1693
  self,
1494
1694
  ) -> None: ...
1495
1695
 
1496
- global___GetStatisticsRequest = GetStatisticsRequest
1696
+ Global___GetStatisticsRequest: _TypeAlias = GetStatisticsRequest # noqa: Y015
1497
1697
 
1498
- @typing.final
1499
- class GetStatisticsResponse(google.protobuf.message.Message):
1500
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
1698
+ @_typing.final
1699
+ class GetStatisticsResponse(_message.Message):
1700
+ DESCRIPTOR: _descriptor.Descriptor
1501
1701
 
1502
- OVERALL_FIELD_NUMBER: builtins.int
1503
- BY_PROVIDER_FIELD_NUMBER: builtins.int
1504
- BY_TYPE_FIELD_NUMBER: builtins.int
1505
- PRICING_FIELD_NUMBER: builtins.int
1506
- RECENT_ACTIVITY_FIELD_NUMBER: builtins.int
1507
- @property
1508
- def overall(self) -> global___OverallStats: ...
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
- ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
1513
- global___ProviderStats
1514
- ]: ...
1515
- @property
1712
+ ) -> _containers.RepeatedCompositeFieldContainer[Global___ProviderStats]: ...
1713
+ @_builtins.property
1516
1714
  def by_type(
1517
1715
  self,
1518
- ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
1519
- global___TypeStats
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
- ) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
1527
- global___RecentActivity
1528
- ]: ...
1722
+ ) -> _containers.RepeatedCompositeFieldContainer[Global___RecentActivity]: ...
1529
1723
  def __init__(
1530
1724
  self,
1531
1725
  *,
1532
- overall: global___OverallStats | None = ...,
1533
- by_provider: collections.abc.Iterable[global___ProviderStats] | None = ...,
1534
- by_type: collections.abc.Iterable[global___TypeStats] | None = ...,
1535
- pricing: global___PricingStats | None = ...,
1536
- recent_activity: collections.abc.Iterable[global___RecentActivity] | None = ...,
1537
- ) -> None: ...
1538
- def HasField(
1539
- self, field_name: typing.Literal["overall", b"overall", "pricing", b"pricing"]
1540
- ) -> builtins.bool: ...
1541
- def ClearField(
1542
- self,
1543
- field_name: typing.Literal[
1544
- "by_provider",
1545
- b"by_provider",
1546
- "by_type",
1547
- b"by_type",
1548
- "overall",
1549
- b"overall",
1550
- "pricing",
1551
- b"pricing",
1552
- "recent_activity",
1553
- b"recent_activity",
1554
- ],
1555
- ) -> None: ...
1556
-
1557
- global___GetStatisticsResponse = GetStatisticsResponse
1558
-
1559
- @typing.final
1560
- class OverallStats(google.protobuf.message.Message):
1561
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
1562
-
1563
- TOTAL_PROVIDERS_FIELD_NUMBER: builtins.int
1564
- TOTAL_MODELS_FIELD_NUMBER: builtins.int
1565
- ACTIVE_MODELS_FIELD_NUMBER: builtins.int
1566
- DEPRECATED_MODELS_FIELD_NUMBER: builtins.int
1567
- OPEN_SOURCE_MODELS_FIELD_NUMBER: builtins.int
1568
- LAST_UPDATE_FIELD_NUMBER: builtins.int
1569
- total_providers: builtins.int
1570
- total_models: builtins.int
1571
- active_models: builtins.int
1572
- deprecated_models: builtins.int
1573
- open_source_models: builtins.int
1574
- @property
1575
- def last_update(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
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: builtins.int = ...,
1580
- total_models: builtins.int = ...,
1581
- active_models: builtins.int = ...,
1582
- deprecated_models: builtins.int = ...,
1583
- open_source_models: builtins.int = ...,
1584
- last_update: google.protobuf.timestamp_pb2.Timestamp | None = ...,
1585
- ) -> None: ...
1586
- def HasField(
1587
- self, field_name: typing.Literal["last_update", b"last_update"]
1588
- ) -> builtins.bool: ...
1589
- def ClearField(
1590
- self,
1591
- field_name: typing.Literal[
1592
- "active_models",
1593
- b"active_models",
1594
- "deprecated_models",
1595
- b"deprecated_models",
1596
- "last_update",
1597
- b"last_update",
1598
- "open_source_models",
1599
- b"open_source_models",
1600
- "total_models",
1601
- b"total_models",
1602
- "total_providers",
1603
- b"total_providers",
1604
- ],
1605
- ) -> None: ...
1606
-
1607
- global___OverallStats = OverallStats
1608
-
1609
- @typing.final
1610
- class ProviderStats(google.protobuf.message.Message):
1611
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
1612
-
1613
- PROVIDER_NAME_FIELD_NUMBER: builtins.int
1614
- MODEL_COUNT_FIELD_NUMBER: builtins.int
1615
- ACTIVE_COUNT_FIELD_NUMBER: builtins.int
1616
- AVG_INPUT_PRICE_FIELD_NUMBER: builtins.int
1617
- AVG_OUTPUT_PRICE_FIELD_NUMBER: builtins.int
1618
- AVG_CONTEXT_WINDOW_FIELD_NUMBER: builtins.int
1619
- provider_name: builtins.str
1620
- model_count: builtins.int
1621
- active_count: builtins.int
1622
- avg_input_price: builtins.float
1623
- avg_output_price: builtins.float
1624
- avg_context_window: builtins.int
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: builtins.str = ...,
1629
- model_count: builtins.int = ...,
1630
- active_count: builtins.int = ...,
1631
- avg_input_price: builtins.float = ...,
1632
- avg_output_price: builtins.float = ...,
1633
- avg_context_window: builtins.int = ...,
1634
- ) -> None: ...
1635
- def ClearField(
1636
- self,
1637
- field_name: typing.Literal[
1638
- "active_count",
1639
- b"active_count",
1640
- "avg_context_window",
1641
- b"avg_context_window",
1642
- "avg_input_price",
1643
- b"avg_input_price",
1644
- "avg_output_price",
1645
- b"avg_output_price",
1646
- "model_count",
1647
- b"model_count",
1648
- "provider_name",
1649
- b"provider_name",
1650
- ],
1651
- ) -> None: ...
1652
-
1653
- global___ProviderStats = ProviderStats
1654
-
1655
- @typing.final
1656
- class TypeStats(google.protobuf.message.Message):
1657
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
1658
-
1659
- MODEL_TYPE_FIELD_NUMBER: builtins.int
1660
- COUNT_FIELD_NUMBER: builtins.int
1661
- PERCENTAGE_FIELD_NUMBER: builtins.int
1662
- model_type: builtins.str
1663
- count: builtins.int
1664
- percentage: builtins.float
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: builtins.str = ...,
1669
- count: builtins.int = ...,
1670
- percentage: builtins.float = ...,
1671
- ) -> None: ...
1672
- def ClearField(
1673
- self,
1674
- field_name: typing.Literal[
1675
- "count", b"count", "model_type", b"model_type", "percentage", b"percentage"
1676
- ],
1677
- ) -> None: ...
1678
-
1679
- global___TypeStats = TypeStats
1680
-
1681
- @typing.final
1682
- class PricingStats(google.protobuf.message.Message):
1683
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
1684
-
1685
- MIN_INPUT_PRICE_FIELD_NUMBER: builtins.int
1686
- MAX_INPUT_PRICE_FIELD_NUMBER: builtins.int
1687
- AVG_INPUT_PRICE_FIELD_NUMBER: builtins.int
1688
- MEDIAN_INPUT_PRICE_FIELD_NUMBER: builtins.int
1689
- MIN_OUTPUT_PRICE_FIELD_NUMBER: builtins.int
1690
- MAX_OUTPUT_PRICE_FIELD_NUMBER: builtins.int
1691
- AVG_OUTPUT_PRICE_FIELD_NUMBER: builtins.int
1692
- MEDIAN_OUTPUT_PRICE_FIELD_NUMBER: builtins.int
1693
- min_input_price: builtins.float
1694
- max_input_price: builtins.float
1695
- avg_input_price: builtins.float
1696
- median_input_price: builtins.float
1697
- min_output_price: builtins.float
1698
- max_output_price: builtins.float
1699
- avg_output_price: builtins.float
1700
- median_output_price: builtins.float
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: builtins.float = ...,
1705
- max_input_price: builtins.float = ...,
1706
- avg_input_price: builtins.float = ...,
1707
- median_input_price: builtins.float = ...,
1708
- min_output_price: builtins.float = ...,
1709
- max_output_price: builtins.float = ...,
1710
- avg_output_price: builtins.float = ...,
1711
- median_output_price: builtins.float = ...,
1712
- ) -> None: ...
1713
- def ClearField(
1714
- self,
1715
- field_name: typing.Literal[
1716
- "avg_input_price",
1717
- b"avg_input_price",
1718
- "avg_output_price",
1719
- b"avg_output_price",
1720
- "max_input_price",
1721
- b"max_input_price",
1722
- "max_output_price",
1723
- b"max_output_price",
1724
- "median_input_price",
1725
- b"median_input_price",
1726
- "median_output_price",
1727
- b"median_output_price",
1728
- "min_input_price",
1729
- b"min_input_price",
1730
- "min_output_price",
1731
- b"min_output_price",
1732
- ],
1733
- ) -> None: ...
1734
-
1735
- global___PricingStats = PricingStats
1736
-
1737
- @typing.final
1738
- class RecentActivity(google.protobuf.message.Message):
1739
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
1740
-
1741
- ACTIVITY_TYPE_FIELD_NUMBER: builtins.int
1742
- DESCRIPTION_FIELD_NUMBER: builtins.int
1743
- TIMESTAMP_FIELD_NUMBER: builtins.int
1744
- activity_type: builtins.str
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: builtins.str
1747
- @property
1748
- def timestamp(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
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: builtins.str = ...,
1753
- description: builtins.str = ...,
1754
- timestamp: google.protobuf.timestamp_pb2.Timestamp | None = ...,
1755
- ) -> None: ...
1756
- def HasField(
1757
- self, field_name: typing.Literal["timestamp", b"timestamp"]
1758
- ) -> builtins.bool: ...
1759
- def ClearField(
1760
- self,
1761
- field_name: typing.Literal[
1762
- "activity_type",
1763
- b"activity_type",
1764
- "description",
1765
- b"description",
1766
- "timestamp",
1767
- b"timestamp",
1768
- ],
1769
- ) -> None: ...
1770
-
1771
- global___RecentActivity = RecentActivity
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