Generate Query

Generate a SQL query from a natural language question Args: tableID (str, optional): description. Defaults to Form(...). user_question (str, optional): user question. Defaults to Form(...). access_token (str, optional): Access Token. Defaults to Depends(FeatureValidator(['tables'])).

Raises: VSError: Error raised if the query fails

Returns: dict: Query result

post/tables/generate_query

Request

  • Base URL: https://api.vectorshift.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.vectorshift.ai/tables/generate_query
  • Auth: HTTP bearer

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.