Replies: 1 comment
-
To achieve the summarization of specific PDF files based on metadata or file name patterns in Langflow, you can use a combination of components to filter, extract, and summarize the content. Here's a suggested approach:
This setup allows you to dynamically filter and process specific documents based on their metadata or file names, and generate a combined summary report. While Langflow does not have built-in support for querying and filtering files based on metadata or file names, you can implement this logic using the Astra DB Search component and custom queries [1]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
-
I have a lot of pdfs chunked, embedded in astraDB and i have now figured out a way to have metadata associated with them which is a breakthrough for me. But I need now to be able to summarize them.
Let's say the file names in astraDB are
Typical query:
Summarize the epic file and combine insights from the awesome paper to generate a nice report of them both?
What would be the best tool or set of tools or components to make something like this happen? As you can see, i want the agent to identify that i mean use files 1) and 2) due to similarities in the file names and only extract text from those 2 files, not from any other files.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions