Find answers from the community

Home
Members
pampkinparty000
p
pampkinparty000
Offline, last seen 3 months ago
Joined September 25, 2024
Does anyone have any suggestions on guides or where to find information on asking multiple questions? Lets say that i want to build a rag pipeline that on one input asks multiple different questions. How would I achieve this? The questions would likely always be the asme
4 comments
p
L
If I am using llama parse and I want to pass a pdf file through that I dont have locally? For example when I am retrieving a pdf via a python script how do I feed that through?

Something like this?

pdf_file = BytesIO(content)
reader = PdfReader(pdf_file)

The example

parser = LlamaParse(
api_key="llx-...", # can also be set in your env as LLAMA_CLOUD_API_KEY
result_type="markdown", # "markdown" and "text" are available
num_workers=4, # if multiple files passed, split in num_workers API calls
verbose=True,
language="en", # Optionally you can define a language, default=en
)

sync

documents = parser.load_data("./my_file.pdf")

Is for a local file
1 comment
L