You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Some PDF pages are returning "I'm sorry, but I can't assist with that" as the only response for markdown when using is_formatting instructions = True. We've seen this with multiple PDF files, and can't figure out the pattern that causes this. I believe this is an openAI error response of some sort.
I would also expect this to be considered a failure, whereas right now no error is returned.
We only see it in markdown results when using some input for formatting instructions.
Additional context
I first noticed the issue during the openAI outage on Dec, 4 2024: https://status.openai.com/
I've reproduced this in the Python Library as well as in the web UI.
Python sample code
LLAMA_PARSE_INSTRUCTIONS= (
"This is a regulatory document. Do not remove, change, or add any language or text."
)
....
parser=LlamaParse(
api_key=LLAMA_CLOUD_API_KEY,
result_type=ResultType.MD,
verbose=True,
show_progress=True,
parsing_instruction=LLAMA_PARSE_INSTRUCTIONS,
is_formatting_instruction=True,
ignore_errors=False,
)
docs=awaitparser.aload_data(pdf_path)
text="\n\n".join([doc.get_text() fordocindocs])
returntext
Note that ignore_errors=False here and there were no errors raised for this issue.
The text was updated successfully, but these errors were encountered:
cholley6
changed the title
"I'm sorry, but I can't assist with that." markdown response when using is_formatting_instructions=True
"I'm sorry, but I can't assist with that." markdown response when using is_formatting_instructions=True for PDFs
Dec 6, 2024
I can't find a workaround for this using the python library. In the UI, if the formatting instructions are false, there's no issue. But in the python lib, even when is_formatting_instructions are False, the issue persists.
Describe the bug
Some PDF pages are returning "I'm sorry, but I can't assist with that" as the only response for markdown when using is_formatting instructions = True. We've seen this with multiple PDF files, and can't figure out the pattern that causes this. I believe this is an openAI error response of some sort.
I would also expect this to be considered a failure, whereas right now no error is returned.
We only see it in markdown results when using some input for formatting instructions.
Files
llama_bad_response.pdf
context from:
Noise Levels.pdf
Job ID
0aba7cc3-7ffd-4e68-bcd7-c1ba3f84eddd
Client:
Additional context
I first noticed the issue during the openAI outage on Dec, 4 2024: https://status.openai.com/
I've reproduced this in the Python Library as well as in the web UI.
Python sample code
Note that
ignore_errors=False
here and there were no errors raised for this issue.The text was updated successfully, but these errors were encountered: