-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ENH] Add rust protobufs and conversion. Add build.rs, protobufs, and conversions #1513
Conversation
Reviewer ChecklistPlease leverage this checklist to ensure your code review is thorough before approving Testing, Bugs, Errors, Logs, Documentation
System Compatibility
Quality
|
@@ -84,6 +84,9 @@ impl RootConfig { | |||
/// ## Description of parameters | |||
/// - my_ip: The IP address of the worker service. Used for memberlist assignment. Must be provided | |||
/// - num_indexing_threads: The number of indexing threads to use. If not provided, defaults to the number of cores on the machine. | |||
/// - pulsar_tenant: The pulsar tenant to use. Must be provided. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clean up
mod types; | ||
|
||
mod chroma_proto { | ||
tonic::include_proto!("chroma"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This links the built proto
#[error("Invalid UUID")] | ||
InvalidUuid, | ||
#[error(transparent)] | ||
MetadataValueConversionError(#[from] MetadataValueConversionError), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Example of wrapping an error
51cf2ad
to
c12425e
Compare
d7327b3
to
1dd5d74
Compare
1dd5d74
to
9c7dfab
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Just a couple questions
9c7dfab
to
0de2a33
Compare
0de2a33
to
1823c17
Compare
Description of changes
Summarize the changes made by this PR.
Test plan
How are these changes tested?
cargo test
Documentation Changes
None required.