query_table
Retrieve the top k results from a LanceDB table using a query string and selectable query type.
Instructions
Query a LanceDB table with a query string and return the top k results.
Args:
query (str): The query string.
top_k (int): The number of results to return. Defaults to 5.
query_type (str): The type of query to perform. Defaults to "vector".
Returns:
List[Schema]: A list of Schema objects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| top_k | No | ||
| query_type | No | vector |