Query Fanout
Generate
Generates query fanout for an input query.
POST
Authorizations
Body
application/json
The query to generate fanouts for
Example:
"Name the four largest fish and what they eat."
The list of few-shot examples for the fanout generation. Only needed if the default fanouts are not working well.
An input query and its associated fanout queries
Example:
[
{
"fanout_queries": [
"Genus of the cheetah",
"Genus of the pronghorn",
"Genus of the springbok",
"Genus of the wildebeest",
"Genus of the lion"
],
"query": "What are the genera of the five fastest land animals?"
}
]
The number of fanout queries to generate
Example:
5
Response
200
application/json
Successful Response
The response is of type string[]
.