|
| 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 |
0 commit comments