Query

Query

Certified

Query a Pinecone index by vector similarity

yaml
type: io.kestra.plugin.pinecone.Query
yaml
id: pinecone_query
namespace: company.team

tasks:
  - id: query
    type: io.kestra.plugin.pinecone.Query
    apiKey: "{{ secret('PINECONE_API_KEY') }}"
    indexName: my-embeddings
    namespace: my-namespace
    topK: 5
    vector: [0.1, 0.2, 0.3]
    includeMetadata: true
    fetchType: FETCH

yaml
id: pinecone_query_store
namespace: company.team

tasks:
  - id: query
    type: io.kestra.plugin.pinecone.Query
    apiKey: "{{ secret('PINECONE_API_KEY') }}"
    indexName: my-embeddings
    topK: 100
    vector: [0.1, 0.2, 0.3]
    fetchType: STORE
Properties
DefaultFETCH
Possible Values
FETCHFETCH_ONESTORE
Defaultfalse
Defaultfalse
Defaulttrue
SubTypenumber
SubTypeobject
Formaturi