weave-python 0.37.0__tar.gz → 0.39.0__tar.gz
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_python-0.37.0 → weave_python-0.39.0}/.github/workflows/generate.yaml +2 -2
- {weave_python-0.37.0 → weave_python-0.39.0}/PKG-INFO +1 -1
- weave_python-0.39.0/weave/weaveapi/chat/v1/chat_pb2.py +90 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/chat/v1/chat_pb2.pyi +71 -0
- weave_python-0.39.0/weave/weaveapi/consolidation/v1/consolidation_pb2.py +107 -0
- weave_python-0.39.0/weave/weaveapi/consolidation/v1/consolidation_pb2.pyi +649 -0
- weave_python-0.39.0/weave/weaveapi/consolidation/v1/service_pb2.py +79 -0
- weave_python-0.39.0/weave/weaveapi/consolidation/v1/service_pb2_grpc.py +275 -0
- weave_python-0.39.0/weave/weaveapi/consolidation/v1/service_pb2_grpc.pyi +130 -0
- weave_python-0.39.0/weave/weaveapi/inference/v1/service_pb2.pyi +8 -0
- weave_python-0.39.0/weave/weaveapi/ingestion/v1/ingestion_pb2.py +419 -0
- weave_python-0.39.0/weave/weaveapi/ingestion/v1/ingestion_pb2.pyi +3348 -0
- weave_python-0.39.0/weave/weaveapi/ingestion/v1/service_pb2.py +158 -0
- weave_python-0.39.0/weave/weaveapi/ingestion/v1/service_pb2.pyi +8 -0
- weave_python-0.39.0/weave/weaveapi/ingestion/v1/service_pb2_grpc.py +933 -0
- weave_python-0.39.0/weave/weaveapi/ingestion/v1/service_pb2_grpc.pyi +347 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/model/v1/model_pb2.py +7 -5
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/model/v1/model_pb2.pyi +67 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/model/v1/service_pb2.py +27 -3
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/model/v1/service_pb2.pyi +119 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/model/v1/service_pb2_grpc.py +94 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/model/v1/service_pb2_grpc.pyi +34 -0
- weave_python-0.39.0/weave/weaveapi/provider/v1/provider_pb2_grpc.py +2 -0
- weave_python-0.39.0/weave/weaveapi/provider/v1/provider_pb2_grpc.pyi +21 -0
- weave_python-0.39.0/weave/weaveapi/retrieval/v1/retrieval_pb2.py +193 -0
- weave_python-0.39.0/weave/weaveapi/retrieval/v1/retrieval_pb2.pyi +1103 -0
- weave_python-0.39.0/weave/weaveapi/retrieval/v1/retrieval_pb2_grpc.py +2 -0
- weave_python-0.39.0/weave/weaveapi/retrieval/v1/retrieval_pb2_grpc.pyi +21 -0
- weave_python-0.39.0/weave/weaveapi/retrieval/v1/service_pb2.py +58 -0
- weave_python-0.39.0/weave/weaveapi/retrieval/v1/service_pb2.pyi +8 -0
- weave_python-0.39.0/weave/weaveapi/retrieval/v1/service_pb2_grpc.py +181 -0
- weave_python-0.39.0/weave/weaveapi/retrieval/v1/service_pb2_grpc.pyi +88 -0
- weave_python-0.39.0/weave/weaveapi/task/v1/task_pb2_grpc.py +2 -0
- weave_python-0.39.0/weave/weaveapi/task/v1/task_pb2_grpc.pyi +21 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weavesql/weavedb/chat.py +81 -3
- weave_python-0.39.0/weave/weavesql/weavedb/consolidation.py +1006 -0
- weave_python-0.39.0/weave/weavesql/weavedb/document_security.py +573 -0
- weave_python-0.39.0/weave/weavesql/weavedb/ingestion.py +5777 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weavesql/weavedb/models.py +226 -0
- weave_python-0.39.0/weave/weavesql/weavedb/retrieval.py +1720 -0
- weave_python-0.37.0/weave/weaveapi/chat/v1/chat_pb2.py +0 -76
- {weave_python-0.37.0 → weave_python-0.39.0}/.github/runs-on.yml +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/.github/workflows/format-lint.yaml +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/.github/workflows/release.yaml +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/.gitignore +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/.python-version +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/LICENSE +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/README.md +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/Taskfile.yaml +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/buf.gen.yaml +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/pyproject.toml +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/renovate.json +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/tools/sqlcgen/README.md +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/tools/sqlcgen/sqlcgen.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/tools/sqlcgen/test_sqlcgen.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/uv.lock +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/atc/v1/event_pb2.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/atc/v1/event_pb2.pyi +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/atc/v1/event_pb2_grpc.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/atc/v1/event_pb2_grpc.pyi +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/atc/v1/message_pb2.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/atc/v1/message_pb2.pyi +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/atc/v1/message_pb2_grpc.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/atc/v1/message_pb2_grpc.pyi +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/atc/v1/process_pb2.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/atc/v1/process_pb2.pyi +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/atc/v1/process_pb2_grpc.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/atc/v1/process_pb2_grpc.pyi +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/atc/v1/run_pb2.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/atc/v1/run_pb2.pyi +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/atc/v1/run_pb2_grpc.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/atc/v1/run_pb2_grpc.pyi +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/atc/v1/service_pb2.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/atc/v1/service_pb2.pyi +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/atc/v1/service_pb2_grpc.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/atc/v1/service_pb2_grpc.pyi +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/chat/v1/chat_pb2_grpc.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/chat/v1/chat_pb2_grpc.pyi +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/chat/v1/service_pb2.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/chat/v1/service_pb2.pyi +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/chat/v1/service_pb2_grpc.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/chat/v1/service_pb2_grpc.pyi +0 -0
- /weave_python-0.37.0/weave/weaveapi/inference/v1/inference_pb2_grpc.py → /weave_python-0.39.0/weave/weaveapi/consolidation/v1/consolidation_pb2_grpc.py +0 -0
- /weave_python-0.37.0/weave/weaveapi/inference/v1/inference_pb2_grpc.pyi → /weave_python-0.39.0/weave/weaveapi/consolidation/v1/consolidation_pb2_grpc.pyi +0 -0
- {weave_python-0.37.0/weave/weaveapi/inference → weave_python-0.39.0/weave/weaveapi/consolidation}/v1/service_pb2.pyi +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/inference/v1/inference_pb2.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/inference/v1/inference_pb2.pyi +0 -0
- /weave_python-0.37.0/weave/weaveapi/model/v1/model_pb2_grpc.py → /weave_python-0.39.0/weave/weaveapi/inference/v1/inference_pb2_grpc.py +0 -0
- /weave_python-0.37.0/weave/weaveapi/model/v1/model_pb2_grpc.pyi → /weave_python-0.39.0/weave/weaveapi/inference/v1/inference_pb2_grpc.pyi +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/inference/v1/service_pb2.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/inference/v1/service_pb2_grpc.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/inference/v1/service_pb2_grpc.pyi +0 -0
- /weave_python-0.37.0/weave/weaveapi/organization/v1/organization_pb2_grpc.py → /weave_python-0.39.0/weave/weaveapi/ingestion/v1/ingestion_pb2_grpc.py +0 -0
- /weave_python-0.37.0/weave/weaveapi/organization/v1/organization_pb2_grpc.pyi → /weave_python-0.39.0/weave/weaveapi/ingestion/v1/ingestion_pb2_grpc.pyi +0 -0
- /weave_python-0.37.0/weave/weaveapi/project/v1/project_pb2_grpc.py → /weave_python-0.39.0/weave/weaveapi/model/v1/model_pb2_grpc.py +0 -0
- /weave_python-0.37.0/weave/weaveapi/project/v1/project_pb2_grpc.pyi → /weave_python-0.39.0/weave/weaveapi/model/v1/model_pb2_grpc.pyi +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/organization/v1/organization_pb2.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/organization/v1/organization_pb2.pyi +0 -0
- /weave_python-0.37.0/weave/weaveapi/provider/v1/provider_pb2_grpc.py → /weave_python-0.39.0/weave/weaveapi/organization/v1/organization_pb2_grpc.py +0 -0
- /weave_python-0.37.0/weave/weaveapi/provider/v1/provider_pb2_grpc.pyi → /weave_python-0.39.0/weave/weaveapi/organization/v1/organization_pb2_grpc.pyi +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/organization/v1/service_pb2.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/organization/v1/service_pb2.pyi +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/organization/v1/service_pb2_grpc.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/organization/v1/service_pb2_grpc.pyi +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/project/v1/project_pb2.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/project/v1/project_pb2.pyi +0 -0
- /weave_python-0.37.0/weave/weaveapi/task/v1/task_pb2_grpc.py → /weave_python-0.39.0/weave/weaveapi/project/v1/project_pb2_grpc.py +0 -0
- /weave_python-0.37.0/weave/weaveapi/task/v1/task_pb2_grpc.pyi → /weave_python-0.39.0/weave/weaveapi/project/v1/project_pb2_grpc.pyi +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/project/v1/service_pb2.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/project/v1/service_pb2.pyi +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/project/v1/service_pb2_grpc.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/project/v1/service_pb2_grpc.pyi +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/provider/v1/provider_pb2.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/provider/v1/provider_pb2.pyi +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/provider/v1/service_pb2.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/provider/v1/service_pb2.pyi +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/provider/v1/service_pb2_grpc.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/provider/v1/service_pb2_grpc.pyi +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/task/v1/service_pb2.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/task/v1/service_pb2.pyi +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/task/v1/service_pb2_grpc.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/task/v1/service_pb2_grpc.pyi +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/task/v1/task_pb2.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weaveapi/task/v1/task_pb2.pyi +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weavesql/atcdb/event.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weavesql/atcdb/inspection.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weavesql/atcdb/mailbox.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weavesql/atcdb/models.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weavesql/atcdb/run_template.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weavesql/atcdb/snapshot.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weavesql/atcdb/team.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weavesql/weavedb/model_catalog.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weavesql/weavedb/organization.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weavesql/weavedb/project.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weavesql/weavedb/provider.py +0 -0
- {weave_python-0.37.0 → weave_python-0.39.0}/weave/weavesql/weavedb/task.py +0 -0
|
@@ -97,7 +97,7 @@ jobs:
|
|
|
97
97
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
98
98
|
|
|
99
99
|
- name: Setup uv
|
|
100
|
-
uses: astral-sh/setup-uv@
|
|
100
|
+
uses: astral-sh/setup-uv@v8.1.0
|
|
101
101
|
with:
|
|
102
102
|
cache-dependency-glob: "uv.lock"
|
|
103
103
|
enable-cache: true
|
|
@@ -134,7 +134,7 @@ jobs:
|
|
|
134
134
|
- name: Run uv sync
|
|
135
135
|
run: uv sync
|
|
136
136
|
|
|
137
|
-
- uses: astral-sh/ruff-action@
|
|
137
|
+
- uses: astral-sh/ruff-action@v4.0.0
|
|
138
138
|
with:
|
|
139
139
|
args: "--version"
|
|
140
140
|
- run: ruff check --fix
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: weaveapi/chat/v1/chat.proto
|
|
5
|
+
# Protobuf Python Version: 7.34.1
|
|
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, 7, 34, 1, "", "weaveapi/chat/v1/chat.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\x1bweaveapi/chat/v1/chat.proto\x12\x10weaveapi.chat.v1\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a%weaveapi/ingestion/v1/ingestion.proto"\xcc\x03\n\x0b\x43hatSession\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\'\n\x0forganization_id\x18\x02 \x01(\tR\x0eorganizationId\x12+\n\x12\x63reated_by_user_id\x18\x03 \x01(\tR\x0f\x63reatedByUserId\x12\x14\n\x05title\x18\x04 \x01(\tR\x05title\x12\x19\n\x08model_id\x18\x05 \x01(\tR\x07modelId\x12:\n\x19provider_configuration_id\x18\x06 \x01(\tR\x17providerConfigurationId\x12\x39\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x42\n\x0flast_message_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampR\rlastMessageAt\x12\x30\n\x14\x61ttached_project_ids\x18\n \x03(\tR\x12\x61ttachedProjectIds"\xc2\x05\n\x0b\x43hatMessage\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1d\n\nsession_id\x18\x02 \x01(\tR\tsessionId\x12\x35\n\x04role\x18\x03 \x01(\x0e\x32!.weaveapi.chat.v1.ChatMessageRoleR\x04role\x12\x18\n\x07\x63ontent\x18\x04 \x01(\tR\x07\x63ontent\x12*\n\x11parent_message_id\x18\x05 \x01(\tR\x0fparentMessageId\x12 \n\x0ctool_call_id\x18\x06 \x01(\tR\ntoolCallId\x12K\n\x0ftool_call_state\x18\x07 \x01(\x0e\x32#.weaveapi.chat.v1.ChatToolCallStateR\rtoolCallState\x12\x19\n\x08model_id\x18\x08 \x01(\tR\x07modelId\x12<\n\x1a\x65phemeral_attachment_count\x18\t \x01(\x05R\x18\x65phemeralAttachmentCount\x12\x45\n\x1f\x65phemeral_attachment_mime_types\x18\n \x03(\tR\x1c\x65phemeralAttachmentMimeTypes\x12\x38\n\x0btoken_usage\x18\x0b \x01(\x0b\x32\x17.google.protobuf.StructR\ntokenUsage\x12\x44\n\x0cstream_state\x18\x0c \x01(\x0e\x32!.weaveapi.chat.v1.ChatStreamStateR\x0bstreamState\x12\x39\n\ncreated_at\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12=\n\x0c\x63ompleted_at\x18\x0e \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0b\x63ompletedAt"\xc6\x02\n\x0c\x43hatArtifact\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1d\n\nsession_id\x18\x02 \x01(\tR\tsessionId\x12\x14\n\x05title\x18\x03 \x01(\tR\x05title\x12\x36\n\x04kind\x18\x04 \x01(\x0e\x32".weaveapi.chat.v1.ChatArtifactKindR\x04kind\x12\x1a\n\x08language\x18\x05 \x01(\tR\x08language\x12\'\n\x0f\x63urrent_version\x18\x06 \x01(\x05R\x0e\x63urrentVersion\x12\x39\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt"\xc6\x02\n\x13\x43hatArtifactVersion\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1f\n\x0b\x61rtifact_id\x18\x02 \x01(\tR\nartifactId\x12\x18\n\x07version\x18\x03 \x01(\x05R\x07version\x12\x18\n\x07\x63ontent\x18\x04 \x01(\tR\x07\x63ontent\x12\x31\n\x15\x63reated_by_message_id\x18\x05 \x01(\tR\x12\x63reatedByMessageId\x12\x39\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\\\n\x13\x64ocument_references\x18\x07 \x03(\x0b\x32\'.weaveapi.chat.v1.ChatDocumentReferenceB\x02(\x01R\x12\x64ocumentReferences"\xef\x01\n\x15\x43hatDocumentReference\x12\x1f\n\x0b\x64ocument_id\x18\x01 \x01(\tR\ndocumentId\x12#\n\rdocument_name\x18\x02 \x01(\tR\x0c\x64ocumentName\x12\x1b\n\tmime_type\x18\x03 \x01(\tR\x08mimeType\x12\x1d\n\nthread_ids\x18\x04 \x03(\tR\tthreadIds\x12T\n\x10source_locations\x18\x05 \x03(\x0b\x32%.weaveapi.ingestion.v1.SourceLocationB\x02(\x01R\x0fsourceLocations"J\n\x17\x43hatEphemeralAttachment\x12\x1b\n\tmime_type\x18\x01 \x01(\tR\x08mimeType\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta"\xdc\x10\n\x0f\x43hatStreamFrame\x12\x19\n\x08\x65vent_id\x18\x0b \x01(\tR\x07\x65ventId\x12[\n\x0fmessage_started\x18\x01 \x01(\x0b\x32\x30.weaveapi.chat.v1.ChatStreamFrame.MessageStartedH\x00R\x0emessageStarted\x12U\n\rmessage_delta\x18\x02 \x01(\x0b\x32..weaveapi.chat.v1.ChatStreamFrame.MessageDeltaH\x00R\x0cmessageDelta\x12\x62\n\x12tool_call_proposed\x18\x03 \x01(\x0b\x32\x32.weaveapi.chat.v1.ChatStreamFrame.ToolCallProposedH\x00R\x10toolCallProposed\x12\x65\n\x13tool_call_executing\x18\x04 \x01(\x0b\x32\x33.weaveapi.chat.v1.ChatStreamFrame.ToolCallExecutingH\x00R\x11toolCallExecuting\x12\\\n\x10tool_call_result\x18\x05 \x01(\x0b\x32\x30.weaveapi.chat.v1.ChatStreamFrame.ToolCallResultH\x00R\x0etoolCallResult\x12\x62\n\x12tool_call_rejected\x18\x06 \x01(\x0b\x32\x32.weaveapi.chat.v1.ChatStreamFrame.ToolCallRejectedH\x00R\x10toolCallRejected\x12^\n\x10\x61rtifact_created\x18\x07 \x01(\x0b\x32\x31.weaveapi.chat.v1.ChatStreamFrame.ArtifactCreatedH\x00R\x0f\x61rtifactCreated\x12^\n\x10\x61rtifact_updated\x18\x08 \x01(\x0b\x32\x31.weaveapi.chat.v1.ChatStreamFrame.ArtifactUpdatedH\x00R\x0f\x61rtifactUpdated\x12^\n\x10message_complete\x18\t \x01(\x0b\x32\x31.weaveapi.chat.v1.ChatStreamFrame.MessageCompleteH\x00R\x0fmessageComplete\x12U\n\rmessage_error\x18\n \x01(\x0b\x32..weaveapi.chat.v1.ChatStreamFrame.MessageErrorH\x00R\x0cmessageError\x1a\x66\n\x0eMessageStarted\x12\x1d\n\nmessage_id\x18\x01 \x01(\tR\tmessageId\x12\x35\n\x04role\x18\x02 \x01(\x0e\x32!.weaveapi.chat.v1.ChatMessageRoleR\x04role\x1aL\n\x0cMessageDelta\x12\x1d\n\nmessage_id\x18\x01 \x01(\tR\tmessageId\x12\x1d\n\ntext_delta\x18\x02 \x01(\tR\ttextDelta\x1a\xcb\x01\n\x10ToolCallProposed\x12\x1d\n\nmessage_id\x18\x01 \x01(\tR\tmessageId\x12 \n\x0ctool_call_id\x18\x02 \x01(\tR\ntoolCallId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12\x35\n\targuments\x18\x04 \x01(\x0b\x32\x17.google.protobuf.StructR\targuments\x12+\n\x11requires_approval\x18\x05 \x01(\x08R\x10requiresApproval\x1a\x80\x01\n\x11ToolCallExecuting\x12 \n\x0ctool_call_id\x18\x01 \x01(\tR\ntoolCallId\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x35\n\targuments\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructR\targuments\x1a\x64\n\x0eToolCallResult\x12 \n\x0ctool_call_id\x18\x01 \x01(\tR\ntoolCallId\x12\x16\n\x06status\x18\x02 \x01(\tR\x06status\x12\x18\n\x07summary\x18\x03 \x01(\tR\x07summary\x1aL\n\x10ToolCallRejected\x12 \n\x0ctool_call_id\x18\x01 \x01(\tR\ntoolCallId\x12\x16\n\x06reason\x18\x02 \x01(\tR\x06reason\x1a\x9a\x01\n\x0f\x41rtifactCreated\x12\x1f\n\x0b\x61rtifact_id\x18\x01 \x01(\tR\nartifactId\x12\x14\n\x05title\x18\x02 \x01(\tR\x05title\x12\x36\n\x04kind\x18\x03 \x01(\x0e\x32".weaveapi.chat.v1.ChatArtifactKindR\x04kind\x12\x18\n\x07version\x18\x04 \x01(\x05R\x07version\x1aL\n\x0f\x41rtifactUpdated\x12\x1f\n\x0b\x61rtifact_id\x18\x01 \x01(\tR\nartifactId\x12\x18\n\x07version\x18\x02 \x01(\x05R\x07version\x1aj\n\x0fMessageComplete\x12\x1d\n\nmessage_id\x18\x01 \x01(\tR\tmessageId\x12\x38\n\x0btoken_usage\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructR\ntokenUsage\x1a[\n\x0cMessageError\x12\x1d\n\nmessage_id\x18\x01 \x01(\tR\tmessageId\x12\x12\n\x04\x63ode\x18\x02 \x01(\tR\x04\x63ode\x12\x18\n\x07message\x18\x03 \x01(\tR\x07messageB\x07\n\x05\x66rame*\xab\x01\n\x0f\x43hatMessageRole\x12!\n\x1d\x43HAT_MESSAGE_ROLE_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x43HAT_MESSAGE_ROLE_USER\x10\x01\x12\x1f\n\x1b\x43HAT_MESSAGE_ROLE_ASSISTANT\x10\x02\x12\x1a\n\x16\x43HAT_MESSAGE_ROLE_TOOL\x10\x03\x12\x1c\n\x18\x43HAT_MESSAGE_ROLE_SYSTEM\x10\x04*\x85\x02\n\x11\x43hatToolCallState\x12$\n CHAT_TOOL_CALL_STATE_UNSPECIFIED\x10\x00\x12\x1d\n\x19\x43HAT_TOOL_CALL_STATE_NONE\x10\x01\x12!\n\x1d\x43HAT_TOOL_CALL_STATE_PROPOSED\x10\x02\x12!\n\x1d\x43HAT_TOOL_CALL_STATE_APPROVED\x10\x03\x12!\n\x1d\x43HAT_TOOL_CALL_STATE_REJECTED\x10\x04\x12!\n\x1d\x43HAT_TOOL_CALL_STATE_EXECUTED\x10\x05\x12\x1f\n\x1b\x43HAT_TOOL_CALL_STATE_FAILED\x10\x06*\x92\x01\n\x0f\x43hatStreamState\x12!\n\x1d\x43HAT_STREAM_STATE_UNSPECIFIED\x10\x00\x12\x1f\n\x1b\x43HAT_STREAM_STATE_STREAMING\x10\x01\x12\x1e\n\x1a\x43HAT_STREAM_STATE_COMPLETE\x10\x02\x12\x1b\n\x17\x43HAT_STREAM_STATE_ERROR\x10\x03*\xde\x01\n\x10\x43hatArtifactKind\x12"\n\x1e\x43HAT_ARTIFACT_KIND_UNSPECIFIED\x10\x00\x12\x1f\n\x1b\x43HAT_ARTIFACT_KIND_MARKDOWN\x10\x01\x12\x1b\n\x17\x43HAT_ARTIFACT_KIND_HTML\x10\x02\x12 \n\x1c\x43HAT_ARTIFACT_KIND_PLAINTEXT\x10\x03\x12\x1b\n\x17\x43HAT_ARTIFACT_KIND_CODE\x10\x04\x12)\n%CHAT_ARTIFACT_KIND_DOCUMENT_REFERENCE\x10\x05\x42\xb9\x01\n\x14\x63om.weaveapi.chat.v1B\tChatProtoP\x01Z4github.com/weave-labs/weave-go/weaveapi/chat/v1;chat\xa2\x02\x03WCX\xaa\x02\x10Weaveapi.Chat.V1\xca\x02\x10Weaveapi\\Chat\\V1\xe2\x02\x1cWeaveapi\\Chat\\V1\\GPBMetadata\xea\x02\x12Weaveapi::Chat::V1b\x08\x65\x64itionsp\xe8\x07'
|
|
24
|
+
)
|
|
25
|
+
|
|
26
|
+
_globals = globals()
|
|
27
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
28
|
+
_builder.BuildTopDescriptorsAndMessages(
|
|
29
|
+
DESCRIPTOR, "weaveapi.chat.v1.chat_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\024com.weaveapi.chat.v1B\tChatProtoP\001Z4github.com/weave-labs/weave-go/weaveapi/chat/v1;chat\242\002\003WCX\252\002\020Weaveapi.Chat.V1\312\002\020Weaveapi\\Chat\\V1\342\002\034Weaveapi\\Chat\\V1\\GPBMetadata\352\002\022Weaveapi::Chat::V1"
|
|
36
|
+
_globals["_CHATARTIFACTVERSION"].fields_by_name[
|
|
37
|
+
"document_references"
|
|
38
|
+
]._loaded_options = None
|
|
39
|
+
_globals["_CHATARTIFACTVERSION"].fields_by_name[
|
|
40
|
+
"document_references"
|
|
41
|
+
]._serialized_options = b"(\001"
|
|
42
|
+
_globals["_CHATDOCUMENTREFERENCE"].fields_by_name[
|
|
43
|
+
"source_locations"
|
|
44
|
+
]._loaded_options = None
|
|
45
|
+
_globals["_CHATDOCUMENTREFERENCE"].fields_by_name[
|
|
46
|
+
"source_locations"
|
|
47
|
+
]._serialized_options = b"(\001"
|
|
48
|
+
_globals["_CHATMESSAGEROLE"]._serialized_start = 4443
|
|
49
|
+
_globals["_CHATMESSAGEROLE"]._serialized_end = 4614
|
|
50
|
+
_globals["_CHATTOOLCALLSTATE"]._serialized_start = 4617
|
|
51
|
+
_globals["_CHATTOOLCALLSTATE"]._serialized_end = 4878
|
|
52
|
+
_globals["_CHATSTREAMSTATE"]._serialized_start = 4881
|
|
53
|
+
_globals["_CHATSTREAMSTATE"]._serialized_end = 5027
|
|
54
|
+
_globals["_CHATARTIFACTKIND"]._serialized_start = 5030
|
|
55
|
+
_globals["_CHATARTIFACTKIND"]._serialized_end = 5252
|
|
56
|
+
_globals["_CHATSESSION"]._serialized_start = 152
|
|
57
|
+
_globals["_CHATSESSION"]._serialized_end = 612
|
|
58
|
+
_globals["_CHATMESSAGE"]._serialized_start = 615
|
|
59
|
+
_globals["_CHATMESSAGE"]._serialized_end = 1321
|
|
60
|
+
_globals["_CHATARTIFACT"]._serialized_start = 1324
|
|
61
|
+
_globals["_CHATARTIFACT"]._serialized_end = 1650
|
|
62
|
+
_globals["_CHATARTIFACTVERSION"]._serialized_start = 1653
|
|
63
|
+
_globals["_CHATARTIFACTVERSION"]._serialized_end = 1979
|
|
64
|
+
_globals["_CHATDOCUMENTREFERENCE"]._serialized_start = 1982
|
|
65
|
+
_globals["_CHATDOCUMENTREFERENCE"]._serialized_end = 2221
|
|
66
|
+
_globals["_CHATEPHEMERALATTACHMENT"]._serialized_start = 2223
|
|
67
|
+
_globals["_CHATEPHEMERALATTACHMENT"]._serialized_end = 2297
|
|
68
|
+
_globals["_CHATSTREAMFRAME"]._serialized_start = 2300
|
|
69
|
+
_globals["_CHATSTREAMFRAME"]._serialized_end = 4440
|
|
70
|
+
_globals["_CHATSTREAMFRAME_MESSAGESTARTED"]._serialized_start = 3298
|
|
71
|
+
_globals["_CHATSTREAMFRAME_MESSAGESTARTED"]._serialized_end = 3400
|
|
72
|
+
_globals["_CHATSTREAMFRAME_MESSAGEDELTA"]._serialized_start = 3402
|
|
73
|
+
_globals["_CHATSTREAMFRAME_MESSAGEDELTA"]._serialized_end = 3478
|
|
74
|
+
_globals["_CHATSTREAMFRAME_TOOLCALLPROPOSED"]._serialized_start = 3481
|
|
75
|
+
_globals["_CHATSTREAMFRAME_TOOLCALLPROPOSED"]._serialized_end = 3684
|
|
76
|
+
_globals["_CHATSTREAMFRAME_TOOLCALLEXECUTING"]._serialized_start = 3687
|
|
77
|
+
_globals["_CHATSTREAMFRAME_TOOLCALLEXECUTING"]._serialized_end = 3815
|
|
78
|
+
_globals["_CHATSTREAMFRAME_TOOLCALLRESULT"]._serialized_start = 3817
|
|
79
|
+
_globals["_CHATSTREAMFRAME_TOOLCALLRESULT"]._serialized_end = 3917
|
|
80
|
+
_globals["_CHATSTREAMFRAME_TOOLCALLREJECTED"]._serialized_start = 3919
|
|
81
|
+
_globals["_CHATSTREAMFRAME_TOOLCALLREJECTED"]._serialized_end = 3995
|
|
82
|
+
_globals["_CHATSTREAMFRAME_ARTIFACTCREATED"]._serialized_start = 3998
|
|
83
|
+
_globals["_CHATSTREAMFRAME_ARTIFACTCREATED"]._serialized_end = 4152
|
|
84
|
+
_globals["_CHATSTREAMFRAME_ARTIFACTUPDATED"]._serialized_start = 4154
|
|
85
|
+
_globals["_CHATSTREAMFRAME_ARTIFACTUPDATED"]._serialized_end = 4230
|
|
86
|
+
_globals["_CHATSTREAMFRAME_MESSAGECOMPLETE"]._serialized_start = 4232
|
|
87
|
+
_globals["_CHATSTREAMFRAME_MESSAGECOMPLETE"]._serialized_end = 4338
|
|
88
|
+
_globals["_CHATSTREAMFRAME_MESSAGEERROR"]._serialized_start = 4340
|
|
89
|
+
_globals["_CHATSTREAMFRAME_MESSAGEERROR"]._serialized_end = 4431
|
|
90
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -10,6 +10,7 @@ from google.protobuf import struct_pb2 as _struct_pb2
|
|
|
10
10
|
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
11
11
|
from google.protobuf.internal import containers as _containers
|
|
12
12
|
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
13
|
+
from weaveapi.ingestion.v1 import ingestion_pb2 as _ingestion_pb2
|
|
13
14
|
import builtins as _builtins
|
|
14
15
|
import sys
|
|
15
16
|
import typing as _typing
|
|
@@ -107,6 +108,7 @@ class _ChatArtifactKindEnumTypeWrapper(
|
|
|
107
108
|
CHAT_ARTIFACT_KIND_HTML: _ChatArtifactKind.ValueType # 2
|
|
108
109
|
CHAT_ARTIFACT_KIND_PLAINTEXT: _ChatArtifactKind.ValueType # 3
|
|
109
110
|
CHAT_ARTIFACT_KIND_CODE: _ChatArtifactKind.ValueType # 4
|
|
111
|
+
CHAT_ARTIFACT_KIND_DOCUMENT_REFERENCE: _ChatArtifactKind.ValueType # 5
|
|
110
112
|
|
|
111
113
|
class ChatArtifactKind(
|
|
112
114
|
_ChatArtifactKind, metaclass=_ChatArtifactKindEnumTypeWrapper
|
|
@@ -117,6 +119,7 @@ CHAT_ARTIFACT_KIND_MARKDOWN: ChatArtifactKind.ValueType # 1
|
|
|
117
119
|
CHAT_ARTIFACT_KIND_HTML: ChatArtifactKind.ValueType # 2
|
|
118
120
|
CHAT_ARTIFACT_KIND_PLAINTEXT: ChatArtifactKind.ValueType # 3
|
|
119
121
|
CHAT_ARTIFACT_KIND_CODE: ChatArtifactKind.ValueType # 4
|
|
122
|
+
CHAT_ARTIFACT_KIND_DOCUMENT_REFERENCE: ChatArtifactKind.ValueType # 5
|
|
120
123
|
Global___ChatArtifactKind: _TypeAlias = ChatArtifactKind # noqa: Y015
|
|
121
124
|
|
|
122
125
|
@_typing.final
|
|
@@ -418,6 +421,7 @@ class ChatArtifactVersion(_message.Message):
|
|
|
418
421
|
CONTENT_FIELD_NUMBER: _builtins.int
|
|
419
422
|
CREATED_BY_MESSAGE_ID_FIELD_NUMBER: _builtins.int
|
|
420
423
|
CREATED_AT_FIELD_NUMBER: _builtins.int
|
|
424
|
+
DOCUMENT_REFERENCES_FIELD_NUMBER: _builtins.int
|
|
421
425
|
id: _builtins.str
|
|
422
426
|
artifact_id: _builtins.str
|
|
423
427
|
version: _builtins.int
|
|
@@ -425,6 +429,12 @@ class ChatArtifactVersion(_message.Message):
|
|
|
425
429
|
created_by_message_id: _builtins.str
|
|
426
430
|
@_builtins.property
|
|
427
431
|
def created_at(self) -> _timestamp_pb2.Timestamp: ...
|
|
432
|
+
@_builtins.property
|
|
433
|
+
def document_references(
|
|
434
|
+
self,
|
|
435
|
+
) -> _containers.RepeatedCompositeFieldContainer[
|
|
436
|
+
Global___ChatDocumentReference
|
|
437
|
+
]: ...
|
|
428
438
|
def __init__(
|
|
429
439
|
self,
|
|
430
440
|
*,
|
|
@@ -434,6 +444,7 @@ class ChatArtifactVersion(_message.Message):
|
|
|
434
444
|
content: _builtins.str | None = ...,
|
|
435
445
|
created_by_message_id: _builtins.str | None = ...,
|
|
436
446
|
created_at: _timestamp_pb2.Timestamp | None = ...,
|
|
447
|
+
document_references: _abc.Iterable[Global___ChatDocumentReference] | None = ...,
|
|
437
448
|
) -> None: ...
|
|
438
449
|
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
439
450
|
"artifact_id",
|
|
@@ -444,6 +455,8 @@ class ChatArtifactVersion(_message.Message):
|
|
|
444
455
|
b"created_at",
|
|
445
456
|
"created_by_message_id",
|
|
446
457
|
b"created_by_message_id",
|
|
458
|
+
"document_references",
|
|
459
|
+
b"document_references",
|
|
447
460
|
"id",
|
|
448
461
|
b"id",
|
|
449
462
|
"version",
|
|
@@ -459,6 +472,8 @@ class ChatArtifactVersion(_message.Message):
|
|
|
459
472
|
b"created_at",
|
|
460
473
|
"created_by_message_id",
|
|
461
474
|
b"created_by_message_id",
|
|
475
|
+
"document_references",
|
|
476
|
+
b"document_references",
|
|
462
477
|
"id",
|
|
463
478
|
b"id",
|
|
464
479
|
"version",
|
|
@@ -468,6 +483,62 @@ class ChatArtifactVersion(_message.Message):
|
|
|
468
483
|
|
|
469
484
|
Global___ChatArtifactVersion: _TypeAlias = ChatArtifactVersion # noqa: Y015
|
|
470
485
|
|
|
486
|
+
@_typing.final
|
|
487
|
+
class ChatDocumentReference(_message.Message):
|
|
488
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
489
|
+
|
|
490
|
+
DOCUMENT_ID_FIELD_NUMBER: _builtins.int
|
|
491
|
+
DOCUMENT_NAME_FIELD_NUMBER: _builtins.int
|
|
492
|
+
MIME_TYPE_FIELD_NUMBER: _builtins.int
|
|
493
|
+
THREAD_IDS_FIELD_NUMBER: _builtins.int
|
|
494
|
+
SOURCE_LOCATIONS_FIELD_NUMBER: _builtins.int
|
|
495
|
+
document_id: _builtins.str
|
|
496
|
+
document_name: _builtins.str
|
|
497
|
+
mime_type: _builtins.str
|
|
498
|
+
@_builtins.property
|
|
499
|
+
def thread_ids(self) -> _containers.RepeatedScalarFieldContainer[_builtins.str]: ...
|
|
500
|
+
@_builtins.property
|
|
501
|
+
def source_locations(
|
|
502
|
+
self,
|
|
503
|
+
) -> _containers.RepeatedCompositeFieldContainer[_ingestion_pb2.SourceLocation]: ...
|
|
504
|
+
def __init__(
|
|
505
|
+
self,
|
|
506
|
+
*,
|
|
507
|
+
document_id: _builtins.str | None = ...,
|
|
508
|
+
document_name: _builtins.str | None = ...,
|
|
509
|
+
mime_type: _builtins.str | None = ...,
|
|
510
|
+
thread_ids: _abc.Iterable[_builtins.str] | None = ...,
|
|
511
|
+
source_locations: _abc.Iterable[_ingestion_pb2.SourceLocation] | None = ...,
|
|
512
|
+
) -> None: ...
|
|
513
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal[
|
|
514
|
+
"document_id",
|
|
515
|
+
b"document_id",
|
|
516
|
+
"document_name",
|
|
517
|
+
b"document_name",
|
|
518
|
+
"mime_type",
|
|
519
|
+
b"mime_type",
|
|
520
|
+
"source_locations",
|
|
521
|
+
b"source_locations",
|
|
522
|
+
"thread_ids",
|
|
523
|
+
b"thread_ids",
|
|
524
|
+
] # noqa: Y015
|
|
525
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
526
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal[
|
|
527
|
+
"document_id",
|
|
528
|
+
b"document_id",
|
|
529
|
+
"document_name",
|
|
530
|
+
b"document_name",
|
|
531
|
+
"mime_type",
|
|
532
|
+
b"mime_type",
|
|
533
|
+
"source_locations",
|
|
534
|
+
b"source_locations",
|
|
535
|
+
"thread_ids",
|
|
536
|
+
b"thread_ids",
|
|
537
|
+
] # noqa: Y015
|
|
538
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
539
|
+
|
|
540
|
+
Global___ChatDocumentReference: _TypeAlias = ChatDocumentReference # noqa: Y015
|
|
541
|
+
|
|
471
542
|
@_typing.final
|
|
472
543
|
class ChatEphemeralAttachment(_message.Message):
|
|
473
544
|
DESCRIPTOR: _descriptor.Descriptor
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: weaveapi/consolidation/v1/consolidation.proto
|
|
5
|
+
# Protobuf Python Version: 7.34.1
|
|
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,
|
|
16
|
+
7,
|
|
17
|
+
34,
|
|
18
|
+
1,
|
|
19
|
+
"",
|
|
20
|
+
"weaveapi/consolidation/v1/consolidation.proto",
|
|
21
|
+
)
|
|
22
|
+
# @@protoc_insertion_point(imports)
|
|
23
|
+
|
|
24
|
+
_sym_db = _symbol_database.Default()
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
28
|
+
b'\n-weaveapi/consolidation/v1/consolidation.proto\x12\x19weaveapi.consolidation.v1\x1a\x1fgoogle/protobuf/timestamp.proto"e\n\x0eKnowledgeRealm\x12\x41\n\x04kind\x18\x01 \x01(\x0e\x32-.weaveapi.consolidation.v1.KnowledgeRealmKindR\x04kind\x12\x10\n\x03key\x18\x02 \x01(\tR\x03key"\x97\x03\n\x10\x43onsolidationRun\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\'\n\x0forganization_id\x18\x02 \x01(\tR\x0eorganizationId\x12I\n\x06status\x18\x03 \x01(\x0e\x32\x31.weaveapi.consolidation.v1.ConsolidationRunStatusR\x06status\x12!\n\x0cthread_count\x18\x04 \x01(\x05R\x0bthreadCount\x12#\n\rcluster_count\x18\x05 \x01(\x05R\x0c\x63lusterCount\x12\'\n\x0fhierarchy_depth\x18\x06 \x01(\x05R\x0ehierarchyDepth\x12\x14\n\x05\x65rror\x18\x07 \x01(\tR\x05\x65rror\x12\x39\n\nstarted_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tstartedAt\x12=\n\x0c\x63ompleted_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0b\x63ompletedAt"\xb0\x04\n\x0e\x43onceptCluster\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\'\n\x0forganization_id\x18\x02 \x01(\tR\x0eorganizationId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription\x12%\n\x0eknowledge_type\x18\x05 \x01(\tR\rknowledgeType\x12\x14\n\x05level\x18\x06 \x01(\x05R\x05level\x12\x1b\n\tparent_id\x18\x07 \x01(\tR\x08parentId\x12!\n\x0cthread_count\x18\x08 \x01(\x05R\x0bthreadCount\x12\x30\n\x14\x63onsolidation_run_id\x18\t \x01(\tR\x12\x63onsolidationRunId\x12\x39\n\ncreated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12*\n\x11\x63hild_cluster_ids\x18\x0c \x03(\tR\x0f\x63hildClusterIds\x12\x1d\n\nthread_ids\x18\r \x03(\tR\tthreadIds\x12?\n\x05realm\x18\x0e \x01(\x0b\x32).weaveapi.consolidation.v1.KnowledgeRealmR\x05realm"]\n\x10\x43onceptHierarchy\x12I\n\x08\x63lusters\x18\x01 \x03(\x0b\x32).weaveapi.consolidation.v1.ConceptClusterB\x02(\x01R\x08\x63lusters"\xc0\x01\n\x1bTriggerConsolidationRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12!\n\x0c\x66ull_rebuild\x18\x02 \x01(\x08R\x0b\x66ullRebuild\x12(\n\x10top_level_target\x18\x03 \x01(\x05R\x0etopLevelTarget\x12+\n\x11neighborhood_size\x18\x04 \x01(\x05R\x10neighborhoodSize"w\n\x1aGetConsolidationRunRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x30\n\x14\x63onsolidation_run_id\x18\x02 \x01(\tR\x12\x63onsolidationRunId"\x86\x01\n\x1fListConsolidationHistoryRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x1b\n\tpage_size\x18\x02 \x01(\x05R\x08pageSize\x12\x1d\n\npage_token\x18\x03 \x01(\tR\tpageToken"\x8f\x01\n ListConsolidationHistoryResponse\x12\x43\n\x04runs\x18\x01 \x03(\x0b\x32+.weaveapi.consolidation.v1.ConsolidationRunB\x02(\x01R\x04runs\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken"\xf0\x01\n\x1aGetConceptHierarchyRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12%\n\x0eknowledge_type\x18\x02 \x01(\tR\rknowledgeType\x12\x1b\n\tmax_depth\x18\x03 \x01(\x05R\x08maxDepth\x12$\n\x0e\x61\x63ting_user_id\x18\x04 \x01(\tR\x0c\x61\x63tingUserId\x12?\n\x05realm\x18\x05 \x01(\x0b\x32).weaveapi.consolidation.v1.KnowledgeRealmR\x05realm"\xd8\x01\n\x18GetConceptClusterRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12,\n\x12\x63oncept_cluster_id\x18\x02 \x01(\tR\x10\x63onceptClusterId\x12$\n\x0e\x61\x63ting_user_id\x18\x03 \x01(\tR\x0c\x61\x63tingUserId\x12?\n\x05realm\x18\x04 \x01(\x0b\x32).weaveapi.consolidation.v1.KnowledgeRealmR\x05realm"|\n\x1cTriggerConsolidationResponse\x12\\\n\x11\x63onsolidation_run\x18\x01 \x01(\x0b\x32+.weaveapi.consolidation.v1.ConsolidationRunB\x02(\x01R\x10\x63onsolidationRun"{\n\x1bGetConsolidationRunResponse\x12\\\n\x11\x63onsolidation_run\x18\x01 \x01(\x0b\x32+.weaveapi.consolidation.v1.ConsolidationRunB\x02(\x01R\x10\x63onsolidationRun"l\n\x1bGetConceptHierarchyResponse\x12M\n\thierarchy\x18\x01 \x01(\x0b\x32+.weaveapi.consolidation.v1.ConceptHierarchyB\x02(\x01R\thierarchy"s\n\x19GetConceptClusterResponse\x12V\n\x0f\x63oncept_cluster\x18\x01 \x01(\x0b\x32).weaveapi.consolidation.v1.ConceptClusterB\x02(\x01R\x0e\x63onceptCluster*\xb0\x02\n\x16\x43onsolidationRunStatus\x12(\n$CONSOLIDATION_RUN_STATUS_UNSPECIFIED\x10\x00\x12$\n CONSOLIDATION_RUN_STATUS_STARTED\x10\x01\x12\'\n#CONSOLIDATION_RUN_STATUS_CLUSTERING\x10\x02\x12%\n!CONSOLIDATION_RUN_STATUS_LABELING\x10\x03\x12*\n&CONSOLIDATION_RUN_STATUS_HIERARCHIZING\x10\x04\x12%\n!CONSOLIDATION_RUN_STATUS_COMPLETE\x10\x05\x12#\n\x1f\x43ONSOLIDATION_RUN_STATUS_FAILED\x10\x06*\x95\x01\n\x12KnowledgeRealmKind\x12$\n KNOWLEDGE_REALM_KIND_UNSPECIFIED\x10\x00\x12\x1c\n\x18KNOWLEDGE_REALM_KIND_ORG\x10\x01\x12\x1c\n\x18KNOWLEDGE_REALM_KIND_TAG\x10\x02\x12\x1d\n\x19KNOWLEDGE_REALM_KIND_USER\x10\x03\x42\x81\x02\n\x1d\x63om.weaveapi.consolidation.v1B\x12\x43onsolidationProtoP\x01ZFgithub.com/weave-labs/weave-go/weaveapi/consolidation/v1;consolidation\xa2\x02\x03WCX\xaa\x02\x19Weaveapi.Consolidation.V1\xca\x02\x19Weaveapi\\Consolidation\\V1\xe2\x02%Weaveapi\\Consolidation\\V1\\GPBMetadata\xea\x02\x1bWeaveapi::Consolidation::V1b\x08\x65\x64itionsp\xe8\x07'
|
|
29
|
+
)
|
|
30
|
+
|
|
31
|
+
_globals = globals()
|
|
32
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
33
|
+
_builder.BuildTopDescriptorsAndMessages(
|
|
34
|
+
DESCRIPTOR, "weaveapi.consolidation.v1.consolidation_pb2", _globals
|
|
35
|
+
)
|
|
36
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
37
|
+
_globals["DESCRIPTOR"]._loaded_options = None
|
|
38
|
+
_globals[
|
|
39
|
+
"DESCRIPTOR"
|
|
40
|
+
]._serialized_options = b"\n\035com.weaveapi.consolidation.v1B\022ConsolidationProtoP\001ZFgithub.com/weave-labs/weave-go/weaveapi/consolidation/v1;consolidation\242\002\003WCX\252\002\031Weaveapi.Consolidation.V1\312\002\031Weaveapi\\Consolidation\\V1\342\002%Weaveapi\\Consolidation\\V1\\GPBMetadata\352\002\033Weaveapi::Consolidation::V1"
|
|
41
|
+
_globals["_CONCEPTHIERARCHY"].fields_by_name["clusters"]._loaded_options = None
|
|
42
|
+
_globals["_CONCEPTHIERARCHY"].fields_by_name[
|
|
43
|
+
"clusters"
|
|
44
|
+
]._serialized_options = b"(\001"
|
|
45
|
+
_globals["_LISTCONSOLIDATIONHISTORYRESPONSE"].fields_by_name[
|
|
46
|
+
"runs"
|
|
47
|
+
]._loaded_options = None
|
|
48
|
+
_globals["_LISTCONSOLIDATIONHISTORYRESPONSE"].fields_by_name[
|
|
49
|
+
"runs"
|
|
50
|
+
]._serialized_options = b"(\001"
|
|
51
|
+
_globals["_TRIGGERCONSOLIDATIONRESPONSE"].fields_by_name[
|
|
52
|
+
"consolidation_run"
|
|
53
|
+
]._loaded_options = None
|
|
54
|
+
_globals["_TRIGGERCONSOLIDATIONRESPONSE"].fields_by_name[
|
|
55
|
+
"consolidation_run"
|
|
56
|
+
]._serialized_options = b"(\001"
|
|
57
|
+
_globals["_GETCONSOLIDATIONRUNRESPONSE"].fields_by_name[
|
|
58
|
+
"consolidation_run"
|
|
59
|
+
]._loaded_options = None
|
|
60
|
+
_globals["_GETCONSOLIDATIONRUNRESPONSE"].fields_by_name[
|
|
61
|
+
"consolidation_run"
|
|
62
|
+
]._serialized_options = b"(\001"
|
|
63
|
+
_globals["_GETCONCEPTHIERARCHYRESPONSE"].fields_by_name[
|
|
64
|
+
"hierarchy"
|
|
65
|
+
]._loaded_options = None
|
|
66
|
+
_globals["_GETCONCEPTHIERARCHYRESPONSE"].fields_by_name[
|
|
67
|
+
"hierarchy"
|
|
68
|
+
]._serialized_options = b"(\001"
|
|
69
|
+
_globals["_GETCONCEPTCLUSTERRESPONSE"].fields_by_name[
|
|
70
|
+
"concept_cluster"
|
|
71
|
+
]._loaded_options = None
|
|
72
|
+
_globals["_GETCONCEPTCLUSTERRESPONSE"].fields_by_name[
|
|
73
|
+
"concept_cluster"
|
|
74
|
+
]._serialized_options = b"(\001"
|
|
75
|
+
_globals["_CONSOLIDATIONRUNSTATUS"]._serialized_start = 2820
|
|
76
|
+
_globals["_CONSOLIDATIONRUNSTATUS"]._serialized_end = 3124
|
|
77
|
+
_globals["_KNOWLEDGEREALMKIND"]._serialized_start = 3127
|
|
78
|
+
_globals["_KNOWLEDGEREALMKIND"]._serialized_end = 3276
|
|
79
|
+
_globals["_KNOWLEDGEREALM"]._serialized_start = 109
|
|
80
|
+
_globals["_KNOWLEDGEREALM"]._serialized_end = 210
|
|
81
|
+
_globals["_CONSOLIDATIONRUN"]._serialized_start = 213
|
|
82
|
+
_globals["_CONSOLIDATIONRUN"]._serialized_end = 620
|
|
83
|
+
_globals["_CONCEPTCLUSTER"]._serialized_start = 623
|
|
84
|
+
_globals["_CONCEPTCLUSTER"]._serialized_end = 1183
|
|
85
|
+
_globals["_CONCEPTHIERARCHY"]._serialized_start = 1185
|
|
86
|
+
_globals["_CONCEPTHIERARCHY"]._serialized_end = 1278
|
|
87
|
+
_globals["_TRIGGERCONSOLIDATIONREQUEST"]._serialized_start = 1281
|
|
88
|
+
_globals["_TRIGGERCONSOLIDATIONREQUEST"]._serialized_end = 1473
|
|
89
|
+
_globals["_GETCONSOLIDATIONRUNREQUEST"]._serialized_start = 1475
|
|
90
|
+
_globals["_GETCONSOLIDATIONRUNREQUEST"]._serialized_end = 1594
|
|
91
|
+
_globals["_LISTCONSOLIDATIONHISTORYREQUEST"]._serialized_start = 1597
|
|
92
|
+
_globals["_LISTCONSOLIDATIONHISTORYREQUEST"]._serialized_end = 1731
|
|
93
|
+
_globals["_LISTCONSOLIDATIONHISTORYRESPONSE"]._serialized_start = 1734
|
|
94
|
+
_globals["_LISTCONSOLIDATIONHISTORYRESPONSE"]._serialized_end = 1877
|
|
95
|
+
_globals["_GETCONCEPTHIERARCHYREQUEST"]._serialized_start = 1880
|
|
96
|
+
_globals["_GETCONCEPTHIERARCHYREQUEST"]._serialized_end = 2120
|
|
97
|
+
_globals["_GETCONCEPTCLUSTERREQUEST"]._serialized_start = 2123
|
|
98
|
+
_globals["_GETCONCEPTCLUSTERREQUEST"]._serialized_end = 2339
|
|
99
|
+
_globals["_TRIGGERCONSOLIDATIONRESPONSE"]._serialized_start = 2341
|
|
100
|
+
_globals["_TRIGGERCONSOLIDATIONRESPONSE"]._serialized_end = 2465
|
|
101
|
+
_globals["_GETCONSOLIDATIONRUNRESPONSE"]._serialized_start = 2467
|
|
102
|
+
_globals["_GETCONSOLIDATIONRUNRESPONSE"]._serialized_end = 2590
|
|
103
|
+
_globals["_GETCONCEPTHIERARCHYRESPONSE"]._serialized_start = 2592
|
|
104
|
+
_globals["_GETCONCEPTHIERARCHYRESPONSE"]._serialized_end = 2700
|
|
105
|
+
_globals["_GETCONCEPTCLUSTERRESPONSE"]._serialized_start = 2702
|
|
106
|
+
_globals["_GETCONCEPTCLUSTERRESPONSE"]._serialized_end = 2817
|
|
107
|
+
# @@protoc_insertion_point(module_scope)
|