A query request.
| Name | Type | Description | Notes |
|---|---|---|---|
| fields | List[str] | List of extra fields to be retrieved. | [optional] |
| filters | List[Filter] | A list of prefilters. | [optional] |
| query_embedding | List[float] | The list of embeddings, not required if `query_string` is provided. | [optional] |
| query_string | str | The query string, not required if the `query_embeddings` are provided. Please note that the `query_string` is ignored if the `query_embeddings` are provided. | [optional] |
| query_uri | str | Perform a Vector Search based on similarities with an entity with the specified URI. | [optional] |
| query_url | str | Perform a Vector Search based on similarities with an entity with the specified URL (schema:url). | [optional] |
| similarity_top_k | int | The similarity top K. | [optional] [default to 2] |
from wordlift_client.models.vector_search_query_request import VectorSearchQueryRequest
# TODO update the JSON string below
json = "{}"
# create an instance of VectorSearchQueryRequest from a JSON string
vector_search_query_request_instance = VectorSearchQueryRequest.from_json(json)
# print the JSON string representation of the object
print(VectorSearchQueryRequest.to_json())
# convert the object into a dict
vector_search_query_request_dict = vector_search_query_request_instance.to_dict()
# create an instance of VectorSearchQueryRequest from a dict
vector_search_query_request_from_dict = VectorSearchQueryRequest.from_dict(vector_search_query_request_dict)