This is an intuitive async full-fledged Scala client for Pinecone API supporting all the available index, vector, collection, inference and assistant operations/endpoints, provided in two convenient services called PineconeVectorService and PineconeIndexService. The supported calls are:
- Vector Operations: describeIndexStats, query, delete, fetch, update, and upsert
- Collection Operations: listCollections, createCollection, describeCollection, and deleteCollection
- Index Operations: listIndexes, creatIndex, describeIndex, deleteIndex, and configureIndex
- Inference Operations: embedData, and rerank
- Assistant Operations: listAssistants, createAssistant, describeAssistant, deleteAssistant, listFiles, uploadFile, describeFile, deleteFile, chatWithAssistant
- these operations are provided by two services:
PineconeAssistantService
andPineconeAssistantFileService
- these operations are provided by two services:
Note that in order to be consistent with the Pinecone API naming, the service function names match exactly the API endpoint titles/descriptions with camelcase. Also, we aimed the lib to be self-contained with the fewest dependencies possible therefore we ended up using only two libs play-ahc-ws-standalone
and play-ws-standalone-json
(at the top level).
✔️ Important: this is a "community-maintained" library and, as such, has no relation to Pinecone company.
👉 Check out an article about the lib/client on Medium. Also, if you want to see hands-on examples right away, go to the Pinecone Examples or OpenAI + Pinecone Examples modules.
See full documentation on GITHUB
https://github.com/cequence-io/pinecone-scala