主题
Pinecone
Maven 依赖
xml
<dependency>
<groupId>dev.langchain4j</groupId>
<artifactId>langchain4j-pinecone</artifactId>
<version>1.22.0-beta32</version>
</dependency>1
2
3
4
5
2
3
4
5
已知问题
- https://github.com/langchain4j/langchain4j/issues/1948 Pinecone 将所有数字存储为浮点值, 这意味着存储在
Metadata中的Integer和Long值(例如 1746714878034235396) 可能被损坏并以错误的数字返回! 可能的变通办法:在存入Metadata之前,将整数/双精度值转换为String。 请注意,这样做时元数据过滤可能无法正常工作!
API
PineconeEmbeddingStore