yas-sim/openvino-llm-chatbot-rag

JSONDecodeError: Expecting value: line 1 column 1 (char 0)

sankhujwal opened this issue · 0 comments

Facing below issue while running OpenVINO Q&A chatbot

JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Traceback:
File "C:\ProgramData\miniconda3\envs\RAG\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 600, in run_script
exec(code, module.dict)
File "C:\Users\Administrator\Desktop\RAG\openvino-llm-chatbot-rag\openvino-rag-client.py", line 34, in
ans = json.loads(ans.text)
File "C:\ProgramData\miniconda3\envs\RAG\lib\json_init
.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\ProgramData\miniconda3\envs\RAG\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\ProgramData\miniconda3\envs\RAG\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None

Could you please help me to resolve this issue?