Open LeonMing30 opened 4 months ago
Hey! I am not able to reproduce the above bug. Can you print out the text before RA.add_documents()
and also print out RA.tree_builder.summarization_model
to make sure that these models are set correctly.
@LeonMing30 Hi, I encountered the same issue as you before I realized that there's a mistake on my side. I used a custom summarization model whose output is not a simple string but a dictionary containing both the output string and some other metadata. Therefore, I also suggest you try calling the summarize()
method of the model you are using and check if the return value is actually the chat output of the LLM.
I encountered the same problem
I tried to run demo code for testing, but there is the error.
How can I fix it?