Skip to content

Commit 0f69e28

Browse files
committed
chore: auto-gen by protobufs
triggered by commit: instill-ai/protobufs@b85ba0e
1 parent c25dd04 commit 0f69e28

File tree

11 files changed

+499
-153
lines changed

11 files changed

+499
-153
lines changed

app/app/v1alpha/agent_pb2.py

Lines changed: 45 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/app/v1alpha/agent_pb2.pyi

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
"""
2+
@generated by mypy-protobuf. Do not edit manually!
3+
isort:skip_file
4+
"""
5+
import builtins
6+
import collections.abc
7+
import google.protobuf.descriptor
8+
import google.protobuf.internal.containers
9+
import google.protobuf.message
10+
import google.protobuf.struct_pb2
11+
import sys
12+
13+
if sys.version_info >= (3, 8):
14+
import typing as typing_extensions
15+
else:
16+
import typing_extensions
17+
18+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
19+
20+
@typing_extensions.final
21+
class AIAgentAppMetadata(google.protobuf.message.Message):
22+
"""AIAgentAppMetadata represents the metadata for the AI agent app."""
23+
24+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
25+
26+
INSTRUCTIONS_FIELD_NUMBER: builtins.int
27+
TOOLS_FIELD_NUMBER: builtins.int
28+
CATALOG_UIDS_FIELD_NUMBER: builtins.int
29+
CHUNK_TOP_K_FIELD_NUMBER: builtins.int
30+
CHUNK_WEIGHT_FIELD_NUMBER: builtins.int
31+
instructions: builtins.str
32+
"""The instructions for the AI agent app."""
33+
@property
34+
def tools(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Tool]:
35+
"""The tools(pipelines) that the AI agent app can use."""
36+
@property
37+
def catalog_uids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
38+
"""The catalog uids that the AI agent app can use."""
39+
chunk_top_k: builtins.int
40+
"""The AI agent app top k."""
41+
chunk_weight: builtins.float
42+
"""The AI agent chunk weight."""
43+
def __init__(
44+
self,
45+
*,
46+
instructions: builtins.str = ...,
47+
tools: collections.abc.Iterable[global___Tool] | None = ...,
48+
catalog_uids: collections.abc.Iterable[builtins.str] | None = ...,
49+
chunk_top_k: builtins.int = ...,
50+
chunk_weight: builtins.float = ...,
51+
) -> None: ...
52+
def ClearField(self, field_name: typing_extensions.Literal["catalog_uids", b"catalog_uids", "chunk_top_k", b"chunk_top_k", "chunk_weight", b"chunk_weight", "instructions", b"instructions", "tools", b"tools"]) -> None: ...
53+
54+
global___AIAgentAppMetadata = AIAgentAppMetadata
55+
56+
@typing_extensions.final
57+
class Tool(google.protobuf.message.Message):
58+
"""tool definitions"""
59+
60+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
61+
62+
NAME_FIELD_NUMBER: builtins.int
63+
CONFIG_FIELD_NUMBER: builtins.int
64+
name: builtins.str
65+
"""The tool name. e.g. ["preset/[email protected]", "preset/[email protected]"]."""
66+
@property
67+
def config(self) -> google.protobuf.struct_pb2.Struct:
68+
"""The tool config"""
69+
def __init__(
70+
self,
71+
*,
72+
name: builtins.str = ...,
73+
config: google.protobuf.struct_pb2.Struct | None = ...,
74+
) -> None: ...
75+
def HasField(self, field_name: typing_extensions.Literal["config", b"config"]) -> builtins.bool: ...
76+
def ClearField(self, field_name: typing_extensions.Literal["config", b"config", "name", b"name"]) -> None: ...
77+
78+
global___Tool = Tool

app/app/v1alpha/agent_pb2_grpc.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2+
"""Client and server classes corresponding to protobuf-defined services."""
3+
import grpc
4+

app/app/v1alpha/agent_pb2_grpc.pyi

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
"""
2+
@generated by mypy-protobuf. Do not edit manually!
3+
isort:skip_file
4+
"""
5+
import abc
6+
import collections.abc
7+
import grpc
8+
import grpc.aio
9+
import typing
10+
11+
_T = typing.TypeVar('_T')
12+
13+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta):
14+
...
15+
16+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore
17+
...

0 commit comments

Comments
 (0)