ai-for-java / ai4j

Apache License 2.0
26 stars 3 forks source link

No PineconeDatabase.builder() #31

Open maornissan opened 1 year ago

maornissan commented 1 year ago

Hi, tried to clone the project but i can find an import for PineconeDatabase. Any suggestions?

ai-for-java commented 1 year ago

Hi, for pinecone you need to add separate dependency, since it is too havy to include in the main library jar. We have migrated to another repository and renamed into langchain4j. Please take a look at https://github.com/langchain4j/langchain4j-examples/blob/main/src/main/java/ChatWithDocumentsExamples.java and https://github.com/langchain4j/langchain4j-examples/blob/main/pom.xml btw there you will also find info on the in-memory embedding store, if you are interested. Soon there will be a feature to also persist it as a file into whatever place you want.