Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 993 Bytes

File metadata and controls

32 lines (23 loc) · 993 Bytes

QueryRequest

Properties

Name Type Description Notes
text str
top_k int [optional] [default to 5]
types List[str] [optional]
filter Dict[str, object] [optional]

Example

from aerostack.models.query_request import QueryRequest

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

# convert the object into a dict
query_request_dict = query_request_instance.to_dict()
# create an instance of QueryRequest from a dict
query_request_form_dict = query_request.from_dict(query_request_dict)

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