diff --git a/artifact/artifact/v1alpha/artifact_pb2.py b/artifact/artifact/v1alpha/artifact_pb2.py index f63922a..5abf61b 100644 --- a/artifact/artifact/v1alpha/artifact_pb2.py +++ b/artifact/artifact/v1alpha/artifact_pb2.py @@ -17,7 +17,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(artifact/artifact/v1alpha/artifact.proto\x12\x19\x61rtifact.artifact.v1alpha\x1a+common/healthcheck/v1beta/healthcheck.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x96\x01\n\x0fLivenessRequest\x12j\n\x14health_check_request\x18\x01 \x01(\x0b\x32-.common.healthcheck.v1beta.HealthCheckRequestB\x04\xe2\x41\x01\x01H\x00R\x12healthCheckRequest\x88\x01\x01\x42\x17\n\x15_health_check_request\"v\n\x10LivenessResponse\x12\x62\n\x15health_check_response\x18\x01 \x01(\x0b\x32..common.healthcheck.v1beta.HealthCheckResponseR\x13healthCheckResponse\"\x97\x01\n\x10ReadinessRequest\x12j\n\x14health_check_request\x18\x01 \x01(\x0b\x32-.common.healthcheck.v1beta.HealthCheckRequestB\x04\xe2\x41\x01\x01H\x00R\x12healthCheckRequest\x88\x01\x01\x42\x17\n\x15_health_check_request\"w\n\x11ReadinessResponse\x12\x62\n\x15health_check_response\x18\x01 \x01(\x0b\x32..common.healthcheck.v1beta.HealthCheckResponseR\x13healthCheckResponse\"\xa1\x01\n\rRepositoryTag\x12\x18\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x05R\x04name\x12\x14\n\x02id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x05R\x02id\x12\x1c\n\x06\x64igest\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01R\x06\x64igest\x12\x42\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x05\xe2\x41\x02\x03\x01R\nupdateTime\"\xb7\x01\n\x19ListRepositoryTagsRequest\x12&\n\tpage_size\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01H\x00R\x08pageSize\x88\x01\x01\x12\x1d\n\x04page\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01H\x01R\x04page\x88\x01\x01\x12<\n\x06parent\x18\x03 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\n\x1b\x61pi.instill.tech/RepositoryR\x06parentB\x0c\n\n_page_sizeB\x07\n\x05_page\"\xaa\x01\n\x1aListRepositoryTagsResponse\x12<\n\x04tags\x18\x01 \x03(\x0b\x32(.artifact.artifact.v1alpha.RepositoryTagR\x04tags\x12\x1d\n\ntotal_size\x18\x02 \x01(\x05R\ttotalSize\x12\x1b\n\tpage_size\x18\x03 \x01(\x05R\x08pageSize\x12\x12\n\x04page\x18\x04 \x01(\x05R\x04page\"X\n\x1a\x43reateRepositoryTagRequest\x12:\n\x03tag\x18\x01 \x01(\x0b\x32(.artifact.artifact.v1alpha.RepositoryTagR\x03tag\"Y\n\x1b\x43reateRepositoryTagResponse\x12:\n\x03tag\x18\x01 \x01(\x0b\x32(.artifact.artifact.v1alpha.RepositoryTagR\x03tag\"3\n\x17GetRepositoryTagRequest\x12\x18\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x04name\"V\n\x18GetRepositoryTagResponse\x12:\n\x03tag\x18\x01 \x01(\x0b\x32(.artifact.artifact.v1alpha.RepositoryTagR\x03tag\"6\n\x1a\x44\x65leteRepositoryTagRequest\x12\x18\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x04name\"\x1d\n\x1b\x44\x65leteRepositoryTagResponse\"\xf8\x03\n\x07\x43\x61talog\x12\x1d\n\ncatalog_id\x18\x01 \x01(\tR\tcatalogId\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x1f\n\x0b\x63reate_time\x18\x05 \x01(\tR\ncreateTime\x12\x1f\n\x0bupdate_time\x18\x06 \x01(\tR\nupdateTime\x12\x1d\n\nowner_name\x18\x07 \x01(\tR\townerName\x12\x12\n\x04tags\x18\x08 \x03(\tR\x04tags\x12\x31\n\x14\x63onverting_pipelines\x18\t \x03(\tR\x13\x63onvertingPipelines\x12/\n\x13splitting_pipelines\x18\n \x03(\tR\x12splittingPipelines\x12/\n\x13\x65mbedding_pipelines\x18\x0b \x03(\tR\x12\x65mbeddingPipelines\x12\'\n\x0f\x64ownstream_apps\x18\x0c \x03(\tR\x0e\x64ownstreamApps\x12\x1f\n\x0btotal_files\x18\r \x01(\rR\ntotalFiles\x12!\n\x0ctotal_tokens\x18\x0e \x01(\rR\x0btotalTokens\x12!\n\x0cused_storage\x18\x0f \x01(\x04R\x0busedStorage\"\x83\x01\n\x14\x43reateCatalogRequest\x12!\n\x0cnamespace_id\x18\x01 \x01(\tR\x0bnamespaceId\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x12\n\x04tags\x18\x04 \x03(\tR\x04tags\"U\n\x15\x43reateCatalogResponse\x12<\n\x07\x63\x61talog\x18\x01 \x01(\x0b\x32\".artifact.artifact.v1alpha.CatalogR\x07\x63\x61talog\"8\n\x13ListCatalogsRequest\x12!\n\x0cnamespace_id\x18\x01 \x01(\tR\x0bnamespaceId\"V\n\x14ListCatalogsResponse\x12>\n\x08\x63\x61talogs\x18\x01 \x03(\x0b\x32\".artifact.artifact.v1alpha.CatalogR\x08\x63\x61talogs\"\x8e\x01\n\x14UpdateCatalogRequest\x12\x1d\n\ncatalog_id\x18\x01 \x01(\tR\tcatalogId\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x12\n\x04tags\x18\x03 \x03(\tR\x04tags\x12!\n\x0cnamespace_id\x18\x04 \x01(\tR\x0bnamespaceId\"U\n\x15UpdateCatalogResponse\x12<\n\x07\x63\x61talog\x18\x01 \x01(\x0b\x32\".artifact.artifact.v1alpha.CatalogR\x07\x63\x61talog\"X\n\x14\x44\x65leteCatalogRequest\x12!\n\x0cnamespace_id\x18\x01 \x01(\tR\x0bnamespaceId\x12\x1d\n\ncatalog_id\x18\x02 \x01(\tR\tcatalogId\"U\n\x15\x44\x65leteCatalogResponse\x12<\n\x07\x63\x61talog\x18\x01 \x01(\x0b\x32\".artifact.artifact.v1alpha.CatalogR\x07\x63\x61talog\"\xf8\x05\n\x04\x46ile\x12\x1f\n\x08\x66ile_uid\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03R\x07\x66ileUid\x12\x18\n\x04name\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02R\x04name\x12=\n\x04type\x18\x03 \x01(\x0e\x32#.artifact.artifact.v1alpha.FileTypeB\x04\xe2\x41\x01\x02R\x04type\x12Y\n\x0eprocess_status\x18\x04 \x01(\x0e\x32,.artifact.artifact.v1alpha.FileProcessStatusB\x04\xe2\x41\x01\x03R\rprocessStatus\x12-\n\x0fprocess_outcome\x18\x05 \x01(\tB\x04\xe2\x41\x01\x03R\x0eprocessOutcome\x12&\n\x0bretrievable\x18\x06 \x01(\x08\x42\x04\xe2\x41\x01\x03R\x0bretrievable\x12\x1e\n\x07\x63ontent\x18\x07 \x01(\tB\x04\xe2\x41\x01\x01R\x07\x63ontent\x12!\n\towner_uid\x18\x08 \x01(\tB\x04\xe2\x41\x01\x03R\x08ownerUid\x12%\n\x0b\x63reator_uid\x18\t \x01(\tB\x04\xe2\x41\x01\x03R\ncreatorUid\x12%\n\x0b\x63\x61talog_uid\x18\n \x01(\tB\x04\xe2\x41\x01\x03R\ncatalogUid\x12\x41\n\x0b\x63reate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\ncreateTime\x12\x41\n\x0bupdate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\nupdateTime\x12\x41\n\x0b\x64\x65lete_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\ndeleteTime\x12\x18\n\x04size\x18\x0e \x01(\x03\x42\x04\xe2\x41\x01\x03R\x04size\x12\'\n\x0ctotal_chunks\x18\x0f \x01(\x05\x42\x04\xe2\x41\x01\x03R\x0btotalChunks\x12\'\n\x0ctotal_tokens\x18\x10 \x01(\x05\x42\x04\xe2\x41\x01\x03R\x0btotalTokens\"\x9d\x01\n\x18UploadCatalogFileRequest\x12\'\n\x0cnamespace_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x0bnamespaceId\x12#\n\ncatalog_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02R\tcatalogId\x12\x33\n\x04\x66ile\x18\x03 \x01(\x0b\x32\x1f.artifact.artifact.v1alpha.FileR\x04\x66ile\"P\n\x19UploadCatalogFileResponse\x12\x33\n\x04\x66ile\x18\x01 \x01(\x0b\x32\x1f.artifact.artifact.v1alpha.FileR\x04\x66ile\";\n\x18\x44\x65leteCatalogFileRequest\x12\x1f\n\x08\x66ile_uid\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x07\x66ileUid\"6\n\x19\x44\x65leteCatalogFileResponse\x12\x19\n\x08\x66ile_uid\x18\x01 \x01(\tR\x07\x66ileUid\"?\n\x1aProcessCatalogFilesRequest\x12!\n\tfile_uids\x18\x01 \x03(\tB\x04\xe2\x41\x01\x02R\x08\x66ileUids\"T\n\x1bProcessCatalogFilesResponse\x12\x35\n\x05\x66iles\x18\x01 \x03(\x0b\x32\x1f.artifact.artifact.v1alpha.FileR\x05\x66iles\";\n\x16ListCatalogFilesFilter\x12!\n\tfile_uids\x18\x02 \x03(\tB\x04\xe2\x41\x01\x01R\x08\x66ileUids\"\xf4\x01\n\x17ListCatalogFilesRequest\x12!\n\x0cnamespace_id\x18\x01 \x01(\tR\x0bnamespaceId\x12\x1d\n\ncatalog_id\x18\x02 \x01(\tR\tcatalogId\x12!\n\tpage_size\x18\x03 \x01(\x05\x42\x04\xe2\x41\x01\x01R\x08pageSize\x12#\n\npage_token\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01R\tpageToken\x12O\n\x06\x66ilter\x18\x05 \x01(\x0b\x32\x31.artifact.artifact.v1alpha.ListCatalogFilesFilterB\x04\xe2\x41\x01\x01R\x06\x66ilter\"\x80\x02\n\x18ListCatalogFilesResponse\x12\x35\n\x05\x66iles\x18\x01 \x03(\x0b\x32\x1f.artifact.artifact.v1alpha.FileR\x05\x66iles\x12\x1d\n\ntotal_size\x18\x02 \x01(\x05R\ttotalSize\x12\x1b\n\tpage_size\x18\x03 \x01(\x05R\x08pageSize\x12&\n\x0fnext_page_token\x18\x04 \x01(\tR\rnextPageToken\x12I\n\x06\x66ilter\x18\x05 \x01(\x0b\x32\x31.artifact.artifact.v1alpha.ListCatalogFilesFilterR\x06\x66ilter*\xa9\x02\n\x11\x46ileProcessStatus\x12#\n\x1f\x46ILE_PROCESS_STATUS_UNSPECIFIED\x10\x00\x12\"\n\x1e\x46ILE_PROCESS_STATUS_NOTSTARTED\x10\x01\x12\x1f\n\x1b\x46ILE_PROCESS_STATUS_WAITING\x10\x02\x12\"\n\x1e\x46ILE_PROCESS_STATUS_CONVERTING\x10\x03\x12 \n\x1c\x46ILE_PROCESS_STATUS_CHUNKING\x10\x04\x12!\n\x1d\x46ILE_PROCESS_STATUS_EMBEDDING\x10\x05\x12!\n\x1d\x46ILE_PROCESS_STATUS_COMPLETED\x10\x06\x12\x1e\n\x1a\x46ILE_PROCESS_STATUS_FAILED\x10\x07*\x80\x02\n\x08\x46ileType\x12\x19\n\x15\x46ILE_TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x46ILE_TYPE_TEXT\x10\x01\x12\x11\n\rFILE_TYPE_PDF\x10\x02\x12\x16\n\x12\x46ILE_TYPE_MARKDOWN\x10\x03\x12\x11\n\rFILE_TYPE_PNG\x10\x04\x12\x12\n\x0e\x46ILE_TYPE_JPEG\x10\x05\x12\x11\n\rFILE_TYPE_JPG\x10\x06\x12\x12\n\x0e\x46ILE_TYPE_HTML\x10\x07\x12\x12\n\x0e\x46ILE_TYPE_DOCX\x10\x08\x12\x11\n\rFILE_TYPE_DOC\x10\t\x12\x11\n\rFILE_TYPE_PPT\x10\n\x12\x12\n\x0e\x46ILE_TYPE_PPTX\x10\x0b\x42\x81\x02\n\x1d\x63om.artifact.artifact.v1alphaB\rArtifactProtoP\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/artifact.proto\x12\x19\x61rtifact.artifact.v1alpha\x1a+common/healthcheck/v1beta/healthcheck.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x96\x01\n\x0fLivenessRequest\x12j\n\x14health_check_request\x18\x01 \x01(\x0b\x32-.common.healthcheck.v1beta.HealthCheckRequestB\x04\xe2\x41\x01\x01H\x00R\x12healthCheckRequest\x88\x01\x01\x42\x17\n\x15_health_check_request\"v\n\x10LivenessResponse\x12\x62\n\x15health_check_response\x18\x01 \x01(\x0b\x32..common.healthcheck.v1beta.HealthCheckResponseR\x13healthCheckResponse\"\x97\x01\n\x10ReadinessRequest\x12j\n\x14health_check_request\x18\x01 \x01(\x0b\x32-.common.healthcheck.v1beta.HealthCheckRequestB\x04\xe2\x41\x01\x01H\x00R\x12healthCheckRequest\x88\x01\x01\x42\x17\n\x15_health_check_request\"w\n\x11ReadinessResponse\x12\x62\n\x15health_check_response\x18\x01 \x01(\x0b\x32..common.healthcheck.v1beta.HealthCheckResponseR\x13healthCheckResponse\"\xa1\x01\n\rRepositoryTag\x12\x18\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x05R\x04name\x12\x14\n\x02id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x05R\x02id\x12\x1c\n\x06\x64igest\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01R\x06\x64igest\x12\x42\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x05\xe2\x41\x02\x03\x01R\nupdateTime\"\xb7\x01\n\x19ListRepositoryTagsRequest\x12&\n\tpage_size\x18\x01 \x01(\x05\x42\x04\xe2\x41\x01\x01H\x00R\x08pageSize\x88\x01\x01\x12\x1d\n\x04page\x18\x02 \x01(\x05\x42\x04\xe2\x41\x01\x01H\x01R\x04page\x88\x01\x01\x12<\n\x06parent\x18\x03 \x01(\tB$\xe2\x41\x01\x02\xfa\x41\x1d\n\x1b\x61pi.instill.tech/RepositoryR\x06parentB\x0c\n\n_page_sizeB\x07\n\x05_page\"\xaa\x01\n\x1aListRepositoryTagsResponse\x12<\n\x04tags\x18\x01 \x03(\x0b\x32(.artifact.artifact.v1alpha.RepositoryTagR\x04tags\x12\x1d\n\ntotal_size\x18\x02 \x01(\x05R\ttotalSize\x12\x1b\n\tpage_size\x18\x03 \x01(\x05R\x08pageSize\x12\x12\n\x04page\x18\x04 \x01(\x05R\x04page\"X\n\x1a\x43reateRepositoryTagRequest\x12:\n\x03tag\x18\x01 \x01(\x0b\x32(.artifact.artifact.v1alpha.RepositoryTagR\x03tag\"Y\n\x1b\x43reateRepositoryTagResponse\x12:\n\x03tag\x18\x01 \x01(\x0b\x32(.artifact.artifact.v1alpha.RepositoryTagR\x03tag\"3\n\x17GetRepositoryTagRequest\x12\x18\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x04name\"V\n\x18GetRepositoryTagResponse\x12:\n\x03tag\x18\x01 \x01(\x0b\x32(.artifact.artifact.v1alpha.RepositoryTagR\x03tag\"6\n\x1a\x44\x65leteRepositoryTagRequest\x12\x18\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x04name\"\x1d\n\x1b\x44\x65leteRepositoryTagResponse\"\xf8\x03\n\x07\x43\x61talog\x12\x1d\n\ncatalog_id\x18\x01 \x01(\tR\tcatalogId\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x1f\n\x0b\x63reate_time\x18\x05 \x01(\tR\ncreateTime\x12\x1f\n\x0bupdate_time\x18\x06 \x01(\tR\nupdateTime\x12\x1d\n\nowner_name\x18\x07 \x01(\tR\townerName\x12\x12\n\x04tags\x18\x08 \x03(\tR\x04tags\x12\x31\n\x14\x63onverting_pipelines\x18\t \x03(\tR\x13\x63onvertingPipelines\x12/\n\x13splitting_pipelines\x18\n \x03(\tR\x12splittingPipelines\x12/\n\x13\x65mbedding_pipelines\x18\x0b \x03(\tR\x12\x65mbeddingPipelines\x12\'\n\x0f\x64ownstream_apps\x18\x0c \x03(\tR\x0e\x64ownstreamApps\x12\x1f\n\x0btotal_files\x18\r \x01(\rR\ntotalFiles\x12!\n\x0ctotal_tokens\x18\x0e \x01(\rR\x0btotalTokens\x12!\n\x0cused_storage\x18\x0f \x01(\x04R\x0busedStorage\"\x83\x01\n\x14\x43reateCatalogRequest\x12!\n\x0cnamespace_id\x18\x01 \x01(\tR\x0bnamespaceId\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x12\n\x04tags\x18\x04 \x03(\tR\x04tags\"U\n\x15\x43reateCatalogResponse\x12<\n\x07\x63\x61talog\x18\x01 \x01(\x0b\x32\".artifact.artifact.v1alpha.CatalogR\x07\x63\x61talog\"8\n\x13ListCatalogsRequest\x12!\n\x0cnamespace_id\x18\x01 \x01(\tR\x0bnamespaceId\"V\n\x14ListCatalogsResponse\x12>\n\x08\x63\x61talogs\x18\x01 \x03(\x0b\x32\".artifact.artifact.v1alpha.CatalogR\x08\x63\x61talogs\"\x8e\x01\n\x14UpdateCatalogRequest\x12\x1d\n\ncatalog_id\x18\x01 \x01(\tR\tcatalogId\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x12\n\x04tags\x18\x03 \x03(\tR\x04tags\x12!\n\x0cnamespace_id\x18\x04 \x01(\tR\x0bnamespaceId\"U\n\x15UpdateCatalogResponse\x12<\n\x07\x63\x61talog\x18\x01 \x01(\x0b\x32\".artifact.artifact.v1alpha.CatalogR\x07\x63\x61talog\"X\n\x14\x44\x65leteCatalogRequest\x12!\n\x0cnamespace_id\x18\x01 \x01(\tR\x0bnamespaceId\x12\x1d\n\ncatalog_id\x18\x02 \x01(\tR\tcatalogId\"U\n\x15\x44\x65leteCatalogResponse\x12<\n\x07\x63\x61talog\x18\x01 \x01(\x0b\x32\".artifact.artifact.v1alpha.CatalogR\x07\x63\x61talog\"\xf8\x05\n\x04\x46ile\x12\x1f\n\x08\x66ile_uid\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03R\x07\x66ileUid\x12\x18\n\x04name\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02R\x04name\x12=\n\x04type\x18\x03 \x01(\x0e\x32#.artifact.artifact.v1alpha.FileTypeB\x04\xe2\x41\x01\x02R\x04type\x12Y\n\x0eprocess_status\x18\x04 \x01(\x0e\x32,.artifact.artifact.v1alpha.FileProcessStatusB\x04\xe2\x41\x01\x03R\rprocessStatus\x12-\n\x0fprocess_outcome\x18\x05 \x01(\tB\x04\xe2\x41\x01\x03R\x0eprocessOutcome\x12&\n\x0bretrievable\x18\x06 \x01(\x08\x42\x04\xe2\x41\x01\x03R\x0bretrievable\x12\x1e\n\x07\x63ontent\x18\x07 \x01(\tB\x04\xe2\x41\x01\x01R\x07\x63ontent\x12!\n\towner_uid\x18\x08 \x01(\tB\x04\xe2\x41\x01\x03R\x08ownerUid\x12%\n\x0b\x63reator_uid\x18\t \x01(\tB\x04\xe2\x41\x01\x03R\ncreatorUid\x12%\n\x0b\x63\x61talog_uid\x18\n \x01(\tB\x04\xe2\x41\x01\x03R\ncatalogUid\x12\x41\n\x0b\x63reate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\ncreateTime\x12\x41\n\x0bupdate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\nupdateTime\x12\x41\n\x0b\x64\x65lete_time\x18\r \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03R\ndeleteTime\x12\x18\n\x04size\x18\x0e \x01(\x03\x42\x04\xe2\x41\x01\x03R\x04size\x12\'\n\x0ctotal_chunks\x18\x0f \x01(\x05\x42\x04\xe2\x41\x01\x03R\x0btotalChunks\x12\'\n\x0ctotal_tokens\x18\x10 \x01(\x05\x42\x04\xe2\x41\x01\x03R\x0btotalTokens\"\x9d\x01\n\x18UploadCatalogFileRequest\x12\'\n\x0cnamespace_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x0bnamespaceId\x12#\n\ncatalog_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02R\tcatalogId\x12\x33\n\x04\x66ile\x18\x03 \x01(\x0b\x32\x1f.artifact.artifact.v1alpha.FileR\x04\x66ile\"P\n\x19UploadCatalogFileResponse\x12\x33\n\x04\x66ile\x18\x01 \x01(\x0b\x32\x1f.artifact.artifact.v1alpha.FileR\x04\x66ile\";\n\x18\x44\x65leteCatalogFileRequest\x12\x1f\n\x08\x66ile_uid\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02R\x07\x66ileUid\"6\n\x19\x44\x65leteCatalogFileResponse\x12\x19\n\x08\x66ile_uid\x18\x01 \x01(\tR\x07\x66ileUid\"?\n\x1aProcessCatalogFilesRequest\x12!\n\tfile_uids\x18\x01 \x03(\tB\x04\xe2\x41\x01\x02R\x08\x66ileUids\"T\n\x1bProcessCatalogFilesResponse\x12\x35\n\x05\x66iles\x18\x01 \x03(\x0b\x32\x1f.artifact.artifact.v1alpha.FileR\x05\x66iles\";\n\x16ListCatalogFilesFilter\x12!\n\tfile_uids\x18\x02 \x03(\tB\x04\xe2\x41\x01\x01R\x08\x66ileUids\"\xf4\x01\n\x17ListCatalogFilesRequest\x12!\n\x0cnamespace_id\x18\x01 \x01(\tR\x0bnamespaceId\x12\x1d\n\ncatalog_id\x18\x02 \x01(\tR\tcatalogId\x12!\n\tpage_size\x18\x03 \x01(\x05\x42\x04\xe2\x41\x01\x01R\x08pageSize\x12#\n\npage_token\x18\x04 \x01(\tB\x04\xe2\x41\x01\x01R\tpageToken\x12O\n\x06\x66ilter\x18\x05 \x01(\x0b\x32\x31.artifact.artifact.v1alpha.ListCatalogFilesFilterB\x04\xe2\x41\x01\x01R\x06\x66ilter\"\x80\x02\n\x18ListCatalogFilesResponse\x12\x35\n\x05\x66iles\x18\x01 \x03(\x0b\x32\x1f.artifact.artifact.v1alpha.FileR\x05\x66iles\x12\x1d\n\ntotal_size\x18\x02 \x01(\x05R\ttotalSize\x12\x1b\n\tpage_size\x18\x03 \x01(\x05R\x08pageSize\x12&\n\x0fnext_page_token\x18\x04 \x01(\tR\rnextPageToken\x12I\n\x06\x66ilter\x18\x05 \x01(\x0b\x32\x31.artifact.artifact.v1alpha.ListCatalogFilesFilterR\x06\x66ilter*\xa9\x02\n\x11\x46ileProcessStatus\x12#\n\x1f\x46ILE_PROCESS_STATUS_UNSPECIFIED\x10\x00\x12\"\n\x1e\x46ILE_PROCESS_STATUS_NOTSTARTED\x10\x01\x12\x1f\n\x1b\x46ILE_PROCESS_STATUS_WAITING\x10\x02\x12\"\n\x1e\x46ILE_PROCESS_STATUS_CONVERTING\x10\x03\x12 \n\x1c\x46ILE_PROCESS_STATUS_CHUNKING\x10\x04\x12!\n\x1d\x46ILE_PROCESS_STATUS_EMBEDDING\x10\x05\x12!\n\x1d\x46ILE_PROCESS_STATUS_COMPLETED\x10\x06\x12\x1e\n\x1a\x46ILE_PROCESS_STATUS_FAILED\x10\x07*\xa7\x02\n\x08\x46ileType\x12\x19\n\x15\x46ILE_TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x46ILE_TYPE_TEXT\x10\x01\x12\x11\n\rFILE_TYPE_PDF\x10\x02\x12\x16\n\x12\x46ILE_TYPE_MARKDOWN\x10\x03\x12\x11\n\rFILE_TYPE_PNG\x10\x04\x12\x12\n\x0e\x46ILE_TYPE_JPEG\x10\x05\x12\x11\n\rFILE_TYPE_JPG\x10\x06\x12\x12\n\x0e\x46ILE_TYPE_HTML\x10\x07\x12\x12\n\x0e\x46ILE_TYPE_DOCX\x10\x08\x12\x11\n\rFILE_TYPE_DOC\x10\t\x12\x11\n\rFILE_TYPE_PPT\x10\n\x12\x12\n\x0e\x46ILE_TYPE_PPTX\x10\x0b\x12\x11\n\rFILE_TYPE_XLS\x10\x0c\x12\x12\n\x0e\x46ILE_TYPE_XLSX\x10\rB\x81\x02\n\x1d\x63om.artifact.artifact.v1alphaB\rArtifactProtoP\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) @@ -99,7 +99,7 @@ _globals['_FILEPROCESSSTATUS']._serialized_start=4813 _globals['_FILEPROCESSSTATUS']._serialized_end=5110 _globals['_FILETYPE']._serialized_start=5113 - _globals['_FILETYPE']._serialized_end=5369 + _globals['_FILETYPE']._serialized_end=5408 _globals['_LIVENESSREQUEST']._serialized_start=210 _globals['_LIVENESSREQUEST']._serialized_end=360 _globals['_LIVENESSRESPONSE']._serialized_start=362 diff --git a/artifact/artifact/v1alpha/artifact_pb2.pyi b/artifact/artifact/v1alpha/artifact_pb2.pyi index cd7165d..005cc03 100644 --- a/artifact/artifact/v1alpha/artifact_pb2.pyi +++ b/artifact/artifact/v1alpha/artifact_pb2.pyi @@ -79,11 +79,11 @@ class _FileTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumT FILE_TYPE_MARKDOWN: _FileType.ValueType # 3 """MARKDOWN""" FILE_TYPE_PNG: _FileType.ValueType # 4 - """PNG""" + """PNG(not supported yet)""" FILE_TYPE_JPEG: _FileType.ValueType # 5 - """JPEG""" + """JPEG(not supported yet)""" FILE_TYPE_JPG: _FileType.ValueType # 6 - """JPG""" + """JPG(not supported yet)""" FILE_TYPE_HTML: _FileType.ValueType # 7 """HTML""" FILE_TYPE_DOCX: _FileType.ValueType # 8 @@ -94,6 +94,10 @@ class _FileTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumT """PPT""" FILE_TYPE_PPTX: _FileType.ValueType # 11 """PPTX""" + FILE_TYPE_XLS: _FileType.ValueType # 12 + """XLS(not supported yet)""" + FILE_TYPE_XLSX: _FileType.ValueType # 13 + """XLSX""" class FileType(_FileType, metaclass=_FileTypeEnumTypeWrapper): """file type""" @@ -107,11 +111,11 @@ FILE_TYPE_PDF: FileType.ValueType # 2 FILE_TYPE_MARKDOWN: FileType.ValueType # 3 """MARKDOWN""" FILE_TYPE_PNG: FileType.ValueType # 4 -"""PNG""" +"""PNG(not supported yet)""" FILE_TYPE_JPEG: FileType.ValueType # 5 -"""JPEG""" +"""JPEG(not supported yet)""" FILE_TYPE_JPG: FileType.ValueType # 6 -"""JPG""" +"""JPG(not supported yet)""" FILE_TYPE_HTML: FileType.ValueType # 7 """HTML""" FILE_TYPE_DOCX: FileType.ValueType # 8 @@ -122,6 +126,10 @@ FILE_TYPE_PPT: FileType.ValueType # 10 """PPT""" FILE_TYPE_PPTX: FileType.ValueType # 11 """PPTX""" +FILE_TYPE_XLS: FileType.ValueType # 12 +"""XLS(not supported yet)""" +FILE_TYPE_XLSX: FileType.ValueType # 13 +"""XLSX""" global___FileType = FileType @typing_extensions.final diff --git a/artifact/artifact/v1alpha/artifact_public_service_pb2_grpc.py b/artifact/artifact/v1alpha/artifact_public_service_pb2_grpc.py index 676d5db..d5dd287 100644 --- a/artifact/artifact/v1alpha/artifact_public_service_pb2_grpc.py +++ b/artifact/artifact/v1alpha/artifact_public_service_pb2_grpc.py @@ -208,49 +208,49 @@ def DeleteCatalogFile(self, request, context): raise NotImplementedError('Method not implemented!') def ProcessCatalogFiles(self, request, context): - """process file + """Process catalog files """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def ListCatalogFiles(self, request, context): - """list files + """List catalog files """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def ListChunks(self, request, context): - """List chunks + """List catalog chunks """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def GetSourceFile(self, request, context): - """Get source file + """Get catalog single-source-of-truth file """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def UpdateChunk(self, request, context): - """Update chunk + """Update catalog chunk """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def SimilarityChunksSearch(self, request, context): - """Similarity chunks search + """Retrieve similar chunks """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def QuestionAnswering(self, request, context): - """Question Answering + """Ask a question """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') @@ -264,56 +264,56 @@ def GetFileCatalog(self, request, context): raise NotImplementedError('Method not implemented!') def CreateConversation(self, request, context): - """CreateConversation + """Create a Conversation """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def ListConversations(self, request, context): - """ListConversations + """List conversations """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def UpdateConversation(self, request, context): - """UpdateConversation + """Update a conversation """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def DeleteConversation(self, request, context): - """DeleteConversation + """Delete a conversation """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def CreateMessage(self, request, context): - """CreateMessage + """Create a message """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def ListMessages(self, request, context): - """ListMessages + """List messages """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def UpdateMessage(self, request, context): - """UpdateMessage + """Update a message """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def DeleteMessage(self, request, context): - """DeleteMessage + """Delete a message """ context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') diff --git a/artifact/artifact/v1alpha/artifact_public_service_pb2_grpc.pyi b/artifact/artifact/v1alpha/artifact_public_service_pb2_grpc.pyi index 102a0f3..952e826 100644 --- a/artifact/artifact/v1alpha/artifact_public_service_pb2_grpc.pyi +++ b/artifact/artifact/v1alpha/artifact_public_service_pb2_grpc.pyi @@ -77,37 +77,37 @@ class ArtifactPublicServiceStub: artifact.artifact.v1alpha.artifact_pb2.ProcessCatalogFilesRequest, artifact.artifact.v1alpha.artifact_pb2.ProcessCatalogFilesResponse, ] - """process file""" + """Process catalog files""" ListCatalogFiles: grpc.UnaryUnaryMultiCallable[ artifact.artifact.v1alpha.artifact_pb2.ListCatalogFilesRequest, artifact.artifact.v1alpha.artifact_pb2.ListCatalogFilesResponse, ] - """list files""" + """List catalog files""" ListChunks: grpc.UnaryUnaryMultiCallable[ artifact.artifact.v1alpha.chunk_pb2.ListChunksRequest, artifact.artifact.v1alpha.chunk_pb2.ListChunksResponse, ] - """List chunks""" + """List catalog chunks""" GetSourceFile: grpc.UnaryUnaryMultiCallable[ artifact.artifact.v1alpha.chunk_pb2.GetSourceFileRequest, artifact.artifact.v1alpha.chunk_pb2.GetSourceFileResponse, ] - """Get source file""" + """Get catalog single-source-of-truth file""" UpdateChunk: grpc.UnaryUnaryMultiCallable[ artifact.artifact.v1alpha.chunk_pb2.UpdateChunkRequest, artifact.artifact.v1alpha.chunk_pb2.UpdateChunkResponse, ] - """Update chunk""" + """Update catalog chunk""" SimilarityChunksSearch: grpc.UnaryUnaryMultiCallable[ artifact.artifact.v1alpha.chunk_pb2.SimilarityChunksSearchRequest, artifact.artifact.v1alpha.chunk_pb2.SimilarityChunksSearchResponse, ] - """Similarity chunks search""" + """Retrieve similar chunks""" QuestionAnswering: grpc.UnaryUnaryMultiCallable[ artifact.artifact.v1alpha.qa_pb2.QuestionAnsweringRequest, artifact.artifact.v1alpha.qa_pb2.QuestionAnsweringResponse, ] - """Question Answering""" + """Ask a question""" GetFileCatalog: grpc.UnaryUnaryMultiCallable[ artifact.artifact.v1alpha.file_catalog_pb2.GetFileCatalogRequest, artifact.artifact.v1alpha.file_catalog_pb2.GetFileCatalogResponse, @@ -117,42 +117,42 @@ class ArtifactPublicServiceStub: artifact.artifact.v1alpha.conversation_pb2.CreateConversationRequest, artifact.artifact.v1alpha.conversation_pb2.CreateConversationResponse, ] - """CreateConversation""" + """Create a Conversation""" ListConversations: grpc.UnaryUnaryMultiCallable[ artifact.artifact.v1alpha.conversation_pb2.ListConversationsRequest, artifact.artifact.v1alpha.conversation_pb2.ListConversationsResponse, ] - """ListConversations""" + """List conversations""" UpdateConversation: grpc.UnaryUnaryMultiCallable[ artifact.artifact.v1alpha.conversation_pb2.UpdateConversationRequest, artifact.artifact.v1alpha.conversation_pb2.UpdateConversationResponse, ] - """UpdateConversation""" + """Update a conversation""" DeleteConversation: grpc.UnaryUnaryMultiCallable[ artifact.artifact.v1alpha.conversation_pb2.DeleteConversationRequest, artifact.artifact.v1alpha.conversation_pb2.DeleteConversationResponse, ] - """DeleteConversation""" + """Delete a conversation""" CreateMessage: grpc.UnaryUnaryMultiCallable[ artifact.artifact.v1alpha.conversation_pb2.CreateMessageRequest, artifact.artifact.v1alpha.conversation_pb2.CreateMessageResponse, ] - """CreateMessage""" + """Create a message""" ListMessages: grpc.UnaryUnaryMultiCallable[ artifact.artifact.v1alpha.conversation_pb2.ListMessagesRequest, artifact.artifact.v1alpha.conversation_pb2.ListMessagesResponse, ] - """ListMessages""" + """List messages""" UpdateMessage: grpc.UnaryUnaryMultiCallable[ artifact.artifact.v1alpha.conversation_pb2.UpdateMessageRequest, artifact.artifact.v1alpha.conversation_pb2.UpdateMessageResponse, ] - """UpdateMessage""" + """Update a message""" DeleteMessage: grpc.UnaryUnaryMultiCallable[ artifact.artifact.v1alpha.conversation_pb2.DeleteMessageRequest, artifact.artifact.v1alpha.conversation_pb2.DeleteMessageResponse, ] - """DeleteMessage""" + """Delete a message""" class ArtifactPublicServiceAsyncStub: """ArtifactPublicService exposes the public endpoints that allow clients to @@ -209,37 +209,37 @@ class ArtifactPublicServiceAsyncStub: artifact.artifact.v1alpha.artifact_pb2.ProcessCatalogFilesRequest, artifact.artifact.v1alpha.artifact_pb2.ProcessCatalogFilesResponse, ] - """process file""" + """Process catalog files""" ListCatalogFiles: grpc.aio.UnaryUnaryMultiCallable[ artifact.artifact.v1alpha.artifact_pb2.ListCatalogFilesRequest, artifact.artifact.v1alpha.artifact_pb2.ListCatalogFilesResponse, ] - """list files""" + """List catalog files""" ListChunks: grpc.aio.UnaryUnaryMultiCallable[ artifact.artifact.v1alpha.chunk_pb2.ListChunksRequest, artifact.artifact.v1alpha.chunk_pb2.ListChunksResponse, ] - """List chunks""" + """List catalog chunks""" GetSourceFile: grpc.aio.UnaryUnaryMultiCallable[ artifact.artifact.v1alpha.chunk_pb2.GetSourceFileRequest, artifact.artifact.v1alpha.chunk_pb2.GetSourceFileResponse, ] - """Get source file""" + """Get catalog single-source-of-truth file""" UpdateChunk: grpc.aio.UnaryUnaryMultiCallable[ artifact.artifact.v1alpha.chunk_pb2.UpdateChunkRequest, artifact.artifact.v1alpha.chunk_pb2.UpdateChunkResponse, ] - """Update chunk""" + """Update catalog chunk""" SimilarityChunksSearch: grpc.aio.UnaryUnaryMultiCallable[ artifact.artifact.v1alpha.chunk_pb2.SimilarityChunksSearchRequest, artifact.artifact.v1alpha.chunk_pb2.SimilarityChunksSearchResponse, ] - """Similarity chunks search""" + """Retrieve similar chunks""" QuestionAnswering: grpc.aio.UnaryUnaryMultiCallable[ artifact.artifact.v1alpha.qa_pb2.QuestionAnsweringRequest, artifact.artifact.v1alpha.qa_pb2.QuestionAnsweringResponse, ] - """Question Answering""" + """Ask a question""" GetFileCatalog: grpc.aio.UnaryUnaryMultiCallable[ artifact.artifact.v1alpha.file_catalog_pb2.GetFileCatalogRequest, artifact.artifact.v1alpha.file_catalog_pb2.GetFileCatalogResponse, @@ -249,42 +249,42 @@ class ArtifactPublicServiceAsyncStub: artifact.artifact.v1alpha.conversation_pb2.CreateConversationRequest, artifact.artifact.v1alpha.conversation_pb2.CreateConversationResponse, ] - """CreateConversation""" + """Create a Conversation""" ListConversations: grpc.aio.UnaryUnaryMultiCallable[ artifact.artifact.v1alpha.conversation_pb2.ListConversationsRequest, artifact.artifact.v1alpha.conversation_pb2.ListConversationsResponse, ] - """ListConversations""" + """List conversations""" UpdateConversation: grpc.aio.UnaryUnaryMultiCallable[ artifact.artifact.v1alpha.conversation_pb2.UpdateConversationRequest, artifact.artifact.v1alpha.conversation_pb2.UpdateConversationResponse, ] - """UpdateConversation""" + """Update a conversation""" DeleteConversation: grpc.aio.UnaryUnaryMultiCallable[ artifact.artifact.v1alpha.conversation_pb2.DeleteConversationRequest, artifact.artifact.v1alpha.conversation_pb2.DeleteConversationResponse, ] - """DeleteConversation""" + """Delete a conversation""" CreateMessage: grpc.aio.UnaryUnaryMultiCallable[ artifact.artifact.v1alpha.conversation_pb2.CreateMessageRequest, artifact.artifact.v1alpha.conversation_pb2.CreateMessageResponse, ] - """CreateMessage""" + """Create a message""" ListMessages: grpc.aio.UnaryUnaryMultiCallable[ artifact.artifact.v1alpha.conversation_pb2.ListMessagesRequest, artifact.artifact.v1alpha.conversation_pb2.ListMessagesResponse, ] - """ListMessages""" + """List messages""" UpdateMessage: grpc.aio.UnaryUnaryMultiCallable[ artifact.artifact.v1alpha.conversation_pb2.UpdateMessageRequest, artifact.artifact.v1alpha.conversation_pb2.UpdateMessageResponse, ] - """UpdateMessage""" + """Update a message""" DeleteMessage: grpc.aio.UnaryUnaryMultiCallable[ artifact.artifact.v1alpha.conversation_pb2.DeleteMessageRequest, artifact.artifact.v1alpha.conversation_pb2.DeleteMessageResponse, ] - """DeleteMessage""" + """Delete a message""" class ArtifactPublicServiceServicer(metaclass=abc.ABCMeta): """ArtifactPublicService exposes the public endpoints that allow clients to @@ -359,49 +359,49 @@ class ArtifactPublicServiceServicer(metaclass=abc.ABCMeta): request: artifact.artifact.v1alpha.artifact_pb2.ProcessCatalogFilesRequest, context: _ServicerContext, ) -> typing.Union[artifact.artifact.v1alpha.artifact_pb2.ProcessCatalogFilesResponse, collections.abc.Awaitable[artifact.artifact.v1alpha.artifact_pb2.ProcessCatalogFilesResponse]]: - """process file""" + """Process catalog files""" @abc.abstractmethod def ListCatalogFiles( self, request: artifact.artifact.v1alpha.artifact_pb2.ListCatalogFilesRequest, context: _ServicerContext, ) -> typing.Union[artifact.artifact.v1alpha.artifact_pb2.ListCatalogFilesResponse, collections.abc.Awaitable[artifact.artifact.v1alpha.artifact_pb2.ListCatalogFilesResponse]]: - """list files""" + """List catalog files""" @abc.abstractmethod def ListChunks( self, request: artifact.artifact.v1alpha.chunk_pb2.ListChunksRequest, context: _ServicerContext, ) -> typing.Union[artifact.artifact.v1alpha.chunk_pb2.ListChunksResponse, collections.abc.Awaitable[artifact.artifact.v1alpha.chunk_pb2.ListChunksResponse]]: - """List chunks""" + """List catalog chunks""" @abc.abstractmethod def GetSourceFile( self, request: artifact.artifact.v1alpha.chunk_pb2.GetSourceFileRequest, context: _ServicerContext, ) -> typing.Union[artifact.artifact.v1alpha.chunk_pb2.GetSourceFileResponse, collections.abc.Awaitable[artifact.artifact.v1alpha.chunk_pb2.GetSourceFileResponse]]: - """Get source file""" + """Get catalog single-source-of-truth file""" @abc.abstractmethod def UpdateChunk( self, request: artifact.artifact.v1alpha.chunk_pb2.UpdateChunkRequest, context: _ServicerContext, ) -> typing.Union[artifact.artifact.v1alpha.chunk_pb2.UpdateChunkResponse, collections.abc.Awaitable[artifact.artifact.v1alpha.chunk_pb2.UpdateChunkResponse]]: - """Update chunk""" + """Update catalog chunk""" @abc.abstractmethod def SimilarityChunksSearch( self, request: artifact.artifact.v1alpha.chunk_pb2.SimilarityChunksSearchRequest, context: _ServicerContext, ) -> typing.Union[artifact.artifact.v1alpha.chunk_pb2.SimilarityChunksSearchResponse, collections.abc.Awaitable[artifact.artifact.v1alpha.chunk_pb2.SimilarityChunksSearchResponse]]: - """Similarity chunks search""" + """Retrieve similar chunks""" @abc.abstractmethod def QuestionAnswering( self, request: artifact.artifact.v1alpha.qa_pb2.QuestionAnsweringRequest, context: _ServicerContext, ) -> typing.Union[artifact.artifact.v1alpha.qa_pb2.QuestionAnsweringResponse, collections.abc.Awaitable[artifact.artifact.v1alpha.qa_pb2.QuestionAnsweringResponse]]: - """Question Answering""" + """Ask a question""" @abc.abstractmethod def GetFileCatalog( self, @@ -415,55 +415,55 @@ class ArtifactPublicServiceServicer(metaclass=abc.ABCMeta): request: artifact.artifact.v1alpha.conversation_pb2.CreateConversationRequest, context: _ServicerContext, ) -> typing.Union[artifact.artifact.v1alpha.conversation_pb2.CreateConversationResponse, collections.abc.Awaitable[artifact.artifact.v1alpha.conversation_pb2.CreateConversationResponse]]: - """CreateConversation""" + """Create a Conversation""" @abc.abstractmethod def ListConversations( self, request: artifact.artifact.v1alpha.conversation_pb2.ListConversationsRequest, context: _ServicerContext, ) -> typing.Union[artifact.artifact.v1alpha.conversation_pb2.ListConversationsResponse, collections.abc.Awaitable[artifact.artifact.v1alpha.conversation_pb2.ListConversationsResponse]]: - """ListConversations""" + """List conversations""" @abc.abstractmethod def UpdateConversation( self, request: artifact.artifact.v1alpha.conversation_pb2.UpdateConversationRequest, context: _ServicerContext, ) -> typing.Union[artifact.artifact.v1alpha.conversation_pb2.UpdateConversationResponse, collections.abc.Awaitable[artifact.artifact.v1alpha.conversation_pb2.UpdateConversationResponse]]: - """UpdateConversation""" + """Update a conversation""" @abc.abstractmethod def DeleteConversation( self, request: artifact.artifact.v1alpha.conversation_pb2.DeleteConversationRequest, context: _ServicerContext, ) -> typing.Union[artifact.artifact.v1alpha.conversation_pb2.DeleteConversationResponse, collections.abc.Awaitable[artifact.artifact.v1alpha.conversation_pb2.DeleteConversationResponse]]: - """DeleteConversation""" + """Delete a conversation""" @abc.abstractmethod def CreateMessage( self, request: artifact.artifact.v1alpha.conversation_pb2.CreateMessageRequest, context: _ServicerContext, ) -> typing.Union[artifact.artifact.v1alpha.conversation_pb2.CreateMessageResponse, collections.abc.Awaitable[artifact.artifact.v1alpha.conversation_pb2.CreateMessageResponse]]: - """CreateMessage""" + """Create a message""" @abc.abstractmethod def ListMessages( self, request: artifact.artifact.v1alpha.conversation_pb2.ListMessagesRequest, context: _ServicerContext, ) -> typing.Union[artifact.artifact.v1alpha.conversation_pb2.ListMessagesResponse, collections.abc.Awaitable[artifact.artifact.v1alpha.conversation_pb2.ListMessagesResponse]]: - """ListMessages""" + """List messages""" @abc.abstractmethod def UpdateMessage( self, request: artifact.artifact.v1alpha.conversation_pb2.UpdateMessageRequest, context: _ServicerContext, ) -> typing.Union[artifact.artifact.v1alpha.conversation_pb2.UpdateMessageResponse, collections.abc.Awaitable[artifact.artifact.v1alpha.conversation_pb2.UpdateMessageResponse]]: - """UpdateMessage""" + """Update a message""" @abc.abstractmethod def DeleteMessage( self, request: artifact.artifact.v1alpha.conversation_pb2.DeleteMessageRequest, context: _ServicerContext, ) -> typing.Union[artifact.artifact.v1alpha.conversation_pb2.DeleteMessageResponse, collections.abc.Awaitable[artifact.artifact.v1alpha.conversation_pb2.DeleteMessageResponse]]: - """DeleteMessage""" + """Delete a message""" def add_ArtifactPublicServiceServicer_to_server(servicer: ArtifactPublicServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...