weave-python 0.28.2__py3-none-any.whl → 0.30.3__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 +194 -98
- weave/weaveapi/auth/v1/service_pb2.pyi +1288 -1134
- weave/weaveapi/auth/v1/service_pb2_grpc.pyi +248 -335
- weave/weaveapi/auth/v1/session_pb2.py +14 -6
- weave/weaveapi/auth/v1/session_pb2.pyi +109 -89
- weave/weaveapi/auth/v1/session_pb2_grpc.pyi +11 -10
- weave/weaveapi/auth/v1/usage_pb2.py +18 -14
- weave/weaveapi/auth/v1/usage_pb2.pyi +251 -197
- weave/weaveapi/auth/v1/usage_pb2_grpc.pyi +11 -10
- weave/weaveapi/auth/v1/user_pb2.py +60 -18
- weave/weaveapi/auth/v1/user_pb2.pyi +588 -505
- weave/weaveapi/auth/v1/user_pb2_grpc.pyi +11 -10
- weave/weaveapi/generate/v1/configuration_pb2.py +31 -19
- weave/weaveapi/generate/v1/configuration_pb2.pyi +277 -241
- weave/weaveapi/generate/v1/configuration_pb2_grpc.pyi +11 -10
- weave/weaveapi/generate/v1/generate_pb2.py +32 -6
- weave/weaveapi/generate/v1/generate_pb2.pyi +138 -40
- weave/weaveapi/generate/v1/generate_pb2_grpc.pyi +11 -10
- weave/weaveapi/generate/v1/service_pb2.py +52 -22
- weave/weaveapi/generate/v1/service_pb2.pyi +264 -135
- weave/weaveapi/generate/v1/service_pb2_grpc.py +47 -0
- weave/weaveapi/generate/v1/service_pb2_grpc.pyi +89 -78
- weave/weaveapi/llmx/v1/architecture_pb2.py +42 -42
- weave/weaveapi/llmx/v1/architecture_pb2.pyi +664 -555
- weave/weaveapi/llmx/v1/architecture_pb2_grpc.pyi +11 -10
- weave/weaveapi/llmx/v1/capabilities_pb2.py +88 -56
- weave/weaveapi/llmx/v1/capabilities_pb2.pyi +967 -852
- weave/weaveapi/llmx/v1/capabilities_pb2_grpc.pyi +11 -10
- weave/weaveapi/llmx/v1/model_pb2.py +56 -20
- weave/weaveapi/llmx/v1/model_pb2.pyi +533 -455
- weave/weaveapi/llmx/v1/model_pb2_grpc.pyi +11 -10
- weave/weaveapi/llmx/v1/pricing_pb2.py +24 -20
- weave/weaveapi/llmx/v1/pricing_pb2.pyi +194 -172
- weave/weaveapi/llmx/v1/pricing_pb2_grpc.pyi +11 -10
- weave/weaveapi/llmx/v1/provider_pb2.py +6 -6
- weave/weaveapi/llmx/v1/provider_pb2.pyi +84 -59
- weave/weaveapi/llmx/v1/provider_pb2_grpc.pyi +11 -10
- weave/weaveapi/llmx/v1/service_pb2.py +228 -90
- weave/weaveapi/llmx/v1/service_pb2.pyi +1651 -1403
- weave/weaveapi/llmx/v1/service_pb2_grpc.pyi +160 -203
- weave/weaveapi/mcpregistry/v1/server_pb2.py +16 -10
- weave/weaveapi/mcpregistry/v1/server_pb2.pyi +143 -121
- weave/weaveapi/mcpregistry/v1/server_pb2_grpc.pyi +11 -10
- weave/weaveapi/mcpregistry/v1/service_pb2.py +51 -31
- weave/weaveapi/mcpregistry/v1/service_pb2.pyi +132 -122
- weave/weaveapi/mcpregistry/v1/service_pb2_grpc.pyi +87 -112
- weave/weaveapi/payment/v1/invoice_pb2.py +38 -12
- weave/weaveapi/payment/v1/invoice_pb2.pyi +352 -291
- weave/weaveapi/payment/v1/invoice_pb2_grpc.pyi +11 -10
- weave/weaveapi/payment/v1/service_pb2.py +264 -98
- weave/weaveapi/payment/v1/service_pb2.pyi +1381 -1242
- weave/weaveapi/payment/v1/service_pb2_grpc.pyi +229 -319
- weave/weaveapi/payment/v1/subscription_pb2.py +99 -23
- weave/weaveapi/payment/v1/subscription_pb2.pyi +727 -611
- weave/weaveapi/payment/v1/subscription_pb2_grpc.pyi +11 -10
- weave/weaveapi/storage/v1/auth_pb2.py +6 -6
- weave/weaveapi/storage/v1/auth_pb2.pyi +42 -29
- weave/weaveapi/storage/v1/auth_pb2_grpc.pyi +11 -10
- weave/weaveapi/storage/v1/nosql_database_pb2.py +47 -23
- weave/weaveapi/storage/v1/nosql_database_pb2.pyi +438 -372
- weave/weaveapi/storage/v1/nosql_database_pb2_grpc.pyi +11 -10
- weave/weaveapi/storage/v1/object_store_pb2.py +27 -13
- weave/weaveapi/storage/v1/object_store_pb2.pyi +203 -187
- weave/weaveapi/storage/v1/object_store_pb2_grpc.pyi +11 -10
- weave/weaveapi/storage/v1/service_pb2.py +96 -36
- weave/weaveapi/storage/v1/service_pb2.pyi +414 -357
- weave/weaveapi/storage/v1/service_pb2_grpc.pyi +88 -107
- weave/weaveapi/storage/v1/sql_database_pb2.py +39 -23
- weave/weaveapi/storage/v1/sql_database_pb2.pyi +481 -400
- weave/weaveapi/storage/v1/sql_database_pb2_grpc.pyi +11 -10
- weave/weaveapi/storage/v1/storage_pb2.py +20 -6
- weave/weaveapi/storage/v1/storage_pb2.pyi +79 -70
- weave/weaveapi/storage/v1/storage_pb2_grpc.pyi +11 -10
- weave/weaveapi/synthesize/v1/dataset_pb2.py +14 -12
- weave/weaveapi/synthesize/v1/dataset_pb2.pyi +158 -128
- weave/weaveapi/synthesize/v1/dataset_pb2_grpc.pyi +11 -10
- weave/weaveapi/synthesize/v1/inline_data_pb2.py +9 -9
- weave/weaveapi/synthesize/v1/inline_data_pb2.pyi +31 -27
- weave/weaveapi/synthesize/v1/inline_data_pb2_grpc.pyi +11 -10
- weave/weaveapi/synthesize/v1/relationship_pb2.py +19 -11
- weave/weaveapi/synthesize/v1/relationship_pb2.pyi +67 -64
- weave/weaveapi/synthesize/v1/relationship_pb2_grpc.pyi +11 -10
- weave/weaveapi/synthesize/v1/service_pb2.py +42 -24
- weave/weaveapi/synthesize/v1/service_pb2.pyi +202 -168
- weave/weaveapi/synthesize/v1/service_pb2_grpc.pyi +67 -79
- weave/weaveapi/synthesize/v1/training_pb2.py +19 -13
- weave/weaveapi/synthesize/v1/training_pb2.pyi +119 -106
- weave/weaveapi/synthesize/v1/training_pb2_grpc.pyi +11 -10
- weave/weavesql/llmxdb/capabilities.py +487 -0
- weave/weavesql/llmxdb/changes.py +297 -0
- weave/weavesql/llmxdb/models.py +594 -0
- weave/weavesql/llmxdb/providers.py +348 -0
- weave/weavesql/llmxdb/scraper_runs.py +287 -0
- weave/weavesql/llmxdb/search.py +721 -0
- weave/weavesql/weavedb/dataset.py +75 -0
- weave/weavesql/weavedb/models.py +135 -0
- weave/weavesql/weavedb/relationships.py +72 -0
- weave/weavesql/weavedb/storage.py +113 -0
- weave/weavesql/weavedb/synthesizer.py +107 -0
- {weave_python-0.28.2.dist-info → weave_python-0.30.3.dist-info}/METADATA +3 -3
- weave_python-0.30.3.dist-info/RECORD +131 -0
- {weave_python-0.28.2.dist-info → weave_python-0.30.3.dist-info}/WHEEL +1 -1
- weave_python-0.28.2.dist-info/RECORD +0 -120
- {weave_python-0.28.2.dist-info → weave_python-0.30.3.dist-info}/licenses/LICENSE +0 -0
|
@@ -3,18 +3,19 @@
|
|
|
3
3
|
isort:skip_file
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
|
-
import abc
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import grpc
|
|
10
|
-
import typing
|
|
6
|
+
from collections import abc as _abc
|
|
7
|
+
from grpc import aio as _aio
|
|
8
|
+
import abc as _abc_1
|
|
9
|
+
import grpc as _grpc
|
|
10
|
+
import typing as _typing
|
|
11
11
|
|
|
12
|
-
_T =
|
|
12
|
+
_T = _typing.TypeVar("_T")
|
|
13
13
|
|
|
14
14
|
class _MaybeAsyncIterator(
|
|
15
|
-
|
|
16
|
-
collections.abc.Iterator[_T],
|
|
17
|
-
metaclass=abc.ABCMeta,
|
|
15
|
+
_abc.AsyncIterator[_T], _abc.Iterator[_T], metaclass=_abc_1.ABCMeta
|
|
18
16
|
): ...
|
|
19
|
-
class _ServicerContext(
|
|
17
|
+
class _ServicerContext(_grpc.ServicerContext, _aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
20
18
|
...
|
|
19
|
+
|
|
20
|
+
GRPC_GENERATED_VERSION: str
|
|
21
|
+
GRPC_VERSION: str
|
|
@@ -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/llmx/v1/capabilities.proto
|
|
5
|
-
# Protobuf Python Version: 6.
|
|
5
|
+
# Protobuf Python Version: 6.33.5
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
|
|
8
8
|
from google.protobuf import descriptor as _descriptor
|
|
@@ -12,7 +12,7 @@ from google.protobuf import symbol_database as _symbol_database
|
|
|
12
12
|
from google.protobuf.internal import builder as _builder
|
|
13
13
|
|
|
14
14
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
15
|
-
_runtime_version.Domain.PUBLIC, 6,
|
|
15
|
+
_runtime_version.Domain.PUBLIC, 6, 33, 5, "", "weaveapi/llmx/v1/capabilities.proto"
|
|
16
16
|
)
|
|
17
17
|
# @@protoc_insertion_point(imports)
|
|
18
18
|
|
|
@@ -20,7 +20,7 @@ _sym_db = _symbol_database.Default()
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
23
|
-
b'\n#weaveapi/llmx/v1/capabilities.proto\x12\x10weaveapi.llmx.v1"\xad\x07\n\nCapability\x12\x34\n\x04type\x18\x01 \x01(\x0e\x32 .weaveapi.llmx.v1.CapabilityTypeR\x04type\x12\x18\n\x07\x65nabled\x18\x02 \x01(\x08R\x07\x65nabled\x12,\n\x04text\x18\x03 \x01(\x0b\x32\x16.weaveapi.llmx.v1.TextH\x00R\x04text\x12W\n\x13structured_response\x18\x04 \x01(\x0b\x32$.weaveapi.llmx.v1.StructuredResponseH\x00R\x12structuredResponse\x12;\n\tstreaming\x18\x05 \x01(\x0b\x32\x1b.weaveapi.llmx.v1.StreamingH\x00R\tstreaming\x12N\n\x10\x66unction_calling\x18\x06 \x01(\x0b\x32!.weaveapi.llmx.v1.FunctionCallingH\x00R\x0f\x66unctionCalling\x12\x32\n\x06vision\x18\x07 \x01(\x0b\x32\x18.weaveapi.llmx.v1.VisionH\x00R\x06vision\x12\x36\n\x08tool_use\x18\x08 \x01(\x0b\x32\x19.weaveapi.llmx.v1.ToolUseH\x00R\x07toolUse\x12\x45\n\rsystem_prompt\x18\t \x01(\x0b\x32\x1e.weaveapi.llmx.v1.SystemPromptH\x00R\x0csystemPrompt\x12\x35\n\x07\x63\x61\x63hing\x18\n \x01(\x0b\x32\x19.weaveapi.llmx.v1.CachingH\x00R\x07\x63\x61\x63hing\x12;\n\treasoning\x18\x0b \x01(\x0b\x32\x1b.weaveapi.llmx.v1.ReasoningH\x00R\treasoning\x12/\n\x05\x61udio\x18\x0c \x01(\x0b\x32\x17.weaveapi.llmx.v1.AudioH\x00R\x05\x61udio\x12/\n\x05video\x18\r \x01(\x0b\x32\x17.weaveapi.llmx.v1.VideoH\x00R\x05video\x12>\n\nembeddings\x18\x0e \x01(\x0b\x32\x1c.weaveapi.llmx.v1.EmbeddingsH\x00R\nembeddings\x12?\n\x0b\x66ine_tuning\x18\x0f \x01(\x0b\x32\x1c.weaveapi.llmx.v1.FineTuningH\x00R\nfineTuning\x12\'\n\x0f\x61\x64\x64itional_info\x18\x10 \x01(\tR\x0e\x61\x64\x64itionalInfoB\x08\n\x06\x63onfig"\xb0\x02\n\x04Text\x12\x41\n\tdirection\x18\x01 \x01(\x0e\x32#.weaveapi.llmx.v1.ModalityDirectionR\tdirection\x12(\n\x10max_input_length\x18\x02 \x01(\x05R\x0emaxInputLength\x12*\n\x11max_output_length\x18\x03 \x01(\x05R\x0fmaxOutputLength\x12/\n\x13supported_languages\x18\x04 \x03(\tR\x12supportedLanguages\x12\x33\n\x15supports_conversation\x18\x05 \x01(\x08R\x14supportsConversation\x12)\n\x10supports_context\x18\x06 \x01(\x08R\x0fsupportsContext"\xb2\x03\n\x12StructuredResponse\x12,\n\x12system_prompt_hint\x18\x01 \x01(\tR\x10systemPromptHint\x12I\n\x11supported_formats\x18\x02 \x03(\x0e\x32\x1c.weaveapi.llmx.v1.DataFormatR\x10supportedFormats\x12(\n\x10max_schema_depth\x18\x03 \x01(\x05R\x0emaxSchemaDepth\x12*\n\x11requires_tool_use\x18\x04 \x01(\x08R\x0frequiresToolUse\x12,\n\x12requires_json_mode\x18\x05 \x01(\x08R\x10requiresJsonMode\x12%\n\x0emax_properties\x18\x06 \x01(\x05R\rmaxProperties\x12I\n\x0fsupported_types\x18\x07 \x03(\x0e\x32 .weaveapi.llmx.v1.JsonSchemaTypeR\x0esupportedTypes\x12-\n\x12supports_streaming\x18\x08 \x01(\x08R\x11supportsStreaming"\xfd\x01\n\tStreaming\x12\'\n\x0f\x63hunk_delimiter\x18\x01 \x01(\tR\x0e\x63hunkDelimiter\x12\x1f\n\x0b\x62uffer_size\x18\x02 \x01(\x05R\nbufferSize\x12!\n\x0csupports_sse\x18\x03 \x01(\x08R\x0bsupportsSse\x12%\n\x0esupports_usage\x18\x04 \x01(\x08R\rsupportsUsage\x12/\n\x14\x61vg_chunk_size_bytes\x18\x05 \x01(\x05R\x11\x61vgChunkSizeBytes\x12+\n\x12max_chunk_delay_ms\x18\x06 \x01(\x05R\x0fmaxChunkDelayMs"\xf8\x02\n\x0f\x46unctionCalling\x12#\n\rmax_functions\x18\x01 \x01(\x05R\x0cmaxFunctions\x12,\n\x12max_parallel_calls\x18\x02 \x01(\x05R\x10maxParallelCalls\x12+\n\x11supports_parallel\x18\x03 \x01(\x08R\x10supportsParallel\x12,\n\x12requires_tool_role\x18\x04 \x01(\x08R\x10requiresToolRole\x12-\n\x12supports_streaming\x18\x05 \x01(\x08R\x11supportsStreaming\x12\\\n\x19supported_parameter_types\x18\x06 \x03(\x0e\x32 .weaveapi.llmx.v1.JsonSchemaTypeR\x17supportedParameterTypes\x12*\n\x11max_nesting_depth\x18\x07 \x01(\x05R\x0fmaxNestingDepth"\xf6\x03\n\x06Vision\x12\x41\n\tdirection\x18\x01 \x01(\x0e\x32#.weaveapi.llmx.v1.ModalityDirectionR\tdirection\x12J\n\x11supported_formats\x18\x02 \x03(\x0e\x32\x1d.weaveapi.llmx.v1.ImageFormatR\x10supportedFormats\x12/\n\x14max_image_size_bytes\x18\x03 \x01(\x03R\x11maxImageSizeBytes\x12\x33\n\x16max_images_per_request\x18\x04 \x01(\x05R\x13maxImagesPerRequest\x12\x30\n\x14max_resolution_width\x18\x05 \x01(\x05R\x12maxResolutionWidth\x12\x32\n\x15max_resolution_height\x18\x06 \x01(\x05R\x13maxResolutionHeight\x12!\n\x0csupports_ocr\x18\x07 \x01(\x08R\x0bsupportsOcr\x12:\n\x19supports_object_detection\x18\x08 \x01(\x08R\x17supportsObjectDetection\x12\x32\n\x15supports_video_frames\x18\t \x01(\x08R\x13supportsVideoFrames"\xfa\x01\n\x07ToolUse\x12\x1b\n\tmax_tools\x18\x01 \x01(\x05R\x08maxTools\x12/\n\x13supports_sequential\x18\x02 \x01(\x08R\x12supportsSequential\x12+\n\x11supports_parallel\x18\x03 \x01(\x08R\x10supportsParallel\x12&\n\x0fmax_tool_rounds\x18\x04 \x01(\x05R\rmaxToolRounds\x12L\n\x14supported_tool_types\x18\x05 \x03(\x0e\x32\x1a.weaveapi.llmx.v1.ToolTypeR\x12supportedToolTypes"\xbb\x01\n\x0cSystemPrompt\x12\x1d\n\nmax_length\x18\x01 \x01(\x05R\tmaxLength\x12+\n\x11supports_multiple\x18\x02 \x01(\x08R\x10supportsMultiple\x12)\n\x10supports_caching\x18\x03 \x01(\x08R\x0fsupportsCaching\x12\x34\n\x06\x66ormat\x18\x04 \x01(\x0e\x32\x1c.weaveapi.llmx.v1.DataFormatR\x06\x66ormat"\xd9\x02\n\x07\x43\x61\x63hing\x12M\n\x12\x63\x61\x63he_key_strategy\x18\x01 \x01(\x0e\x32\x1f.weaveapi.llmx.v1.CacheStrategyR\x10\x63\x61\x63heKeyStrategy\x12/\n\x14max_cache_size_bytes\x18\x02 \x01(\x03R\x11maxCacheSizeBytes\x12*\n\x11\x63\x61\x63he_ttl_seconds\x18\x03 \x01(\x05R\x0f\x63\x61\x63heTtlSeconds\x12\x38\n\x18supports_context_caching\x18\x04 \x01(\x08R\x16supportsContextCaching\x12\x36\n\x17supports_prompt_caching\x18\x05 \x01(\x08R\x15supportsPromptCaching\x12\x30\n\x14min_cacheable_tokens\x18\x06 \x01(\x05R\x12minCacheableTokens"\xbe\x02\n\tReasoning\x12\x39\n\x19supports_chain_of_thought\x18\x01 \x01(\x08R\x16supportsChainOfThought\x12\x34\n\x16supports_step_tracking\x18\x02 \x01(\x08R\x14supportsStepTracking\x12.\n\x13max_reasoning_steps\x18\x03 \x01(\x05R\x11maxReasoningSteps\x12\x38\n\x18supports_self_correction\x18\x04 \x01(\x08R\x16supportsSelfCorrection\x12V\n\x14reasoning_strategies\x18\x05 \x03(\x0e\x32#.weaveapi.llmx.v1.ReasoningStrategyR\x13reasoningStrategies"\x91\x03\n\x05\x41udio\x12\x41\n\tdirection\x18\x01 \x01(\x0e\x32#.weaveapi.llmx.v1.ModalityDirectionR\tdirection\x12J\n\x11supported_formats\x18\x02 \x03(\x0e\x32\x1d.weaveapi.llmx.v1.AudioFormatR\x10supportedFormats\x12\x30\n\x14max_duration_seconds\x18\x03 \x01(\x05R\x12maxDurationSeconds\x12-\n\x13max_file_size_bytes\x18\x04 \x01(\x03R\x10maxFileSizeBytes\x12/\n\x13supported_languages\x18\x05 \x03(\tR\x12supportedLanguages\x12-\n\x12supports_streaming\x18\x06 \x01(\x08R\x11supportsStreaming\x12\x38\n\x18supports_voice_selection\x18\x07 \x01(\x08R\x16supportsVoiceSelection"\xeb\x02\n\x05Video\x12\x41\n\tdirection\x18\x01 \x01(\x0e\x32#.weaveapi.llmx.v1.ModalityDirectionR\tdirection\x12J\n\x11supported_formats\x18\x02 \x03(\x0e\x32\x1d.weaveapi.llmx.v1.VideoFormatR\x10supportedFormats\x12\x30\n\x14max_duration_seconds\x18\x03 \x01(\x05R\x12maxDurationSeconds\x12-\n\x13max_file_size_bytes\x18\x04 \x01(\x03R\x10maxFileSizeBytes\x12\x17\n\x07max_fps\x18\x05 \x01(\x05R\x06maxFps\x12:\n\x19supports_frame_extraction\x18\x06 \x01(\x08R\x17supportsFrameExtraction\x12\x1d\n\nmax_frames\x18\x07 \x01(\x05R\tmaxFrames"\x83\x02\n\nEmbeddings\x12\x31\n\x14\x65mbedding_dimensions\x18\x01 \x01(\x05R\x13\x65mbeddingDimensions\x12(\n\x10max_input_tokens\x18\x02 \x01(\x05R\x0emaxInputTokens\x12%\n\x0esupports_batch\x18\x03 \x01(\x08R\rsupportsBatch\x12$\n\x0emax_batch_size\x18\x04 \x01(\x05R\x0cmaxBatchSize\x12K\n\x10\x64istance_metrics\x18\x05 \x03(\x0e\x32 .weaveapi.llmx.v1.DistanceMetricR\x0f\x64istanceMetrics"\xca\x02\n\nFineTuning\x12!\n\x0cmin_examples\x18\x01 \x01(\x05R\x0bminExamples\x12!\n\x0cmax_examples\x18\x02 \x01(\x05R\x0bmaxExamples\x12I\n\x11supported_formats\x18\x03 \x03(\x0e\x32\x1c.weaveapi.llmx.v1.DataFormatR\x10supportedFormats\x12\'\n\x10max_file_size_mb\x18\x04 \x01(\x05R\rmaxFileSizeMb\x12\x36\n\x17supports_validation_set\x18\x05 \x01(\x08R\x15supportsValidationSet\x12J\n\x0fhyperparameters\x18\x06 \x03(\x0e\x32 .weaveapi.llmx.v1.HyperparameterR\x0fhyperparameters*\xc9\x03\n\x0e\x43\x61pabilityType\x12\x1f\n\x1b\x43\x41PABILITY_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14\x43\x41PABILITY_TYPE_TEXT\x10\x01\x12\'\n#CAPABILITY_TYPE_STRUCTURED_RESPONSE\x10\x02\x12\x1d\n\x19\x43\x41PABILITY_TYPE_STREAMING\x10\x03\x12$\n CAPABILITY_TYPE_FUNCTION_CALLING\x10\x04\x12\x1a\n\x16\x43\x41PABILITY_TYPE_VISION\x10\x05\x12\x1c\n\x18\x43\x41PABILITY_TYPE_TOOL_USE\x10\x06\x12!\n\x1d\x43\x41PABILITY_TYPE_SYSTEM_PROMPT\x10\x07\x12\x1b\n\x17\x43\x41PABILITY_TYPE_CACHING\x10\x08\x12\x1d\n\x19\x43\x41PABILITY_TYPE_REASONING\x10\t\x12\x19\n\x15\x43\x41PABILITY_TYPE_AUDIO\x10\n\x12\x19\n\x15\x43\x41PABILITY_TYPE_VIDEO\x10\x0b\x12\x1e\n\x1a\x43\x41PABILITY_TYPE_EMBEDDINGS\x10\x0c\x12\x1f\n\x1b\x43\x41PABILITY_TYPE_FINE_TUNING\x10\r*\xfc\x01\n\nDataFormat\x12\x1b\n\x17\x44\x41TA_FORMAT_UNSPECIFIED\x10\x00\x12\x14\n\x10\x44\x41TA_FORMAT_JSON\x10\x01\x12\x14\n\x10\x44\x41TA_FORMAT_YAML\x10\x02\x12\x13\n\x0f\x44\x41TA_FORMAT_XML\x10\x03\x12\x15\n\x11\x44\x41TA_FORMAT_JSONL\x10\x04\x12\x13\n\x0f\x44\x41TA_FORMAT_CSV\x10\x05\x12\x17\n\x13\x44\x41TA_FORMAT_PARQUET\x10\x06\x12\x15\n\x11\x44\x41TA_FORMAT_PLAIN\x10\x07\x12\x18\n\x14\x44\x41TA_FORMAT_MARKDOWN\x10\x08\x12\x1a\n\x16\x44\x41TA_FORMAT_STRUCTURED\x10\t*\xfc\x01\n\x0eJsonSchemaType\x12 \n\x1cJSON_SCHEMA_TYPE_UNSPECIFIED\x10\x00\x12\x1b\n\x17JSON_SCHEMA_TYPE_OBJECT\x10\x01\x12\x1a\n\x16JSON_SCHEMA_TYPE_ARRAY\x10\x02\x12\x1b\n\x17JSON_SCHEMA_TYPE_STRING\x10\x03\x12\x1b\n\x17JSON_SCHEMA_TYPE_NUMBER\x10\x04\x12\x1c\n\x18JSON_SCHEMA_TYPE_BOOLEAN\x10\x05\x12\x19\n\x15JSON_SCHEMA_TYPE_NULL\x10\x06\x12\x1c\n\x18JSON_SCHEMA_TYPE_INTEGER\x10\x07*\xc8\x01\n\x0bImageFormat\x12\x1c\n\x18IMAGE_FORMAT_UNSPECIFIED\x10\x00\x12\x15\n\x11IMAGE_FORMAT_JPEG\x10\x01\x12\x14\n\x10IMAGE_FORMAT_PNG\x10\x02\x12\x14\n\x10IMAGE_FORMAT_GIF\x10\x03\x12\x15\n\x11IMAGE_FORMAT_WEBP\x10\x04\x12\x14\n\x10IMAGE_FORMAT_BMP\x10\x05\x12\x15\n\x11IMAGE_FORMAT_TIFF\x10\x06\x12\x14\n\x10IMAGE_FORMAT_SVG\x10\x07*\xdd\x01\n\x0b\x41udioFormat\x12\x1c\n\x18\x41UDIO_FORMAT_UNSPECIFIED\x10\x00\x12\x14\n\x10\x41UDIO_FORMAT_MP3\x10\x01\x12\x14\n\x10\x41UDIO_FORMAT_WAV\x10\x02\x12\x14\n\x10\x41UDIO_FORMAT_OGG\x10\x03\x12\x14\n\x10\x41UDIO_FORMAT_M4A\x10\x04\x12\x15\n\x11\x41UDIO_FORMAT_FLAC\x10\x05\x12\x14\n\x10\x41UDIO_FORMAT_AAC\x10\x06\x12\x14\n\x10\x41UDIO_FORMAT_WMA\x10\x07\x12\x15\n\x11\x41UDIO_FORMAT_OPUS\x10\x08*\xc6\x01\n\x0bVideoFormat\x12\x1c\n\x18VIDEO_FORMAT_UNSPECIFIED\x10\x00\x12\x14\n\x10VIDEO_FORMAT_MP4\x10\x01\x12\x14\n\x10VIDEO_FORMAT_AVI\x10\x02\x12\x14\n\x10VIDEO_FORMAT_MOV\x10\x03\x12\x14\n\x10VIDEO_FORMAT_MKV\x10\x04\x12\x15\n\x11VIDEO_FORMAT_WEBM\x10\x05\x12\x14\n\x10VIDEO_FORMAT_FLV\x10\x06\x12\x14\n\x10VIDEO_FORMAT_WMV\x10\x07*\xd2\x01\n\x08ToolType\x12\x19\n\x15TOOL_TYPE_UNSPECIFIED\x10\x00\x12\x16\n\x12TOOL_TYPE_FUNCTION\x10\x01\x12\x17\n\x13TOOL_TYPE_RETRIEVAL\x10\x02\x12\x1e\n\x1aTOOL_TYPE_CODE_INTERPRETER\x10\x03\x12\x19\n\x15TOOL_TYPE_WEB_BROWSER\x10\x04\x12\x16\n\x12TOOL_TYPE_DATABASE\x10\x05\x12\x11\n\rTOOL_TYPE_API\x10\x06\x12\x14\n\x10TOOL_TYPE_CUSTOM\x10\x07*\xb6\x01\n\rCacheStrategy\x12\x1e\n\x1a\x43\x41\x43HE_STRATEGY_UNSPECIFIED\x10\x00\x12\x17\n\x13\x43\x41\x43HE_STRATEGY_HASH\x10\x01\x12\x1b\n\x17\x43\x41\x43HE_STRATEGY_SEMANTIC\x10\x02\x12\x19\n\x15\x43\x41\x43HE_STRATEGY_CUSTOM\x10\x03\x12\x19\n\x15\x43\x41\x43HE_STRATEGY_PREFIX\x10\x04\x12\x19\n\x15\x43\x41\x43HE_STRATEGY_SUFFIX\x10\x05*\xa7\x02\n\x11ReasoningStrategy\x12"\n\x1eREASONING_STRATEGY_UNSPECIFIED\x10\x00\x12\'\n#REASONING_STRATEGY_CHAIN_OF_THOUGHT\x10\x01\x12\'\n#REASONING_STRATEGY_TREE_OF_THOUGHTS\x10\x02\x12(\n$REASONING_STRATEGY_GRAPH_OF_THOUGHTS\x10\x03\x12#\n\x1fREASONING_STRATEGY_STEP_BY_STEP\x10\x04\x12\'\n#REASONING_STRATEGY_SELF_CONSISTENCY\x10\x05\x12$\n REASONING_STRATEGY_LEAST_TO_MOST\x10\x06*\xc9\x01\n\x0e\x44istanceMetric\x12\x1f\n\x1b\x44ISTANCE_METRIC_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x44ISTANCE_METRIC_COSINE\x10\x01\x12\x1d\n\x19\x44ISTANCE_METRIC_EUCLIDEAN\x10\x02\x12\x1f\n\x1b\x44ISTANCE_METRIC_DOT_PRODUCT\x10\x03\x12\x1d\n\x19\x44ISTANCE_METRIC_MANHATTAN\x10\x04\x12\x1b\n\x17\x44ISTANCE_METRIC_HAMMING\x10\x05*\xfb\x02\n\x0eHyperparameter\x12\x1e\n\x1aHYPERPARAMETER_UNSPECIFIED\x10\x00\x12 \n\x1cHYPERPARAMETER_LEARNING_RATE\x10\x01\x12\x1d\n\x19HYPERPARAMETER_BATCH_SIZE\x10\x02\x12\x19\n\x15HYPERPARAMETER_EPOCHS\x10\x03\x12\x1f\n\x1bHYPERPARAMETER_WARMUP_STEPS\x10\x04\x12\x1f\n\x1bHYPERPARAMETER_WEIGHT_DECAY\x10\x05\x12(\n$HYPERPARAMETER_GRADIENT_ACCUMULATION\x10\x06\x12\x1f\n\x1bHYPERPARAMETER_LR_SCHEDULER\x10\x07\x12\x1c\n\x18HYPERPARAMETER_OPTIMIZER\x10\x08\x12\x1a\n\x16HYPERPARAMETER_DROPOUT\x10\t\x12&\n"HYPERPARAMETER_MAX_SEQUENCE_LENGTH\x10\n*\xa3\x01\n\x11ModalityDirection\x12"\n\x1eMODALITY_DIRECTION_UNSPECIFIED\x10\x00\x12!\n\x1dMODALITY_DIRECTION_INPUT_ONLY\x10\x01\x12"\n\x1eMODALITY_DIRECTION_OUTPUT_ONLY\x10\x02\x12#\n\x1fMODALITY_DIRECTION_INPUT_OUTPUT\x10\x03\x42\xc1\x01\n\x14\x63om.weaveapi.llmx.v1B\x11\x43\x61pabilitiesProtoP\x01Z4github.com/weave-labs/weave-go/weaveapi/llmx/v1;llmx\xa2\x02\x03WLX\xaa\x02\x10Weaveapi.Llmx.V1\xca\x02\x10Weaveapi\\Llmx\\V1\xe2\x02\x1cWeaveapi\\Llmx\\V1\\GPBMetadata\xea\x02\x12Weaveapi::Llmx::V1b\x06proto3'
|
|
23
|
+
b'\n#weaveapi/llmx/v1/capabilities.proto\x12\x10weaveapi.llmx.v1\x1a!google/protobuf/go_features.proto"\xe1\x07\n\nCapability\x12\x34\n\x04type\x18\x01 \x01(\x0e\x32 .weaveapi.llmx.v1.CapabilityTypeR\x04type\x12\x18\n\x07\x65nabled\x18\x02 \x01(\x08R\x07\x65nabled\x12\x30\n\x04text\x18\x03 \x01(\x0b\x32\x16.weaveapi.llmx.v1.TextB\x02(\x01H\x00R\x04text\x12[\n\x13structured_response\x18\x04 \x01(\x0b\x32$.weaveapi.llmx.v1.StructuredResponseB\x02(\x01H\x00R\x12structuredResponse\x12?\n\tstreaming\x18\x05 \x01(\x0b\x32\x1b.weaveapi.llmx.v1.StreamingB\x02(\x01H\x00R\tstreaming\x12R\n\x10\x66unction_calling\x18\x06 \x01(\x0b\x32!.weaveapi.llmx.v1.FunctionCallingB\x02(\x01H\x00R\x0f\x66unctionCalling\x12\x36\n\x06vision\x18\x07 \x01(\x0b\x32\x18.weaveapi.llmx.v1.VisionB\x02(\x01H\x00R\x06vision\x12:\n\x08tool_use\x18\x08 \x01(\x0b\x32\x19.weaveapi.llmx.v1.ToolUseB\x02(\x01H\x00R\x07toolUse\x12I\n\rsystem_prompt\x18\t \x01(\x0b\x32\x1e.weaveapi.llmx.v1.SystemPromptB\x02(\x01H\x00R\x0csystemPrompt\x12\x39\n\x07\x63\x61\x63hing\x18\n \x01(\x0b\x32\x19.weaveapi.llmx.v1.CachingB\x02(\x01H\x00R\x07\x63\x61\x63hing\x12?\n\treasoning\x18\x0b \x01(\x0b\x32\x1b.weaveapi.llmx.v1.ReasoningB\x02(\x01H\x00R\treasoning\x12\x33\n\x05\x61udio\x18\x0c \x01(\x0b\x32\x17.weaveapi.llmx.v1.AudioB\x02(\x01H\x00R\x05\x61udio\x12\x33\n\x05video\x18\r \x01(\x0b\x32\x17.weaveapi.llmx.v1.VideoB\x02(\x01H\x00R\x05video\x12\x42\n\nembeddings\x18\x0e \x01(\x0b\x32\x1c.weaveapi.llmx.v1.EmbeddingsB\x02(\x01H\x00R\nembeddings\x12\x43\n\x0b\x66ine_tuning\x18\x0f \x01(\x0b\x32\x1c.weaveapi.llmx.v1.FineTuningB\x02(\x01H\x00R\nfineTuning\x12\'\n\x0f\x61\x64\x64itional_info\x18\x10 \x01(\tR\x0e\x61\x64\x64itionalInfoB\x08\n\x06\x63onfig"\xb0\x02\n\x04Text\x12\x41\n\tdirection\x18\x01 \x01(\x0e\x32#.weaveapi.llmx.v1.ModalityDirectionR\tdirection\x12(\n\x10max_input_length\x18\x02 \x01(\x05R\x0emaxInputLength\x12*\n\x11max_output_length\x18\x03 \x01(\x05R\x0fmaxOutputLength\x12/\n\x13supported_languages\x18\x04 \x03(\tR\x12supportedLanguages\x12\x33\n\x15supports_conversation\x18\x05 \x01(\x08R\x14supportsConversation\x12)\n\x10supports_context\x18\x06 \x01(\x08R\x0fsupportsContext"\xb2\x03\n\x12StructuredResponse\x12,\n\x12system_prompt_hint\x18\x01 \x01(\tR\x10systemPromptHint\x12I\n\x11supported_formats\x18\x02 \x03(\x0e\x32\x1c.weaveapi.llmx.v1.DataFormatR\x10supportedFormats\x12(\n\x10max_schema_depth\x18\x03 \x01(\x05R\x0emaxSchemaDepth\x12*\n\x11requires_tool_use\x18\x04 \x01(\x08R\x0frequiresToolUse\x12,\n\x12requires_json_mode\x18\x05 \x01(\x08R\x10requiresJsonMode\x12%\n\x0emax_properties\x18\x06 \x01(\x05R\rmaxProperties\x12I\n\x0fsupported_types\x18\x07 \x03(\x0e\x32 .weaveapi.llmx.v1.JsonSchemaTypeR\x0esupportedTypes\x12-\n\x12supports_streaming\x18\x08 \x01(\x08R\x11supportsStreaming"\xfd\x01\n\tStreaming\x12\'\n\x0f\x63hunk_delimiter\x18\x01 \x01(\tR\x0e\x63hunkDelimiter\x12\x1f\n\x0b\x62uffer_size\x18\x02 \x01(\x05R\nbufferSize\x12!\n\x0csupports_sse\x18\x03 \x01(\x08R\x0bsupportsSse\x12%\n\x0esupports_usage\x18\x04 \x01(\x08R\rsupportsUsage\x12/\n\x14\x61vg_chunk_size_bytes\x18\x05 \x01(\x05R\x11\x61vgChunkSizeBytes\x12+\n\x12max_chunk_delay_ms\x18\x06 \x01(\x05R\x0fmaxChunkDelayMs"\xf8\x02\n\x0f\x46unctionCalling\x12#\n\rmax_functions\x18\x01 \x01(\x05R\x0cmaxFunctions\x12,\n\x12max_parallel_calls\x18\x02 \x01(\x05R\x10maxParallelCalls\x12+\n\x11supports_parallel\x18\x03 \x01(\x08R\x10supportsParallel\x12,\n\x12requires_tool_role\x18\x04 \x01(\x08R\x10requiresToolRole\x12-\n\x12supports_streaming\x18\x05 \x01(\x08R\x11supportsStreaming\x12\\\n\x19supported_parameter_types\x18\x06 \x03(\x0e\x32 .weaveapi.llmx.v1.JsonSchemaTypeR\x17supportedParameterTypes\x12*\n\x11max_nesting_depth\x18\x07 \x01(\x05R\x0fmaxNestingDepth"\xf6\x03\n\x06Vision\x12\x41\n\tdirection\x18\x01 \x01(\x0e\x32#.weaveapi.llmx.v1.ModalityDirectionR\tdirection\x12J\n\x11supported_formats\x18\x02 \x03(\x0e\x32\x1d.weaveapi.llmx.v1.ImageFormatR\x10supportedFormats\x12/\n\x14max_image_size_bytes\x18\x03 \x01(\x03R\x11maxImageSizeBytes\x12\x33\n\x16max_images_per_request\x18\x04 \x01(\x05R\x13maxImagesPerRequest\x12\x30\n\x14max_resolution_width\x18\x05 \x01(\x05R\x12maxResolutionWidth\x12\x32\n\x15max_resolution_height\x18\x06 \x01(\x05R\x13maxResolutionHeight\x12!\n\x0csupports_ocr\x18\x07 \x01(\x08R\x0bsupportsOcr\x12:\n\x19supports_object_detection\x18\x08 \x01(\x08R\x17supportsObjectDetection\x12\x32\n\x15supports_video_frames\x18\t \x01(\x08R\x13supportsVideoFrames"\xfa\x01\n\x07ToolUse\x12\x1b\n\tmax_tools\x18\x01 \x01(\x05R\x08maxTools\x12/\n\x13supports_sequential\x18\x02 \x01(\x08R\x12supportsSequential\x12+\n\x11supports_parallel\x18\x03 \x01(\x08R\x10supportsParallel\x12&\n\x0fmax_tool_rounds\x18\x04 \x01(\x05R\rmaxToolRounds\x12L\n\x14supported_tool_types\x18\x05 \x03(\x0e\x32\x1a.weaveapi.llmx.v1.ToolTypeR\x12supportedToolTypes"\xbb\x01\n\x0cSystemPrompt\x12\x1d\n\nmax_length\x18\x01 \x01(\x05R\tmaxLength\x12+\n\x11supports_multiple\x18\x02 \x01(\x08R\x10supportsMultiple\x12)\n\x10supports_caching\x18\x03 \x01(\x08R\x0fsupportsCaching\x12\x34\n\x06\x66ormat\x18\x04 \x01(\x0e\x32\x1c.weaveapi.llmx.v1.DataFormatR\x06\x66ormat"\xd9\x02\n\x07\x43\x61\x63hing\x12M\n\x12\x63\x61\x63he_key_strategy\x18\x01 \x01(\x0e\x32\x1f.weaveapi.llmx.v1.CacheStrategyR\x10\x63\x61\x63heKeyStrategy\x12/\n\x14max_cache_size_bytes\x18\x02 \x01(\x03R\x11maxCacheSizeBytes\x12*\n\x11\x63\x61\x63he_ttl_seconds\x18\x03 \x01(\x05R\x0f\x63\x61\x63heTtlSeconds\x12\x38\n\x18supports_context_caching\x18\x04 \x01(\x08R\x16supportsContextCaching\x12\x36\n\x17supports_prompt_caching\x18\x05 \x01(\x08R\x15supportsPromptCaching\x12\x30\n\x14min_cacheable_tokens\x18\x06 \x01(\x05R\x12minCacheableTokens"\xbe\x02\n\tReasoning\x12\x39\n\x19supports_chain_of_thought\x18\x01 \x01(\x08R\x16supportsChainOfThought\x12\x34\n\x16supports_step_tracking\x18\x02 \x01(\x08R\x14supportsStepTracking\x12.\n\x13max_reasoning_steps\x18\x03 \x01(\x05R\x11maxReasoningSteps\x12\x38\n\x18supports_self_correction\x18\x04 \x01(\x08R\x16supportsSelfCorrection\x12V\n\x14reasoning_strategies\x18\x05 \x03(\x0e\x32#.weaveapi.llmx.v1.ReasoningStrategyR\x13reasoningStrategies"\x91\x03\n\x05\x41udio\x12\x41\n\tdirection\x18\x01 \x01(\x0e\x32#.weaveapi.llmx.v1.ModalityDirectionR\tdirection\x12J\n\x11supported_formats\x18\x02 \x03(\x0e\x32\x1d.weaveapi.llmx.v1.AudioFormatR\x10supportedFormats\x12\x30\n\x14max_duration_seconds\x18\x03 \x01(\x05R\x12maxDurationSeconds\x12-\n\x13max_file_size_bytes\x18\x04 \x01(\x03R\x10maxFileSizeBytes\x12/\n\x13supported_languages\x18\x05 \x03(\tR\x12supportedLanguages\x12-\n\x12supports_streaming\x18\x06 \x01(\x08R\x11supportsStreaming\x12\x38\n\x18supports_voice_selection\x18\x07 \x01(\x08R\x16supportsVoiceSelection"\xeb\x02\n\x05Video\x12\x41\n\tdirection\x18\x01 \x01(\x0e\x32#.weaveapi.llmx.v1.ModalityDirectionR\tdirection\x12J\n\x11supported_formats\x18\x02 \x03(\x0e\x32\x1d.weaveapi.llmx.v1.VideoFormatR\x10supportedFormats\x12\x30\n\x14max_duration_seconds\x18\x03 \x01(\x05R\x12maxDurationSeconds\x12-\n\x13max_file_size_bytes\x18\x04 \x01(\x03R\x10maxFileSizeBytes\x12\x17\n\x07max_fps\x18\x05 \x01(\x05R\x06maxFps\x12:\n\x19supports_frame_extraction\x18\x06 \x01(\x08R\x17supportsFrameExtraction\x12\x1d\n\nmax_frames\x18\x07 \x01(\x05R\tmaxFrames"\x83\x02\n\nEmbeddings\x12\x31\n\x14\x65mbedding_dimensions\x18\x01 \x01(\x05R\x13\x65mbeddingDimensions\x12(\n\x10max_input_tokens\x18\x02 \x01(\x05R\x0emaxInputTokens\x12%\n\x0esupports_batch\x18\x03 \x01(\x08R\rsupportsBatch\x12$\n\x0emax_batch_size\x18\x04 \x01(\x05R\x0cmaxBatchSize\x12K\n\x10\x64istance_metrics\x18\x05 \x03(\x0e\x32 .weaveapi.llmx.v1.DistanceMetricR\x0f\x64istanceMetrics"\xca\x02\n\nFineTuning\x12!\n\x0cmin_examples\x18\x01 \x01(\x05R\x0bminExamples\x12!\n\x0cmax_examples\x18\x02 \x01(\x05R\x0bmaxExamples\x12I\n\x11supported_formats\x18\x03 \x03(\x0e\x32\x1c.weaveapi.llmx.v1.DataFormatR\x10supportedFormats\x12\'\n\x10max_file_size_mb\x18\x04 \x01(\x05R\rmaxFileSizeMb\x12\x36\n\x17supports_validation_set\x18\x05 \x01(\x08R\x15supportsValidationSet\x12J\n\x0fhyperparameters\x18\x06 \x03(\x0e\x32 .weaveapi.llmx.v1.HyperparameterR\x0fhyperparameters*\xc9\x03\n\x0e\x43\x61pabilityType\x12\x1f\n\x1b\x43\x41PABILITY_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14\x43\x41PABILITY_TYPE_TEXT\x10\x01\x12\'\n#CAPABILITY_TYPE_STRUCTURED_RESPONSE\x10\x02\x12\x1d\n\x19\x43\x41PABILITY_TYPE_STREAMING\x10\x03\x12$\n CAPABILITY_TYPE_FUNCTION_CALLING\x10\x04\x12\x1a\n\x16\x43\x41PABILITY_TYPE_VISION\x10\x05\x12\x1c\n\x18\x43\x41PABILITY_TYPE_TOOL_USE\x10\x06\x12!\n\x1d\x43\x41PABILITY_TYPE_SYSTEM_PROMPT\x10\x07\x12\x1b\n\x17\x43\x41PABILITY_TYPE_CACHING\x10\x08\x12\x1d\n\x19\x43\x41PABILITY_TYPE_REASONING\x10\t\x12\x19\n\x15\x43\x41PABILITY_TYPE_AUDIO\x10\n\x12\x19\n\x15\x43\x41PABILITY_TYPE_VIDEO\x10\x0b\x12\x1e\n\x1a\x43\x41PABILITY_TYPE_EMBEDDINGS\x10\x0c\x12\x1f\n\x1b\x43\x41PABILITY_TYPE_FINE_TUNING\x10\r*\xfc\x01\n\nDataFormat\x12\x1b\n\x17\x44\x41TA_FORMAT_UNSPECIFIED\x10\x00\x12\x14\n\x10\x44\x41TA_FORMAT_JSON\x10\x01\x12\x14\n\x10\x44\x41TA_FORMAT_YAML\x10\x02\x12\x13\n\x0f\x44\x41TA_FORMAT_XML\x10\x03\x12\x15\n\x11\x44\x41TA_FORMAT_JSONL\x10\x04\x12\x13\n\x0f\x44\x41TA_FORMAT_CSV\x10\x05\x12\x17\n\x13\x44\x41TA_FORMAT_PARQUET\x10\x06\x12\x15\n\x11\x44\x41TA_FORMAT_PLAIN\x10\x07\x12\x18\n\x14\x44\x41TA_FORMAT_MARKDOWN\x10\x08\x12\x1a\n\x16\x44\x41TA_FORMAT_STRUCTURED\x10\t*\xfc\x01\n\x0eJsonSchemaType\x12 \n\x1cJSON_SCHEMA_TYPE_UNSPECIFIED\x10\x00\x12\x1b\n\x17JSON_SCHEMA_TYPE_OBJECT\x10\x01\x12\x1a\n\x16JSON_SCHEMA_TYPE_ARRAY\x10\x02\x12\x1b\n\x17JSON_SCHEMA_TYPE_STRING\x10\x03\x12\x1b\n\x17JSON_SCHEMA_TYPE_NUMBER\x10\x04\x12\x1c\n\x18JSON_SCHEMA_TYPE_BOOLEAN\x10\x05\x12\x19\n\x15JSON_SCHEMA_TYPE_NULL\x10\x06\x12\x1c\n\x18JSON_SCHEMA_TYPE_INTEGER\x10\x07*\xc8\x01\n\x0bImageFormat\x12\x1c\n\x18IMAGE_FORMAT_UNSPECIFIED\x10\x00\x12\x15\n\x11IMAGE_FORMAT_JPEG\x10\x01\x12\x14\n\x10IMAGE_FORMAT_PNG\x10\x02\x12\x14\n\x10IMAGE_FORMAT_GIF\x10\x03\x12\x15\n\x11IMAGE_FORMAT_WEBP\x10\x04\x12\x14\n\x10IMAGE_FORMAT_BMP\x10\x05\x12\x15\n\x11IMAGE_FORMAT_TIFF\x10\x06\x12\x14\n\x10IMAGE_FORMAT_SVG\x10\x07*\xdd\x01\n\x0b\x41udioFormat\x12\x1c\n\x18\x41UDIO_FORMAT_UNSPECIFIED\x10\x00\x12\x14\n\x10\x41UDIO_FORMAT_MP3\x10\x01\x12\x14\n\x10\x41UDIO_FORMAT_WAV\x10\x02\x12\x14\n\x10\x41UDIO_FORMAT_OGG\x10\x03\x12\x14\n\x10\x41UDIO_FORMAT_M4A\x10\x04\x12\x15\n\x11\x41UDIO_FORMAT_FLAC\x10\x05\x12\x14\n\x10\x41UDIO_FORMAT_AAC\x10\x06\x12\x14\n\x10\x41UDIO_FORMAT_WMA\x10\x07\x12\x15\n\x11\x41UDIO_FORMAT_OPUS\x10\x08*\xc6\x01\n\x0bVideoFormat\x12\x1c\n\x18VIDEO_FORMAT_UNSPECIFIED\x10\x00\x12\x14\n\x10VIDEO_FORMAT_MP4\x10\x01\x12\x14\n\x10VIDEO_FORMAT_AVI\x10\x02\x12\x14\n\x10VIDEO_FORMAT_MOV\x10\x03\x12\x14\n\x10VIDEO_FORMAT_MKV\x10\x04\x12\x15\n\x11VIDEO_FORMAT_WEBM\x10\x05\x12\x14\n\x10VIDEO_FORMAT_FLV\x10\x06\x12\x14\n\x10VIDEO_FORMAT_WMV\x10\x07*\xd2\x01\n\x08ToolType\x12\x19\n\x15TOOL_TYPE_UNSPECIFIED\x10\x00\x12\x16\n\x12TOOL_TYPE_FUNCTION\x10\x01\x12\x17\n\x13TOOL_TYPE_RETRIEVAL\x10\x02\x12\x1e\n\x1aTOOL_TYPE_CODE_INTERPRETER\x10\x03\x12\x19\n\x15TOOL_TYPE_WEB_BROWSER\x10\x04\x12\x16\n\x12TOOL_TYPE_DATABASE\x10\x05\x12\x11\n\rTOOL_TYPE_API\x10\x06\x12\x14\n\x10TOOL_TYPE_CUSTOM\x10\x07*\xb6\x01\n\rCacheStrategy\x12\x1e\n\x1a\x43\x41\x43HE_STRATEGY_UNSPECIFIED\x10\x00\x12\x17\n\x13\x43\x41\x43HE_STRATEGY_HASH\x10\x01\x12\x1b\n\x17\x43\x41\x43HE_STRATEGY_SEMANTIC\x10\x02\x12\x19\n\x15\x43\x41\x43HE_STRATEGY_CUSTOM\x10\x03\x12\x19\n\x15\x43\x41\x43HE_STRATEGY_PREFIX\x10\x04\x12\x19\n\x15\x43\x41\x43HE_STRATEGY_SUFFIX\x10\x05*\xa7\x02\n\x11ReasoningStrategy\x12"\n\x1eREASONING_STRATEGY_UNSPECIFIED\x10\x00\x12\'\n#REASONING_STRATEGY_CHAIN_OF_THOUGHT\x10\x01\x12\'\n#REASONING_STRATEGY_TREE_OF_THOUGHTS\x10\x02\x12(\n$REASONING_STRATEGY_GRAPH_OF_THOUGHTS\x10\x03\x12#\n\x1fREASONING_STRATEGY_STEP_BY_STEP\x10\x04\x12\'\n#REASONING_STRATEGY_SELF_CONSISTENCY\x10\x05\x12$\n REASONING_STRATEGY_LEAST_TO_MOST\x10\x06*\xc9\x01\n\x0e\x44istanceMetric\x12\x1f\n\x1b\x44ISTANCE_METRIC_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x44ISTANCE_METRIC_COSINE\x10\x01\x12\x1d\n\x19\x44ISTANCE_METRIC_EUCLIDEAN\x10\x02\x12\x1f\n\x1b\x44ISTANCE_METRIC_DOT_PRODUCT\x10\x03\x12\x1d\n\x19\x44ISTANCE_METRIC_MANHATTAN\x10\x04\x12\x1b\n\x17\x44ISTANCE_METRIC_HAMMING\x10\x05*\xfb\x02\n\x0eHyperparameter\x12\x1e\n\x1aHYPERPARAMETER_UNSPECIFIED\x10\x00\x12 \n\x1cHYPERPARAMETER_LEARNING_RATE\x10\x01\x12\x1d\n\x19HYPERPARAMETER_BATCH_SIZE\x10\x02\x12\x19\n\x15HYPERPARAMETER_EPOCHS\x10\x03\x12\x1f\n\x1bHYPERPARAMETER_WARMUP_STEPS\x10\x04\x12\x1f\n\x1bHYPERPARAMETER_WEIGHT_DECAY\x10\x05\x12(\n$HYPERPARAMETER_GRADIENT_ACCUMULATION\x10\x06\x12\x1f\n\x1bHYPERPARAMETER_LR_SCHEDULER\x10\x07\x12\x1c\n\x18HYPERPARAMETER_OPTIMIZER\x10\x08\x12\x1a\n\x16HYPERPARAMETER_DROPOUT\x10\t\x12&\n"HYPERPARAMETER_MAX_SEQUENCE_LENGTH\x10\n*\xa3\x01\n\x11ModalityDirection\x12"\n\x1eMODALITY_DIRECTION_UNSPECIFIED\x10\x00\x12!\n\x1dMODALITY_DIRECTION_INPUT_ONLY\x10\x01\x12"\n\x1eMODALITY_DIRECTION_OUTPUT_ONLY\x10\x02\x12#\n\x1fMODALITY_DIRECTION_INPUT_OUTPUT\x10\x03\x42\xc9\x01\n\x14\x63om.weaveapi.llmx.v1B\x11\x43\x61pabilitiesProtoP\x01Z4github.com/weave-labs/weave-go/weaveapi/llmx/v1;llmx\xa2\x02\x03WLX\xaa\x02\x10Weaveapi.Llmx.V1\xca\x02\x10Weaveapi\\Llmx\\V1\xe2\x02\x1cWeaveapi\\Llmx\\V1\\GPBMetadata\xea\x02\x12Weaveapi::Llmx::V1\x92\x03\x05\xd2>\x02\x10\x03\x62\x08\x65\x64itionsp\xe8\x07'
|
|
24
24
|
)
|
|
25
25
|
|
|
26
26
|
_globals = globals()
|
|
@@ -32,57 +32,89 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
32
32
|
_globals["DESCRIPTOR"]._loaded_options = None
|
|
33
33
|
_globals[
|
|
34
34
|
"DESCRIPTOR"
|
|
35
|
-
]._serialized_options = b"\n\024com.weaveapi.llmx.v1B\021CapabilitiesProtoP\001Z4github.com/weave-labs/weave-go/weaveapi/llmx/v1;llmx\242\002\003WLX\252\002\020Weaveapi.Llmx.V1\312\002\020Weaveapi\\Llmx\\V1\342\002\034Weaveapi\\Llmx\\V1\\GPBMetadata\352\002\022Weaveapi::Llmx::V1"
|
|
36
|
-
_globals["
|
|
37
|
-
_globals["
|
|
38
|
-
_globals["
|
|
39
|
-
_globals["
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
_globals["
|
|
43
|
-
_globals["
|
|
44
|
-
_globals["
|
|
45
|
-
_globals["
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
_globals["
|
|
49
|
-
_globals["
|
|
50
|
-
_globals["
|
|
51
|
-
_globals["
|
|
52
|
-
_globals["
|
|
53
|
-
_globals["
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
_globals["
|
|
57
|
-
_globals["
|
|
58
|
-
_globals["
|
|
59
|
-
_globals["
|
|
60
|
-
_globals["_CAPABILITY"].
|
|
61
|
-
_globals["_CAPABILITY"].
|
|
62
|
-
_globals["
|
|
63
|
-
_globals["
|
|
64
|
-
_globals["
|
|
65
|
-
_globals["
|
|
66
|
-
_globals["
|
|
67
|
-
_globals["
|
|
68
|
-
_globals["
|
|
69
|
-
_globals["
|
|
70
|
-
_globals["
|
|
71
|
-
_globals["
|
|
72
|
-
_globals["
|
|
73
|
-
_globals["
|
|
74
|
-
_globals["
|
|
75
|
-
_globals["
|
|
76
|
-
_globals["
|
|
77
|
-
_globals["
|
|
78
|
-
_globals["
|
|
79
|
-
_globals["
|
|
80
|
-
_globals["
|
|
81
|
-
_globals["
|
|
82
|
-
_globals["
|
|
83
|
-
_globals["
|
|
84
|
-
_globals["
|
|
85
|
-
_globals["
|
|
86
|
-
_globals["
|
|
87
|
-
_globals["
|
|
35
|
+
]._serialized_options = b"\n\024com.weaveapi.llmx.v1B\021CapabilitiesProtoP\001Z4github.com/weave-labs/weave-go/weaveapi/llmx/v1;llmx\242\002\003WLX\252\002\020Weaveapi.Llmx.V1\312\002\020Weaveapi\\Llmx\\V1\342\002\034Weaveapi\\Llmx\\V1\\GPBMetadata\352\002\022Weaveapi::Llmx::V1\222\003\005\322>\002\020\003"
|
|
36
|
+
_globals["_CAPABILITY"].fields_by_name["text"]._loaded_options = None
|
|
37
|
+
_globals["_CAPABILITY"].fields_by_name["text"]._serialized_options = b"(\001"
|
|
38
|
+
_globals["_CAPABILITY"].fields_by_name["structured_response"]._loaded_options = None
|
|
39
|
+
_globals["_CAPABILITY"].fields_by_name[
|
|
40
|
+
"structured_response"
|
|
41
|
+
]._serialized_options = b"(\001"
|
|
42
|
+
_globals["_CAPABILITY"].fields_by_name["streaming"]._loaded_options = None
|
|
43
|
+
_globals["_CAPABILITY"].fields_by_name["streaming"]._serialized_options = b"(\001"
|
|
44
|
+
_globals["_CAPABILITY"].fields_by_name["function_calling"]._loaded_options = None
|
|
45
|
+
_globals["_CAPABILITY"].fields_by_name[
|
|
46
|
+
"function_calling"
|
|
47
|
+
]._serialized_options = b"(\001"
|
|
48
|
+
_globals["_CAPABILITY"].fields_by_name["vision"]._loaded_options = None
|
|
49
|
+
_globals["_CAPABILITY"].fields_by_name["vision"]._serialized_options = b"(\001"
|
|
50
|
+
_globals["_CAPABILITY"].fields_by_name["tool_use"]._loaded_options = None
|
|
51
|
+
_globals["_CAPABILITY"].fields_by_name["tool_use"]._serialized_options = b"(\001"
|
|
52
|
+
_globals["_CAPABILITY"].fields_by_name["system_prompt"]._loaded_options = None
|
|
53
|
+
_globals["_CAPABILITY"].fields_by_name[
|
|
54
|
+
"system_prompt"
|
|
55
|
+
]._serialized_options = b"(\001"
|
|
56
|
+
_globals["_CAPABILITY"].fields_by_name["caching"]._loaded_options = None
|
|
57
|
+
_globals["_CAPABILITY"].fields_by_name["caching"]._serialized_options = b"(\001"
|
|
58
|
+
_globals["_CAPABILITY"].fields_by_name["reasoning"]._loaded_options = None
|
|
59
|
+
_globals["_CAPABILITY"].fields_by_name["reasoning"]._serialized_options = b"(\001"
|
|
60
|
+
_globals["_CAPABILITY"].fields_by_name["audio"]._loaded_options = None
|
|
61
|
+
_globals["_CAPABILITY"].fields_by_name["audio"]._serialized_options = b"(\001"
|
|
62
|
+
_globals["_CAPABILITY"].fields_by_name["video"]._loaded_options = None
|
|
63
|
+
_globals["_CAPABILITY"].fields_by_name["video"]._serialized_options = b"(\001"
|
|
64
|
+
_globals["_CAPABILITY"].fields_by_name["embeddings"]._loaded_options = None
|
|
65
|
+
_globals["_CAPABILITY"].fields_by_name["embeddings"]._serialized_options = b"(\001"
|
|
66
|
+
_globals["_CAPABILITY"].fields_by_name["fine_tuning"]._loaded_options = None
|
|
67
|
+
_globals["_CAPABILITY"].fields_by_name["fine_tuning"]._serialized_options = b"(\001"
|
|
68
|
+
_globals["_CAPABILITYTYPE"]._serialized_start = 5450
|
|
69
|
+
_globals["_CAPABILITYTYPE"]._serialized_end = 5907
|
|
70
|
+
_globals["_DATAFORMAT"]._serialized_start = 5910
|
|
71
|
+
_globals["_DATAFORMAT"]._serialized_end = 6162
|
|
72
|
+
_globals["_JSONSCHEMATYPE"]._serialized_start = 6165
|
|
73
|
+
_globals["_JSONSCHEMATYPE"]._serialized_end = 6417
|
|
74
|
+
_globals["_IMAGEFORMAT"]._serialized_start = 6420
|
|
75
|
+
_globals["_IMAGEFORMAT"]._serialized_end = 6620
|
|
76
|
+
_globals["_AUDIOFORMAT"]._serialized_start = 6623
|
|
77
|
+
_globals["_AUDIOFORMAT"]._serialized_end = 6844
|
|
78
|
+
_globals["_VIDEOFORMAT"]._serialized_start = 6847
|
|
79
|
+
_globals["_VIDEOFORMAT"]._serialized_end = 7045
|
|
80
|
+
_globals["_TOOLTYPE"]._serialized_start = 7048
|
|
81
|
+
_globals["_TOOLTYPE"]._serialized_end = 7258
|
|
82
|
+
_globals["_CACHESTRATEGY"]._serialized_start = 7261
|
|
83
|
+
_globals["_CACHESTRATEGY"]._serialized_end = 7443
|
|
84
|
+
_globals["_REASONINGSTRATEGY"]._serialized_start = 7446
|
|
85
|
+
_globals["_REASONINGSTRATEGY"]._serialized_end = 7741
|
|
86
|
+
_globals["_DISTANCEMETRIC"]._serialized_start = 7744
|
|
87
|
+
_globals["_DISTANCEMETRIC"]._serialized_end = 7945
|
|
88
|
+
_globals["_HYPERPARAMETER"]._serialized_start = 7948
|
|
89
|
+
_globals["_HYPERPARAMETER"]._serialized_end = 8327
|
|
90
|
+
_globals["_MODALITYDIRECTION"]._serialized_start = 8330
|
|
91
|
+
_globals["_MODALITYDIRECTION"]._serialized_end = 8493
|
|
92
|
+
_globals["_CAPABILITY"]._serialized_start = 93
|
|
93
|
+
_globals["_CAPABILITY"]._serialized_end = 1086
|
|
94
|
+
_globals["_TEXT"]._serialized_start = 1089
|
|
95
|
+
_globals["_TEXT"]._serialized_end = 1393
|
|
96
|
+
_globals["_STRUCTUREDRESPONSE"]._serialized_start = 1396
|
|
97
|
+
_globals["_STRUCTUREDRESPONSE"]._serialized_end = 1830
|
|
98
|
+
_globals["_STREAMING"]._serialized_start = 1833
|
|
99
|
+
_globals["_STREAMING"]._serialized_end = 2086
|
|
100
|
+
_globals["_FUNCTIONCALLING"]._serialized_start = 2089
|
|
101
|
+
_globals["_FUNCTIONCALLING"]._serialized_end = 2465
|
|
102
|
+
_globals["_VISION"]._serialized_start = 2468
|
|
103
|
+
_globals["_VISION"]._serialized_end = 2970
|
|
104
|
+
_globals["_TOOLUSE"]._serialized_start = 2973
|
|
105
|
+
_globals["_TOOLUSE"]._serialized_end = 3223
|
|
106
|
+
_globals["_SYSTEMPROMPT"]._serialized_start = 3226
|
|
107
|
+
_globals["_SYSTEMPROMPT"]._serialized_end = 3413
|
|
108
|
+
_globals["_CACHING"]._serialized_start = 3416
|
|
109
|
+
_globals["_CACHING"]._serialized_end = 3761
|
|
110
|
+
_globals["_REASONING"]._serialized_start = 3764
|
|
111
|
+
_globals["_REASONING"]._serialized_end = 4082
|
|
112
|
+
_globals["_AUDIO"]._serialized_start = 4085
|
|
113
|
+
_globals["_AUDIO"]._serialized_end = 4486
|
|
114
|
+
_globals["_VIDEO"]._serialized_start = 4489
|
|
115
|
+
_globals["_VIDEO"]._serialized_end = 4852
|
|
116
|
+
_globals["_EMBEDDINGS"]._serialized_start = 4855
|
|
117
|
+
_globals["_EMBEDDINGS"]._serialized_end = 5114
|
|
118
|
+
_globals["_FINETUNING"]._serialized_start = 5117
|
|
119
|
+
_globals["_FINETUNING"]._serialized_end = 5447
|
|
88
120
|
# @@protoc_insertion_point(module_scope)
|