memorize_pdf_file
Chunks a PDF file into meaningful segments and stores them in memory for semantic retrieval based on meaning, not keywords.
Instructions
Chunk the contents of a PDF file into meaningful segments and store them in memory for later retrieval based on relevance in meaning, not just keywords.
Args:
ctx (Context): The context of the request.
file_path (str): The path to the PDF file.
page (int, optional): The starting page number to read from the PDF file. Defaults to 0.
metadata (dict, optional): Metadata to associate with the memorized content.
Returns:
str: A message indicating success or failure of the operation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| metadata | No | ||
| file_path | Yes |