Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.27 KB

File metadata and controls

33 lines (24 loc) · 1.27 KB

SearchTablesRequest

Semantic search over connector table summaries (agent table discovery).

Properties

Name Type Description Notes
query str Natural-language search query
top_k int Number of tables (1-50) [optional] [default to 10]
score_threshold float Minimum similarity score [optional] [default to 0.3]
data_source_id UUID Optional: restrict the search to one connector [optional]

Example

from ksapi.models.search_tables_request import SearchTablesRequest

# TODO update the JSON string below
json = "{}"
# create an instance of SearchTablesRequest from a JSON string
search_tables_request_instance = SearchTablesRequest.from_json(json)
# print the JSON string representation of the object
print(SearchTablesRequest.to_json())

# convert the object into a dict
search_tables_request_dict = search_tables_request_instance.to_dict()
# create an instance of SearchTablesRequest from a dict
search_tables_request_from_dict = SearchTablesRequest.from_dict(search_tables_request_dict)

[Back to Model list] [Back to API list] [Back to README]