(rag.query)
- query - Query using RAG Search
Query across your connected data sources using RAG Search
from panora_sdk import Panora
s = Panora(
api_key="<YOUR_API_KEY_HERE>",
)
res = s.rag.query.query(x_connection_token="<value>", query_body={
"query": "When does Panora incorporated?",
"top_k": 3,
})
if res is not None:
# handle response
pass
Parameter | Type | Required | Description |
---|---|---|---|
x_connection_token |
str | ✔️ | The connection token |
query_body |
models.QueryBody | ✔️ | N/A |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
Error Object | Status Code | Content Type |
---|---|---|
models.SDKError | 4xx-5xx | / |