diff --git a/artifact/artifact/v1alpha/artifact_public_service_pb2.py b/artifact/artifact/v1alpha/artifact_public_service_pb2.py index 5cb90d5..2c077c8 100644 --- a/artifact/artifact/v1alpha/artifact_public_service_pb2.py +++ b/artifact/artifact/v1alpha/artifact_public_service_pb2.py @@ -20,7 +20,7 @@ from protoc_gen_openapiv2.options import annotations_pb2 as protoc__gen__openapiv2_dot_options_dot_annotations__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n7artifact/artifact/v1alpha/artifact_public_service.proto\x12\x19\x61rtifact.artifact.v1alpha\x1a(artifact/artifact/v1alpha/artifact.proto\x1a%artifact/artifact/v1alpha/chunk.proto\x1a,artifact/artifact/v1alpha/file_catalog.proto\x1a\"artifact/artifact/v1alpha/qa.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1bgoogle/api/visibility.proto\x1a.protoc-gen-openapiv2/options/annotations.proto2\xb4\x1e\n\x15\x41rtifactPublicService\x12\xac\x01\n\x08Liveness\x12*.artifact.artifact.v1alpha.LivenessRequest\x1a+.artifact.artifact.v1alpha.LivenessResponse\"G\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02\x31\x12\x13/v1alpha/__livenessZ\x1a\x12\x18/v1alpha/health/artifact\x12\xaf\x01\n\tReadiness\x12+.artifact.artifact.v1alpha.ReadinessRequest\x1a,.artifact.artifact.v1alpha.ReadinessResponse\"G\xfa\xd2\xe4\x93\x02\n\x12\x08INTERNAL\x82\xd3\xe4\x93\x02\x31\x12\x14/v1alpha/__readinessZ\x19\x12\x17/v1alpha/ready/artifact\x12\xb6\x01\n\rCreateCatalog\x12/.artifact.artifact.v1alpha.CreateCatalogRequest\x1a\x30.artifact.artifact.v1alpha.CreateCatalogResponse\"B\x92\x41\t\n\x07\x43\x61talog\x82\xd3\xe4\x93\x02\x30\"+/v1alpha/namespaces/{namespace_id}/catalogs:\x01*\x12\xb0\x01\n\x0cListCatalogs\x12..artifact.artifact.v1alpha.ListCatalogsRequest\x1a/.artifact.artifact.v1alpha.ListCatalogsResponse\"?\x92\x41\t\n\x07\x43\x61talog\x82\xd3\xe4\x93\x02-\x12+/v1alpha/namespaces/{namespace_id}/catalogs\x12\xc3\x01\n\rUpdateCatalog\x12/.artifact.artifact.v1alpha.UpdateCatalogRequest\x1a\x30.artifact.artifact.v1alpha.UpdateCatalogResponse\"O\x92\x41\t\n\x07\x43\x61talog\x82\xd3\xe4\x93\x02=\x1a\x38/v1alpha/namespaces/{namespace_id}/catalogs/{catalog_id}:\x01*\x12\xc0\x01\n\rDeleteCatalog\x12/.artifact.artifact.v1alpha.DeleteCatalogRequest\x1a\x30.artifact.artifact.v1alpha.DeleteCatalogResponse\"L\x92\x41\t\n\x07\x43\x61talog\x82\xd3\xe4\x93\x02:*8/v1alpha/namespaces/{namespace_id}/catalogs/{catalog_id}\x12\xd8\x01\n\x11UploadCatalogFile\x12\x33.artifact.artifact.v1alpha.UploadCatalogFileRequest\x1a\x34.artifact.artifact.v1alpha.UploadCatalogFileResponse\"X\x92\x41\t\n\x07\x43\x61talog\x82\xd3\xe4\x93\x02\x46\">/v1alpha/namespaces/{namespace_id}/catalogs/{catalog_id}/files:\x04\x66ile\x12\xab\x01\n\x11\x44\x65leteCatalogFile\x12\x33.artifact.artifact.v1alpha.DeleteCatalogFileRequest\x1a\x34.artifact.artifact.v1alpha.DeleteCatalogFileResponse\"+\x92\x41\t\n\x07\x43\x61talog\x82\xd3\xe4\x93\x02\x19*\x17/v1alpha/catalogs/files\x12\xe6\x02\n\x13ProcessCatalogFiles\x12\x35.artifact.artifact.v1alpha.ProcessCatalogFilesRequest\x1a\x36.artifact.artifact.v1alpha.ProcessCatalogFilesResponse\"\xdf\x01\x92\x41\xac\x01\n\x07\x43\x61talogr\xa0\x01\n\x9d\x01\n\x15Instill-Requester-Uid\x12\x81\x01Indicates the authenticated namespace is making the request on behalf of another entity, typically an organization they belong to\x18\x01\x82\xd3\xe4\x93\x02)\"$/v1alpha/catalogs/files/processAsync:\x01*\x12\xcf\x01\n\x10ListCatalogFiles\x12\x32.artifact.artifact.v1alpha.ListCatalogFilesRequest\x1a\x33.artifact.artifact.v1alpha.ListCatalogFilesResponse\"R\x92\x41\t\n\x07\x43\x61talog\x82\xd3\xe4\x93\x02@\x12>/v1alpha/namespaces/{namespace_id}/catalogs/{catalog_id}/files\x12\xbe\x01\n\nListChunks\x12,.artifact.artifact.v1alpha.ListChunksRequest\x1a-.artifact.artifact.v1alpha.ListChunksResponse\"S\x92\x41\t\n\x07\x43\x61talog\x82\xd3\xe4\x93\x02\x41\x12?/v1alpha/namespaces/{namespace_id}/catalogs/{catalog_id}/chunks\x12\xd8\x01\n\rGetSourceFile\x12/.artifact.artifact.v1alpha.GetSourceFileRequest\x1a\x30.artifact.artifact.v1alpha.GetSourceFileResponse\"d\x92\x41\t\n\x07\x43\x61talog\x82\xd3\xe4\x93\x02R\x12P/v1alpha/namespaces/{namespace_id}/catalogs/{catalog_id}/files/{file_uid}/source\x12\xa0\x01\n\x0bUpdateChunk\x12-.artifact.artifact.v1alpha.UpdateChunkRequest\x1a..artifact.artifact.v1alpha.UpdateChunkResponse\"2\x92\x41\t\n\x07\x43\x61talog\x82\xd3\xe4\x93\x02 \"\x1b/v1alpha/chunks/{chunk_uid}:\x01*\x12\x93\x03\n\x16SimilarityChunksSearch\x12\x38.artifact.artifact.v1alpha.SimilarityChunksSearchRequest\x1a\x39.artifact.artifact.v1alpha.SimilarityChunksSearchResponse\"\x83\x02\x92\x41\xac\x01\n\x07\x43\x61talogr\xa0\x01\n\x9d\x01\n\x15Instill-Requester-Uid\x12\x81\x01Indicates the authenticated namespace is making the request on behalf of another entity, typically an organization they belong to\x18\x01\x82\xd3\xe4\x93\x02M\"H/v1alpha/namespaces/{namespace_id}/catalogs/{catalog_id}/chunks/retrieve:\x01*\x12\xf8\x02\n\x11QuestionAnswering\x12\x33.artifact.artifact.v1alpha.QuestionAnsweringRequest\x1a\x34.artifact.artifact.v1alpha.QuestionAnsweringResponse\"\xf7\x01\x92\x41\xac\x01\n\x07\x43\x61talogr\xa0\x01\n\x9d\x01\n\x15Instill-Requester-Uid\x12\x81\x01Indicates the authenticated namespace is making the request on behalf of another entity, typically an organization they belong to\x18\x01\x82\xd3\xe4\x93\x02\x41\"\x12/v1alpha/namespaces/{namespace_id}/catalogs/{catalog_id}/files:\x04\x66ile\x12\xab\x01\n\x11\x44\x65leteCatalogFile\x12\x33.artifact.artifact.v1alpha.DeleteCatalogFileRequest\x1a\x34.artifact.artifact.v1alpha.DeleteCatalogFileResponse\"+\x92\x41\t\n\x07\x43\x61talog\x82\xd3\xe4\x93\x02\x19*\x17/v1alpha/catalogs/files\x12\xe6\x02\n\x13ProcessCatalogFiles\x12\x35.artifact.artifact.v1alpha.ProcessCatalogFilesRequest\x1a\x36.artifact.artifact.v1alpha.ProcessCatalogFilesResponse\"\xdf\x01\x92\x41\xac\x01\n\x07\x43\x61talogr\xa0\x01\n\x9d\x01\n\x15Instill-Requester-Uid\x12\x81\x01Indicates the authenticated namespace is making the request on behalf of another entity, typically an organization they belong to\x18\x01\x82\xd3\xe4\x93\x02)\"$/v1alpha/catalogs/files/processAsync:\x01*\x12\xcf\x01\n\x10ListCatalogFiles\x12\x32.artifact.artifact.v1alpha.ListCatalogFilesRequest\x1a\x33.artifact.artifact.v1alpha.ListCatalogFilesResponse\"R\x92\x41\t\n\x07\x43\x61talog\x82\xd3\xe4\x93\x02@\x12>/v1alpha/namespaces/{namespace_id}/catalogs/{catalog_id}/files\x12\xbe\x01\n\nListChunks\x12,.artifact.artifact.v1alpha.ListChunksRequest\x1a-.artifact.artifact.v1alpha.ListChunksResponse\"S\x92\x41\t\n\x07\x43\x61talog\x82\xd3\xe4\x93\x02\x41\x12?/v1alpha/namespaces/{namespace_id}/catalogs/{catalog_id}/chunks\x12\xd8\x01\n\rGetSourceFile\x12/.artifact.artifact.v1alpha.GetSourceFileRequest\x1a\x30.artifact.artifact.v1alpha.GetSourceFileResponse\"d\x92\x41\t\n\x07\x43\x61talog\x82\xd3\xe4\x93\x02R\x12P/v1alpha/namespaces/{namespace_id}/catalogs/{catalog_id}/files/{file_uid}/source\x12\xa0\x01\n\x0bUpdateChunk\x12-.artifact.artifact.v1alpha.UpdateChunkRequest\x1a..artifact.artifact.v1alpha.UpdateChunkResponse\"2\x92\x41\t\n\x07\x43\x61talog\x82\xd3\xe4\x93\x02 \"\x1b/v1alpha/chunks/{chunk_uid}:\x01*\x12\xef\x02\n\nViewChunks\x12,.artifact.artifact.v1alpha.ViewChunksRequest\x1a-.artifact.artifact.v1alpha.ViewChunksResponse\"\x83\x02\x92\x41\xac\x01\n\x07\x43\x61talogr\xa0\x01\n\x9d\x01\n\x15Instill-Requester-Uid\x12\x81\x01Indicates the authenticated namespace is making the request on behalf of another entity, typically an organization they belong to\x18\x01\x82\xd3\xe4\x93\x02M\"H/v1alpha/namespaces/{namespace_id}/catalogs/{catalog_id}/chunks/retrieve:\x01*\x12\xf8\x02\n\x11QuestionAnswering\x12\x33.artifact.artifact.v1alpha.QuestionAnsweringRequest\x1a\x34.artifact.artifact.v1alpha.QuestionAnsweringResponse\"\xf7\x01\x92\x41\xac\x01\n\x07\x43\x61talogr\xa0\x01\n\x9d\x01\n\x15Instill-Requester-Uid\x12\x81\x01Indicates the authenticated namespace is making the request on behalf of another entity, typically an organization they belong to\x18\x01\x82\xd3\xe4\x93\x02\x41\"\x12\022 typing.Union[artifact.artifact.v1alpha.chunk_pb2.UpdateChunkResponse, collections.abc.Awaitable[artifact.artifact.v1alpha.chunk_pb2.UpdateChunkResponse]]: """Update catalog chunk""" @abc.abstractmethod - def SimilarityChunksSearch( + def ViewChunks( self, - request: artifact.artifact.v1alpha.chunk_pb2.SimilarityChunksSearchRequest, + request: artifact.artifact.v1alpha.chunk_pb2.ViewChunksRequest, context: _ServicerContext, - ) -> typing.Union[artifact.artifact.v1alpha.chunk_pb2.SimilarityChunksSearchResponse, collections.abc.Awaitable[artifact.artifact.v1alpha.chunk_pb2.SimilarityChunksSearchResponse]]: - """Retrieve similar chunks""" + ) -> typing.Union[artifact.artifact.v1alpha.chunk_pb2.ViewChunksResponse, collections.abc.Awaitable[artifact.artifact.v1alpha.chunk_pb2.ViewChunksResponse]]: + """View similar chunks""" @abc.abstractmethod def QuestionAnswering( self, diff --git a/artifact/artifact/v1alpha/chunk_pb2.py b/artifact/artifact/v1alpha/chunk_pb2.py index 346f277..3dd4b2a 100644 --- a/artifact/artifact/v1alpha/chunk_pb2.py +++ b/artifact/artifact/v1alpha/chunk_pb2.py @@ -14,7 +14,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%artifact/artifact/v1alpha/chunk.proto\x12\x19\x61rtifact.artifact.v1alpha\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfd\x01\n\x05\x43hunk\x12\x1b\n\tchunk_uid\x18\x01 \x01(\tR\x08\x63hunkUid\x12 \n\x0bretrievable\x18\x02 \x01(\x08R\x0bretrievable\x12\x1b\n\tstart_pos\x18\x04 \x01(\rR\x08startPos\x12\x17\n\x07\x65nd_pos\x18\x05 \x01(\rR\x06\x65ndPos\x12\x16\n\x06tokens\x18\x06 \x01(\rR\x06tokens\x12;\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ncreateTime\x12*\n\x11original_file_uid\x18\x08 \x01(\tR\x0foriginalFileUid\"\x8f\x01\n\x11ListChunksRequest\x12!\n\x0cnamespace_id\x18\x01 \x01(\tR\x0bnamespaceId\x12\x1d\n\ncatalog_id\x18\x02 \x01(\tR\tcatalogId\x12\x19\n\x08\x66ile_uid\x18\x03 \x01(\tR\x07\x66ileUid\x12\x1d\n\nchunk_uids\x18\x04 \x03(\tR\tchunkUids\"N\n\x12ListChunksResponse\x12\x38\n\x06\x63hunks\x18\x01 \x03(\x0b\x32 .artifact.artifact.v1alpha.ChunkR\x06\x63hunks\"\xcc\x01\n\nSourceFile\x12*\n\x11original_file_uid\x18\x01 \x01(\tR\x0foriginalFileUid\x12\x18\n\x07\x63ontent\x18\x03 \x01(\tR\x07\x63ontent\x12;\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ncreateTime\x12;\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nupdateTime\"s\n\x14GetSourceFileRequest\x12!\n\x0cnamespace_id\x18\x01 \x01(\tR\x0bnamespaceId\x12\x1d\n\ncatalog_id\x18\x02 \x01(\tR\tcatalogId\x12\x19\n\x08\x66ile_uid\x18\x03 \x01(\tR\x07\x66ileUid\"_\n\x15GetSourceFileResponse\x12\x46\n\x0bsource_file\x18\x01 \x01(\x0b\x32%.artifact.artifact.v1alpha.SourceFileR\nsourceFile\"S\n\x12UpdateChunkRequest\x12\x1b\n\tchunk_uid\x18\x01 \x01(\tR\x08\x63hunkUid\x12 \n\x0bretrievable\x18\x02 \x01(\x08R\x0bretrievable\"M\n\x13UpdateChunkResponse\x12\x36\n\x05\x63hunk\x18\x01 \x01(\x0b\x32 .artifact.artifact.v1alpha.ChunkR\x05\x63hunk\"\x97\x01\n\x1dSimilarityChunksSearchRequest\x12!\n\x0cnamespace_id\x18\x01 \x01(\tR\x0bnamespaceId\x12\x1d\n\ncatalog_id\x18\x02 \x01(\tR\tcatalogId\x12\x1f\n\x0btext_prompt\x18\x03 \x01(\tR\ntextPrompt\x12\x13\n\x05top_k\x18\x04 \x01(\rR\x04topK\"s\n\x1eSimilarityChunksSearchResponse\x12Q\n\x0esimilar_chunks\x18\x01 \x03(\x0b\x32*.artifact.artifact.v1alpha.SimilarityChunkR\rsimilarChunks\"\x9d\x01\n\x0fSimilarityChunk\x12\x1b\n\tchunk_uid\x18\x01 \x01(\tR\x08\x63hunkUid\x12)\n\x10similarity_score\x18\x02 \x01(\x02R\x0fsimilarityScore\x12!\n\x0ctext_content\x18\x03 \x01(\tR\x0btextContent\x12\x1f\n\x0bsource_file\x18\x04 \x01(\tR\nsourceFileB\xfe\x01\n\x1d\x63om.artifact.artifact.v1alphaB\nChunkProtoP\x01ZKgithub.com/instill-ai/protogen-go/artifact/artifact/v1alpha;artifactv1alpha\xa2\x02\x03\x41\x41X\xaa\x02\x19\x41rtifact.Artifact.V1alpha\xca\x02\x19\x41rtifact\\Artifact\\V1alpha\xe2\x02%Artifact\\Artifact\\V1alpha\\GPBMetadata\xea\x02\x1b\x41rtifact::Artifact::V1alphab\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%artifact/artifact/v1alpha/chunk.proto\x12\x19\x61rtifact.artifact.v1alpha\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfd\x01\n\x05\x43hunk\x12\x1b\n\tchunk_uid\x18\x01 \x01(\tR\x08\x63hunkUid\x12 \n\x0bretrievable\x18\x02 \x01(\x08R\x0bretrievable\x12\x1b\n\tstart_pos\x18\x04 \x01(\rR\x08startPos\x12\x17\n\x07\x65nd_pos\x18\x05 \x01(\rR\x06\x65ndPos\x12\x16\n\x06tokens\x18\x06 \x01(\rR\x06tokens\x12;\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ncreateTime\x12*\n\x11original_file_uid\x18\x08 \x01(\tR\x0foriginalFileUid\"\x8f\x01\n\x11ListChunksRequest\x12!\n\x0cnamespace_id\x18\x01 \x01(\tR\x0bnamespaceId\x12\x1d\n\ncatalog_id\x18\x02 \x01(\tR\tcatalogId\x12\x19\n\x08\x66ile_uid\x18\x03 \x01(\tR\x07\x66ileUid\x12\x1d\n\nchunk_uids\x18\x04 \x03(\tR\tchunkUids\"N\n\x12ListChunksResponse\x12\x38\n\x06\x63hunks\x18\x01 \x03(\x0b\x32 .artifact.artifact.v1alpha.ChunkR\x06\x63hunks\"\xcc\x01\n\nSourceFile\x12*\n\x11original_file_uid\x18\x01 \x01(\tR\x0foriginalFileUid\x12\x18\n\x07\x63ontent\x18\x03 \x01(\tR\x07\x63ontent\x12;\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ncreateTime\x12;\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nupdateTime\"s\n\x14GetSourceFileRequest\x12!\n\x0cnamespace_id\x18\x01 \x01(\tR\x0bnamespaceId\x12\x1d\n\ncatalog_id\x18\x02 \x01(\tR\tcatalogId\x12\x19\n\x08\x66ile_uid\x18\x03 \x01(\tR\x07\x66ileUid\"_\n\x15GetSourceFileResponse\x12\x46\n\x0bsource_file\x18\x01 \x01(\x0b\x32%.artifact.artifact.v1alpha.SourceFileR\nsourceFile\"S\n\x12UpdateChunkRequest\x12\x1b\n\tchunk_uid\x18\x01 \x01(\tR\x08\x63hunkUid\x12 \n\x0bretrievable\x18\x02 \x01(\x08R\x0bretrievable\"M\n\x13UpdateChunkResponse\x12\x36\n\x05\x63hunk\x18\x01 \x01(\x0b\x32 .artifact.artifact.v1alpha.ChunkR\x05\x63hunk\"\x8b\x01\n\x11ViewChunksRequest\x12!\n\x0cnamespace_id\x18\x01 \x01(\tR\x0bnamespaceId\x12\x1d\n\ncatalog_id\x18\x02 \x01(\tR\tcatalogId\x12\x1f\n\x0btext_prompt\x18\x03 \x01(\tR\ntextPrompt\x12\x13\n\x05top_k\x18\x04 \x01(\rR\x04topK\"g\n\x12ViewChunksResponse\x12Q\n\x0esimilar_chunks\x18\x01 \x03(\x0b\x32*.artifact.artifact.v1alpha.SimilarityChunkR\rsimilarChunks\"\x9d\x01\n\x0fSimilarityChunk\x12\x1b\n\tchunk_uid\x18\x01 \x01(\tR\x08\x63hunkUid\x12)\n\x10similarity_score\x18\x02 \x01(\x02R\x0fsimilarityScore\x12!\n\x0ctext_content\x18\x03 \x01(\tR\x0btextContent\x12\x1f\n\x0bsource_file\x18\x04 \x01(\tR\nsourceFileB\xfe\x01\n\x1d\x63om.artifact.artifact.v1alphaB\nChunkProtoP\x01ZKgithub.com/instill-ai/protogen-go/artifact/artifact/v1alpha;artifactv1alpha\xa2\x02\x03\x41\x41X\xaa\x02\x19\x41rtifact.Artifact.V1alpha\xca\x02\x19\x41rtifact\\Artifact\\V1alpha\xe2\x02%Artifact\\Artifact\\V1alpha\\GPBMetadata\xea\x02\x1b\x41rtifact::Artifact::V1alphab\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -39,10 +39,10 @@ _globals['_UPDATECHUNKREQUEST']._serialized_end=1087 _globals['_UPDATECHUNKRESPONSE']._serialized_start=1089 _globals['_UPDATECHUNKRESPONSE']._serialized_end=1166 - _globals['_SIMILARITYCHUNKSSEARCHREQUEST']._serialized_start=1169 - _globals['_SIMILARITYCHUNKSSEARCHREQUEST']._serialized_end=1320 - _globals['_SIMILARITYCHUNKSSEARCHRESPONSE']._serialized_start=1322 - _globals['_SIMILARITYCHUNKSSEARCHRESPONSE']._serialized_end=1437 - _globals['_SIMILARITYCHUNK']._serialized_start=1440 - _globals['_SIMILARITYCHUNK']._serialized_end=1597 + _globals['_VIEWCHUNKSREQUEST']._serialized_start=1169 + _globals['_VIEWCHUNKSREQUEST']._serialized_end=1308 + _globals['_VIEWCHUNKSRESPONSE']._serialized_start=1310 + _globals['_VIEWCHUNKSRESPONSE']._serialized_end=1413 + _globals['_SIMILARITYCHUNK']._serialized_start=1416 + _globals['_SIMILARITYCHUNK']._serialized_end=1573 # @@protoc_insertion_point(module_scope) diff --git a/artifact/artifact/v1alpha/chunk_pb2.pyi b/artifact/artifact/v1alpha/chunk_pb2.pyi index eb240be..3437dc8 100644 --- a/artifact/artifact/v1alpha/chunk_pb2.pyi +++ b/artifact/artifact/v1alpha/chunk_pb2.pyi @@ -236,8 +236,8 @@ class UpdateChunkResponse(google.protobuf.message.Message): global___UpdateChunkResponse = UpdateChunkResponse @typing_extensions.final -class SimilarityChunksSearchRequest(google.protobuf.message.Message): - """Similar chunk search request""" +class ViewChunksRequest(google.protobuf.message.Message): + """View chunks request""" DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -263,11 +263,11 @@ class SimilarityChunksSearchRequest(google.protobuf.message.Message): ) -> None: ... def ClearField(self, field_name: typing_extensions.Literal["catalog_id", b"catalog_id", "namespace_id", b"namespace_id", "text_prompt", b"text_prompt", "top_k", b"top_k"]) -> None: ... -global___SimilarityChunksSearchRequest = SimilarityChunksSearchRequest +global___ViewChunksRequest = ViewChunksRequest @typing_extensions.final -class SimilarityChunksSearchResponse(google.protobuf.message.Message): - """Similar chunk search response""" +class ViewChunksResponse(google.protobuf.message.Message): + """View chunks response""" DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -282,7 +282,7 @@ class SimilarityChunksSearchResponse(google.protobuf.message.Message): ) -> None: ... def ClearField(self, field_name: typing_extensions.Literal["similar_chunks", b"similar_chunks"]) -> None: ... -global___SimilarityChunksSearchResponse = SimilarityChunksSearchResponse +global___ViewChunksResponse = ViewChunksResponse @typing_extensions.final class SimilarityChunk(google.protobuf.message.Message):