weave-python 0.26.1__py3-none-any.whl → 0.27.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- weave/weaveapi/auth/v1/service_pb2.py +228 -0
- weave/weaveapi/auth/v1/service_pb2.pyi +1406 -0
- weave/weaveapi/auth/v1/service_pb2_grpc.py +1091 -0
- weave/weaveapi/auth/v1/service_pb2_grpc.pyi +606 -0
- weave/weaveapi/auth/v1/session_pb2.py +38 -0
- weave/weaveapi/auth/v1/session_pb2.pyi +111 -0
- weave/weaveapi/auth/v1/session_pb2_grpc.py +2 -0
- weave/weaveapi/auth/v1/session_pb2_grpc.pyi +20 -0
- weave/weaveapi/auth/v1/usage_pb2.py +52 -0
- weave/weaveapi/auth/v1/usage_pb2.pyi +241 -0
- weave/weaveapi/auth/v1/usage_pb2_grpc.py +2 -0
- weave/weaveapi/auth/v1/usage_pb2_grpc.pyi +20 -0
- weave/weaveapi/auth/v1/user_pb2.py +52 -0
- weave/weaveapi/auth/v1/user_pb2.pyi +594 -0
- weave/weaveapi/auth/v1/user_pb2_grpc.py +2 -0
- weave/weaveapi/auth/v1/user_pb2_grpc.pyi +20 -0
- weave/weaveapi/generate/v1/configuration_pb2.py +3 -3
- weave/weaveapi/generate/v1/generate_pb2.py +2 -2
- weave/weaveapi/generate/v1/service_pb2.py +2 -2
- weave/weaveapi/mcpregistry/v1/server_pb2.py +2 -2
- weave/weaveapi/mcpregistry/v1/service_pb2.py +3 -3
- weave/weaveapi/modex/v1/model_pb2.py +58 -0
- weave/weaveapi/modex/v1/model_pb2.pyi +642 -0
- weave/weaveapi/modex/v1/model_pb2_grpc.py +2 -0
- weave/weaveapi/modex/v1/model_pb2_grpc.pyi +20 -0
- weave/weaveapi/modex/v1/provider_pb2.py +38 -0
- weave/weaveapi/modex/v1/provider_pb2.pyi +91 -0
- weave/weaveapi/modex/v1/provider_pb2_grpc.py +2 -0
- weave/weaveapi/modex/v1/provider_pb2_grpc.pyi +20 -0
- weave/weaveapi/modex/v1/service_pb2.py +180 -0
- weave/weaveapi/modex/v1/service_pb2.pyi +1641 -0
- weave/weaveapi/modex/v1/service_pb2_grpc.py +602 -0
- weave/weaveapi/modex/v1/service_pb2_grpc.pyi +268 -0
- weave/weaveapi/payment/v1/invoice_pb2.py +46 -0
- weave/weaveapi/payment/v1/invoice_pb2.pyi +349 -0
- weave/weaveapi/payment/v1/invoice_pb2_grpc.py +2 -0
- weave/weaveapi/payment/v1/invoice_pb2_grpc.pyi +20 -0
- weave/weaveapi/payment/v1/service_pb2.py +244 -0
- weave/weaveapi/payment/v1/service_pb2.pyi +1492 -0
- weave/weaveapi/payment/v1/service_pb2_grpc.py +957 -0
- weave/weaveapi/payment/v1/service_pb2_grpc.pyi +572 -0
- weave/weaveapi/payment/v1/subscription_pb2.py +59 -0
- weave/weaveapi/payment/v1/subscription_pb2.pyi +695 -0
- weave/weaveapi/payment/v1/subscription_pb2_grpc.py +2 -0
- weave/weaveapi/payment/v1/subscription_pb2_grpc.pyi +20 -0
- weave/weaveapi/storage/v1/auth_pb2.py +2 -2
- weave/weaveapi/storage/v1/nosql_database_pb2.py +3 -3
- weave/weaveapi/storage/v1/object_store_pb2.py +3 -3
- weave/weaveapi/storage/v1/service_pb2.py +2 -2
- weave/weaveapi/storage/v1/sql_database_pb2.py +3 -3
- weave/weaveapi/storage/v1/storage_pb2.py +2 -2
- weave/weaveapi/synthesize/v1/dataset_pb2.py +2 -2
- weave/weaveapi/synthesize/v1/inline_data_pb2.py +3 -3
- weave/weaveapi/synthesize/v1/relationship_pb2.py +3 -3
- weave/weaveapi/synthesize/v1/service_pb2.py +2 -2
- weave/weaveapi/synthesize/v1/training_pb2.py +3 -3
- weave/weavesql/{db → weavedb}/queries.py +1 -1
- {weave_python-0.26.1.dist-info → weave_python-0.27.0.dist-info}/METADATA +1 -1
- weave_python-0.27.0.dist-info/RECORD +109 -0
- weave_python-0.26.1.dist-info/RECORD +0 -69
- /weave/weavesql/{db → weavedb}/models.py +0 -0
- {weave_python-0.26.1.dist-info → weave_python-0.27.0.dist-info}/WHEEL +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: weaveapi/mcpregistry/v1/service.proto
|
|
5
|
-
# Protobuf Python Version: 6.
|
|
5
|
+
# Protobuf Python Version: 6.32.0
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
|
|
8
8
|
from google.protobuf import descriptor as _descriptor
|
|
@@ -14,8 +14,8 @@ from google.protobuf.internal import builder as _builder
|
|
|
14
14
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
15
15
|
_runtime_version.Domain.PUBLIC,
|
|
16
16
|
6,
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
32,
|
|
18
|
+
0,
|
|
19
19
|
"",
|
|
20
20
|
"weaveapi/mcpregistry/v1/service.proto",
|
|
21
21
|
)
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: weaveapi/modex/v1/model.proto
|
|
5
|
+
# Protobuf Python Version: 6.32.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
|
|
8
|
+
from google.protobuf import descriptor as _descriptor
|
|
9
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
10
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
11
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
12
|
+
from google.protobuf.internal import builder as _builder
|
|
13
|
+
|
|
14
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
15
|
+
_runtime_version.Domain.PUBLIC, 6, 32, 0, "", "weaveapi/modex/v1/model.proto"
|
|
16
|
+
)
|
|
17
|
+
# @@protoc_insertion_point(imports)
|
|
18
|
+
|
|
19
|
+
_sym_db = _symbol_database.Default()
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
23
|
+
b'\n\x1dweaveapi/modex/v1/model.proto\x12\x11weaveapi.modex.v1\x1a\x1fgoogle/protobuf/timestamp.proto"\xe3\n\n\x05Model\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1f\n\x0bprovider_id\x18\x02 \x01(\tR\nproviderId\x12#\n\rprovider_slug\x18\x03 \x01(\tR\x0cproviderSlug\x12#\n\rprovider_name\x18\x04 \x01(\tR\x0cproviderName\x12\x19\n\x08model_id\x18\x05 \x01(\tR\x07modelId\x12\x12\n\x04slug\x18\x06 \x01(\tR\x04slug\x12\x12\n\x04name\x18\x07 \x01(\tR\x04name\x12!\n\x0c\x64isplay_name\x18\x08 \x01(\tR\x0b\x64isplayName\x12 \n\x0b\x64\x65scription\x18\t \x01(\tR\x0b\x64\x65scription\x12\x18\n\x07version\x18\n \x01(\tR\x07version\x12=\n\x0crelease_date\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0breleaseDate\x12L\n\x14training_data_cutoff\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x12trainingDataCutoff\x12\x45\n\x10\x64\x65precation_date\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0f\x64\x65precationDate\x12H\n\x0c\x63\x61pabilities\x18\x0e \x01(\x0b\x32$.weaveapi.modex.v1.ModelCapabilitiesR\x0c\x63\x61pabilities\x12N\n\x0e\x63lassification\x18\x0f \x01(\x0b\x32&.weaveapi.modex.v1.ModelClassificationR\x0e\x63lassification\x12\x45\n\x0bperformance\x18\x10 \x01(\x0b\x32#.weaveapi.modex.v1.ModelPerformanceR\x0bperformance\x12\x34\n\x06tokens\x18\x11 \x01(\x0b\x32\x1c.weaveapi.modex.v1.TokenInfoR\x06tokens\x12\x34\n\x07pricing\x18\x12 \x01(\x0b\x32\x1a.weaveapi.modex.v1.PricingR\x07pricing\x12\x46\n\rconfiguration\x18\x13 \x01(\x0b\x32 .weaveapi.modex.v1.ConfigurationR\rconfiguration\x12>\n\x0b\x61pi_details\x18\x14 \x01(\x0b\x32\x1d.weaveapi.modex.v1.APIDetailsR\napiDetails\x12\x43\n\x0c\x61vailability\x18\x15 \x01(\x0b\x32\x1f.weaveapi.modex.v1.AvailabilityR\x0c\x61vailability\x12\x42\n\x0flast_scraped_at\x18\x16 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\rlastScrapedAt\x12!\n\x0c\x64\x61ta_sources\x18\x17 \x03(\tR\x0b\x64\x61taSources\x12\x1b\n\tis_active\x18\x18 \x01(\x08R\x08isActive\x12#\n\ris_deprecated\x18\x19 \x01(\x08R\x0cisDeprecated\x12\x30\n\x14replacement_model_id\x18\x1a \x01(\tR\x12replacementModelId\x12\x39\n\ncreated_at\x18\x1b \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x1c \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt"\xdd\x04\n\x11ModelCapabilities\x12#\n\rsupports_chat\x18\x01 \x01(\x08R\x0csupportsChat\x12/\n\x13supports_completion\x18\x02 \x01(\x08R\x12supportsCompletion\x12/\n\x13supports_embeddings\x18\x03 \x01(\x08R\x12supportsEmbeddings\x12\'\n\x0fsupports_vision\x18\x04 \x01(\x08R\x0esupportsVision\x12%\n\x0esupports_audio\x18\x05 \x01(\x08R\rsupportsAudio\x12%\n\x0esupports_video\x18\x06 \x01(\x08R\rsupportsVideo\x12.\n\x13supports_tool_calls\x18\x07 \x01(\x08R\x11supportsToolCalls\x12\x36\n\x17supports_function_calls\x18\x08 \x01(\x08R\x15supportsFunctionCalls\x12,\n\x12supports_json_mode\x18\t \x01(\x08R\x10supportsJsonMode\x12-\n\x12supports_streaming\x18\n \x01(\x08R\x11supportsStreaming\x12-\n\x12supports_reasoning\x18\x0b \x01(\x08R\x11supportsReasoning\x12)\n\x10input_modalities\x18\x0c \x03(\tR\x0finputModalities\x12+\n\x11output_modalities\x18\r \x03(\tR\x10outputModalities"\xca\x01\n\x13ModelClassification\x12\x1d\n\nmodel_type\x18\x01 \x01(\tR\tmodelType\x12"\n\x0c\x61rchitecture\x18\x02 \x01(\tR\x0c\x61rchitecture\x12\'\n\x0fparameter_count\x18\x03 \x01(\x03R\x0eparameterCount\x12$\n\x0eis_open_source\x18\x04 \x01(\x08R\x0cisOpenSource\x12!\n\x0clicense_type\x18\x05 \x01(\tR\x0blicenseType"\xf2\x02\n\x10ModelPerformance\x12\'\n\x0freasoning_score\x18\x01 \x01(\x01R\x0ereasoningScore\x12!\n\x0c\x63oding_score\x18\x02 \x01(\x01R\x0b\x63odingScore\x12%\n\x0e\x63reative_score\x18\x03 \x01(\x01R\rcreativeScore\x12#\n\rfactual_score\x18\x04 \x01(\x01R\x0c\x66\x61\x63tualScore\x12\x1d\n\nmath_score\x18\x05 \x01(\x01R\tmathScore\x12\x63\n\x10\x62\x65nchmark_scores\x18\x06 \x03(\x0b\x32\x38.weaveapi.modex.v1.ModelPerformance.BenchmarkScoresEntryR\x0f\x62\x65nchmarkScores\x1a\x42\n\x14\x42\x65nchmarkScoresEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\x01R\x05value:\x02\x38\x01"\xa8\x01\n\tTokenInfo\x12%\n\x0e\x63ontext_window\x18\x01 \x01(\x05R\rcontextWindow\x12*\n\x11max_output_tokens\x18\x02 \x01(\x05R\x0fmaxOutputTokens\x12\x1c\n\ttokenizer\x18\x03 \x01(\tR\ttokenizer\x12*\n\x11tokens_per_second\x18\x04 \x01(\x05R\x0ftokensPerSecond"\xeb\x01\n\x07Pricing\x12\x1f\n\x0binput_price\x18\x01 \x01(\x01R\ninputPrice\x12!\n\x0coutput_price\x18\x02 \x01(\x01R\x0boutputPrice\x12(\n\x10\x63\x61\x63he_read_price\x18\x03 \x01(\x01R\x0e\x63\x61\x63heReadPrice\x12*\n\x11\x63\x61\x63he_write_price\x18\x04 \x01(\x01R\x0f\x63\x61\x63heWritePrice\x12*\n\x11\x66ine_tuning_price\x18\x05 \x01(\x01R\x0f\x66ineTuningPrice\x12\x1a\n\x08\x63urrency\x18\x06 \x01(\tR\x08\x63urrency"\xca\x01\n\rConfiguration\x12\'\n\x0ftemperature_min\x18\x01 \x01(\x01R\x0etemperatureMin\x12\'\n\x0ftemperature_max\x18\x02 \x01(\x01R\x0etemperatureMax\x12/\n\x13temperature_default\x18\x03 \x01(\x01R\x12temperatureDefault\x12\x1a\n\ttop_p_min\x18\x04 \x01(\x01R\x07topPMin\x12\x1a\n\ttop_p_max\x18\x05 \x01(\x01R\x07topPMax"\x8e\x01\n\nAPIDetails\x12\x1a\n\x08\x65ndpoint\x18\x01 \x01(\tR\x08\x65ndpoint\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version\x12$\n\x0erate_limit_rpm\x18\x03 \x01(\x05R\x0crateLimitRpm\x12$\n\x0erate_limit_tpm\x18\x04 \x01(\x05R\x0crateLimitTpm"F\n\x0c\x41vailability\x12\x18\n\x07regions\x18\x01 \x03(\tR\x07regions\x12\x1c\n\tplatforms\x18\x02 \x03(\tR\tplatformsB\xc1\x01\n\x15\x63om.weaveapi.modex.v1B\nModelProtoP\x01Z6github.com/weave-labs/weave-go/weaveapi/modex/v1;modex\xa2\x02\x03WMX\xaa\x02\x11Weaveapi.Modex.V1\xca\x02\x11Weaveapi\\Modex\\V1\xe2\x02\x1dWeaveapi\\Modex\\V1\\GPBMetadata\xea\x02\x13Weaveapi::Modex::V1b\x06proto3'
|
|
24
|
+
)
|
|
25
|
+
|
|
26
|
+
_globals = globals()
|
|
27
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
28
|
+
_builder.BuildTopDescriptorsAndMessages(
|
|
29
|
+
DESCRIPTOR, "weaveapi.modex.v1.model_pb2", _globals
|
|
30
|
+
)
|
|
31
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
32
|
+
_globals["DESCRIPTOR"]._loaded_options = None
|
|
33
|
+
_globals[
|
|
34
|
+
"DESCRIPTOR"
|
|
35
|
+
]._serialized_options = b"\n\025com.weaveapi.modex.v1B\nModelProtoP\001Z6github.com/weave-labs/weave-go/weaveapi/modex/v1;modex\242\002\003WMX\252\002\021Weaveapi.Modex.V1\312\002\021Weaveapi\\Modex\\V1\342\002\035Weaveapi\\Modex\\V1\\GPBMetadata\352\002\023Weaveapi::Modex::V1"
|
|
36
|
+
_globals["_MODELPERFORMANCE_BENCHMARKSCORESENTRY"]._loaded_options = None
|
|
37
|
+
_globals["_MODELPERFORMANCE_BENCHMARKSCORESENTRY"]._serialized_options = b"8\001"
|
|
38
|
+
_globals["_MODEL"]._serialized_start = 86
|
|
39
|
+
_globals["_MODEL"]._serialized_end = 1465
|
|
40
|
+
_globals["_MODELCAPABILITIES"]._serialized_start = 1468
|
|
41
|
+
_globals["_MODELCAPABILITIES"]._serialized_end = 2073
|
|
42
|
+
_globals["_MODELCLASSIFICATION"]._serialized_start = 2076
|
|
43
|
+
_globals["_MODELCLASSIFICATION"]._serialized_end = 2278
|
|
44
|
+
_globals["_MODELPERFORMANCE"]._serialized_start = 2281
|
|
45
|
+
_globals["_MODELPERFORMANCE"]._serialized_end = 2651
|
|
46
|
+
_globals["_MODELPERFORMANCE_BENCHMARKSCORESENTRY"]._serialized_start = 2585
|
|
47
|
+
_globals["_MODELPERFORMANCE_BENCHMARKSCORESENTRY"]._serialized_end = 2651
|
|
48
|
+
_globals["_TOKENINFO"]._serialized_start = 2654
|
|
49
|
+
_globals["_TOKENINFO"]._serialized_end = 2822
|
|
50
|
+
_globals["_PRICING"]._serialized_start = 2825
|
|
51
|
+
_globals["_PRICING"]._serialized_end = 3060
|
|
52
|
+
_globals["_CONFIGURATION"]._serialized_start = 3063
|
|
53
|
+
_globals["_CONFIGURATION"]._serialized_end = 3265
|
|
54
|
+
_globals["_APIDETAILS"]._serialized_start = 3268
|
|
55
|
+
_globals["_APIDETAILS"]._serialized_end = 3410
|
|
56
|
+
_globals["_AVAILABILITY"]._serialized_start = 3412
|
|
57
|
+
_globals["_AVAILABILITY"]._serialized_end = 3482
|
|
58
|
+
# @@protoc_insertion_point(module_scope)
|