mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-23 21:04:29 +00:00
Add pdf support to file_search for Responses API
This adds basic PDF support (using our existing `parse_pdf` function) to the file_search tool and corresponding Vector Files API. When a PDF file is uploaded and attached to a vector store, we parse the pdf and then chunk its content as normal. This is not the best solution long-term, but it does match what we've been doing so far for PDF files in the memory tool. Signed-off-by: Ben Browning <bbrownin@redhat.com>
This commit is contained in:
parent
57eccf023d
commit
055885bd5a
4 changed files with 41 additions and 33 deletions
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue