Query
yaml
type: "io.kestra.plugin.weaviate.query"
Examples
yaml
id: weaviate_query
namespace: company.team
tasks:
- id: query
type: io.kestra.plugin.weaviate.Query
url: https://demo-cluster-id.weaviate.network
apiKey: "{{ secret('WEAVIATE_API_KEY') }}"
query: |
{
Get {
Question(limit: 5) {
question
answer
category
}
}
}
yaml
id: weaviate_generative_search
namespace: company.team
tasks:
- id: query
type: io.kestra.plugin.weaviate.Query
url: https://demo-cluster-id.weaviate.network
apiKey: "{{ secret('WEAVIATE_API_KEY') }}"
headers:
X-OpenAI-Api-Key: "{{ secret('OPENAI_API_KEY') }}"
query: |
{
Get {
Question(limit: 5, nearText: {concepts: ["biology"]}) {
question
answer
category
}
}
}
Properties
query *Requiredstring
Min length
1
url *Requiredstring
Min length
1
apiKey string
fetchType string
Default
STORE
Possible Values
STORE
FETCH
FETCH_ONE
NONE
headers object
SubType string
Outputs
row object
rows array
size integer
uri string
Format
uri