Find answers from the community

Updated 10 months ago

I am getting a "No valid JSON found in output" ValueError in subquestionoutputparser.parse

@kapa.ai I am getting a "No valid JSON found in output" ValueError in subquestionoutputparser.parse(self, output). What might be the reason?
k
2 comments
Please stand by @balanp as I search the knowledge base. I normally take about 20 seconds or so. :wave:
----------------------
Hmm, I don't know enough to give you a confident answer yet. The extracts provided do not contain specific information about the subquestionoutputparser.parse(self, output) method or the error "No valid JSON found in output".

However, generally, this error might occur if the output you're trying to parse does not contain a valid JSON structure. You might want to check the format of your output and ensure it's a valid JSON.

For more specific guidance, you might want to refer to the LlamaIndex documentation or the source code where this method is defined.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
Add a reply
Sign up and join the conversation on Discord