Find answers from the community

Updated 2 years ago

Logan M Didn t really get this before

At a glance
@Logan M Didn't really get this before, but I'm using a RouterQueryEngine with a bunch of tools, and an LLMSingleSelector - just today, I'm getting json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0). Didn't really get this until today, everything worked fine. I'm using ChatOpenAI, Azure deployments at the workplace
p
V
L
4 comments
I think that's because your input text is too big?
It could be as @pikachu8887867 said, but it can also be issues with the LLM writing json -- I would recommend the pydantic selector if using azure/openai (gpt-3.5 or gpt-4). More reliable since it uses the function calling api
Add a reply
Sign up and join the conversation on Discord