Determine the appropriate type of visualization for a natural language query
post/assistedSearches/visualizationType
Determines the most appropriate way to visualize the results for a given natural language query. The response can be included in the request to /assistedSearches.
1{2 "types": [3 "report",4 "person",5 "vehicle",6 "address"7 ],8 "query": "Show me all vehicles reported stolen in the last month",9 "visualizationType": "summary"10}The request to /assistedSearches/VisualizationType when determining the appropriate type of visualization for a natural language query.
| Name | Type | Required | Description |
|---|---|---|---|
version | integer | false | The representation version (1). |
types | array [string] | false | The optional list of type names for the object types to be searched. If missing, all types are searched. |
query | string | false | The natural language query that Generative AI will use to determine the visualization type. |
| Status | Meaning | Description | ||
|---|---|---|---|---|
| 200 | OK | The request succeeded. | Schema | |
| 400 | Bad Request | The request is malformed or contains invalid parameter values. | Schema |