Closed ForrestPi closed 12 months ago
MemoryBank-SiliconFriend/SiliconFriend-ChatGLM-BELLE/../utils/prompt_utils.py", line 127, in build_prompt_with_search_memory_chatglm_app query = dialog['query'] TypeError: list indices must be integers or slices, not str
I have the same error...
If you change it to
query = dialog[0] response = dialog[1]
It should work!
MemoryBank-SiliconFriend/SiliconFriend-ChatGLM-BELLE/../utils/prompt_utils.py", line 127, in build_prompt_with_search_memory_chatglm_app query = dialog['query'] TypeError: list indices must be integers or slices, not str