Enable updating the pinecone vector store namespace
This commit is contained in:
committed by
Christian Tzolov
parent
806f5c4b20
commit
41885a8e62
@@ -60,10 +60,19 @@ public class PineconeVectorStore implements VectorStore {
|
||||
|
||||
private final PineconeConnection pineconeConnection;
|
||||
|
||||
private final String pineconeNamespace;
|
||||
|
||||
private final ObjectMapper objectMapper;
|
||||
|
||||
private String pineconeNamespace;
|
||||
|
||||
/**
|
||||
* Change the Index Name.
|
||||
* @param pineconeNamespace The Azure VectorStore index name to use.
|
||||
*/
|
||||
public void setPineconeNamespace(String pineconeNamespace) {
|
||||
Assert.hasText(pineconeNamespace, "The Pinecone namespace can not be empty.");
|
||||
this.pineconeNamespace = pineconeNamespace;
|
||||
}
|
||||
|
||||
/**
|
||||
* Configuration class for the PineconeVectorStore.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user