Open yindahu87 opened 7 months ago
File "C:\GithubProjects\scholarly-kgqa-main\main.py", line 62, in run_llm return response.json()[0]["choices"][0]["message"]["content"] KeyError: 'choices'
Hi, thanks for testing. This error is due to the missing key of the LLM. key = " " # key to access the LLM @ line 50 needs a value.
Hi,I don't know how to get the key.Can you tell me the way to get it?
File "C:\GithubProjects\scholarly-kgqa-main\main.py", line 62, in run_llm return response.json()[0]["choices"][0]["message"]["content"] KeyError: 'choices'