PineconeVectorStore
//ellmental/com.theagilemonkeys.ellmental.vectorstore.pinecone/PineconeVectorStore
PineconeVectorStore
class PineconeVectorStore@JvmOverloadsconstructor(apiKey: String, url: String, namespace: String? = null, client: HttpHandler = OkHttp()) : VectorStore
Pinecone Vector Store
Implementation of the VectorStore interface that uses the Pinecone API.
Parameters
jvm
apiKey | The API key to use to authenticate with the Pinecone API. |
url | The URL of the Pinecone API. |
Constructors
PineconeVectorStore | [jvm] @JvmOverloads constructor(apiKey: String, url: String, namespace: String? = null, client: HttpHandler = OkHttp()) |
Functions
Name | Summary |
---|---|
query | [jvm] open suspend override fun query(semanticEntry: SemanticEntry, itemsLimit: Int): QueryOutput Queries the store for semantic entries. Uses a topK value of 10. |
upsert | [jvm] open suspend override fun upsert(semanticEntry: SemanticEntry) Upserts a semantic entry into the store. |