Skip to content

Commit

Permalink
added some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ericapywang committed Jun 10, 2024
1 parent 1bc27f1 commit 91c885c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pinecone_sdk/src/pinecone.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ impl Pinecone {
})
}

// constructs a PineconeBuilder instance
pub fn builder() -> PineconeBuilder {
PineconeBuilder::new()
}
Expand Down Expand Up @@ -122,6 +123,7 @@ impl PineconeBuilder {
self
}

// Constructs Pinecone instance from PineconeBuilder fields
pub fn build(self) -> Result<Pinecone, PineconeError> {
Pinecone::new(
self.api_key,
Expand Down

0 comments on commit 91c885c

Please sign in to comment.