Skip to content

Commit

Permalink
chore: auto-gen by protobufs
Browse files Browse the repository at this point in the history
triggered by commit: instill-ai/protobufs@491c6e8
  • Loading branch information
droplet-bot committed Oct 1, 2024
1 parent f8e1f24 commit 64439fa
Showing 2 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions artifact/artifact/v1alpha/chunk_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 9 additions & 3 deletions artifact/artifact/v1alpha/chunk_pb2.pyi
Original file line number Diff line number Diff line change
@@ -82,7 +82,7 @@ class ListChunksRequest(google.protobuf.message.Message):
"""unique identifier of the file"""
@property
def chunk_uids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
"""repeated chunk uid"""
"""repeated chunk uid(not implemented yet)"""
def __init__(
self,
*,
@@ -294,22 +294,28 @@ class SimilarityChunk(google.protobuf.message.Message):
SIMILARITY_SCORE_FIELD_NUMBER: builtins.int
TEXT_CONTENT_FIELD_NUMBER: builtins.int
SOURCE_FILE_FIELD_NUMBER: builtins.int
CHUNK_METADATA_FIELD_NUMBER: builtins.int
chunk_uid: builtins.str
"""chunk uid"""
similarity_score: builtins.float
"""similarity score"""
text_content: builtins.str
"""content"""
source_file: builtins.str
"""source file"""
"""source file's name"""
@property
def chunk_metadata(self) -> global___Chunk:
"""chunk"""
def __init__(
self,
*,
chunk_uid: builtins.str = ...,
similarity_score: builtins.float = ...,
text_content: builtins.str = ...,
source_file: builtins.str = ...,
chunk_metadata: global___Chunk | None = ...,
) -> None: ...
def ClearField(self, field_name: typing_extensions.Literal["chunk_uid", b"chunk_uid", "similarity_score", b"similarity_score", "source_file", b"source_file", "text_content", b"text_content"]) -> None: ...
def HasField(self, field_name: typing_extensions.Literal["chunk_metadata", b"chunk_metadata"]) -> builtins.bool: ...
def ClearField(self, field_name: typing_extensions.Literal["chunk_metadata", b"chunk_metadata", "chunk_uid", b"chunk_uid", "similarity_score", b"similarity_score", "source_file", b"source_file", "text_content", b"text_content"]) -> None: ...

global___SimilarityChunk = SimilarityChunk

0 comments on commit 64439fa

Please sign in to comment.