How to generate only one answer in huggingfacepipeline?

78 views Asked by At

When I ask a question through the HuggingFace pipeline and langchain, I want only one answer, but it keeps generating multiple questions and answers automatically. Is there a solution?

This is pipeline code: enter image description here

This is langchain Base code: enter image description here

This is answering image: enter image description here

I try to change huggingface parameter

0

There are 0 answers