Executes the automatic vector retriever process using vector
storage.Parameters:
query (str): Query string for information retriever.
contents (Union[str, List[str], Element, List[Element]]): Local file paths, remote URLs, string contents or Element objects.
top_k (int, optional): The number of top results to return during retrieve. Must be a positive integer. Defaults to DEFAULT_TOP_K_RESULTS.
similarity_threshold (float, optional): The similarity threshold for filtering results. Defaults to DEFAULT_SIMILARITY_THRESHOLD.
return_detailed_info (bool, optional): Whether to return detailed information including similarity score, content path and metadata. Defaults to False.
max_characters (int): Max number of characters in each chunk. Defaults to 500.
Returns:dict[str, Sequence[Collection[str]]]: By default, returns
only the text information. If return_detailed_info is
True, return detailed information including similarity
score, content path and metadata.