Skip to main content

Pinecone

https://www.pinecone.io/

Maven Dependency

<dependency>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-pinecone</artifactId>
<version>0.36.2</version>
</dependency>

Known Issues

  • https://github.com/langchain4j/langchain4j/issues/1948 Pinecone stores all numbers as floating-point values, which means Integer and Long values (e.g., 1746714878034235396) stored in Metadata may be corrupted and returned as incorrect numbers! Possible workaround: convert integer/double values to String before storing them in Metadata. Please note that in this case metadata filtering might not work properly!

APIs

  • PineconeEmbeddingStore

Examples