Skip to content

Conversation

@sobychacko
Copy link
Contributor

  • Rename all specific builder inner classes (PineconeBuilder, MongoDBBuilder, etc.) to simply Builder for consistency across vector store implementations
  • Update code references to use the new standardized Builder class names

The change establishes a consistent naming convention for builder classes across the vector store implementations, improving code uniformity.

- Rename all specific builder inner classes (PineconeBuilder, MongoDBBuilder, etc.)
  to simply Builder for consistency across vector store implementations
- Update code references to use the new standardized Builder class names

The change establishes a consistent naming convention for builder classes
across the vector store implementations, improving code uniformity.
@sobychacko sobychacko added this to the 1.0.0-M5 milestone Dec 20, 2024
Update documentation examples to show correct builder usage across all vector store implementations.
Demonstrate passing required parameters directly in builder() method.
return CassandraVectorStore.builder()
.session(session)
.embeddingModel(embeddingModel)
return CassandraVectorStore.builder(embeddingModel)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isn't CqlSession a required parameter that should be in the builder signature?

@markpollack
Copy link
Member

merged in d697e58

Will can circle back on the signature for CassandraVectorStore's builder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants