retrieve_file
retrieve_file: Search and Retrieve Files
retrieve_file: Search and Retrieve FilesSearches for files matching query criteria and returns the results.
def retrieve_file(
agent_name: str,
query_text: str,
n: int,
keywords: List[str] = None,
base_url: str = aios_kernel_url
) -> StorageResponseParameters:
agent_name: Identifier for the agent making the requestquery_text: Text to search for in filesn: Maximum number of results to returnkeywords: Optional list of specific keywords to matchbase_url: API endpoint URL
Returns:
StorageResponseobject containing matched files
Example:
Last updated