Main
lifespan(app) async ¶
process_query_async(request, query_in) async ¶
Asynchronous endpoint to start processing the given query. The processing runs in the background and the result is eventually returned.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request | `Request` | FastAPI request object containing the query to be processed. | required |
query_in | `QueryIn` | validated query by the user. | required |
Returns:
| Type | Description |
|---|---|
BaseAgentResponse | DataAgentResponse |
|