Skip to content

Commit

Permalink
Update comments in protos
Browse files Browse the repository at this point in the history
  • Loading branch information
at-white committed Nov 18, 2024
1 parent dd797b6 commit de989bb
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 24 deletions.
10 changes: 5 additions & 5 deletions protos/chunks.proto
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ message ChunkMetadata {
}

message SourceReference {
// Source system of the document e.g. confluence, slack, local_file_system
// Source system of the document e.g. confluence, sharepoint
string system = 1;
// Version of the source system e.g. 1.0.0
string system_version = 2;
// Connection id to the source system e.g. confluence space id, slack channel id, local file hostname
// Connection id to the source system e.g. confluence space id, sharepoint drive id
string connection_id = 3;
// Document id in the source system e.g. confluence page id, slack message id, local file path
// Document id in the source system e.g. confluence page id, sharepoint file id
string document_id = 4;
// Document version in the source system e.g. confluence page version, slack message version, local file version hash
// Document version in the source system e.g. confluence page version, sharepoint file hash
string document_version = 5;
// Document path in the source system e.g. "redactiveai.atlassian.net/Engineering/Onboarding Guide"
// or "redactiveai.sharepoint.com/Shared Documents/Engineering/Onboarding Guide.pdf"
Expand All @@ -34,7 +34,7 @@ message SourceReference {
message ChunkReference {
// Chunking version e.g. 1.0.0
string chunking_version = 1;
// chunk id is unique within the document, but not globally unique, it's actually the index of the chunk in the document
// chunk id is unique within the document, but not globally unique.
string chunk_id = 2;
// SHA256 hash of the chunk body
string chunk_hash = 3;
Expand Down
10 changes: 5 additions & 5 deletions sdks/node/src/grpc/chunks.ts

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

23 changes: 9 additions & 14 deletions sdks/python/src/redactive/grpc/v2/__init__.py

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

0 comments on commit de989bb

Please sign in to comment.