The example which you choose is a pretty small paragraph, my problem is I have a bigger article which I have to break into paragraphs based on the context of the text.
Anyways let me explain to you with your given example
Input
On Saturday night, I had a car accident and was severely hurt. I was rushed to Accident and Emergency where I was treated for many injuries including several broken bones. The doctors and nurses who treated were fantastic, their care was amazing. I would like to thank all staff at the Hospital for their wonderful care.
Expected Output a list of two paragraphs
“The first paragraph talks about Accident and has a negative sentiment combined of 2 sentences.”
On Saturday night, I had a car accident and was severely hurt. I was rushed to Accident and Emergency where I was treated for many injuries including several broken bones.
“Second Paragraph talks about treatment and has a positive sentiment combined of 2 sentences.”
The doctors and nurses who treated were fantastic, their care was amazing. I would like to thank all staff at the Hospital for their wonderful care.
The sentence in the above quotes is my explanation for the output
So basically How am I suppose to club sentences based on context to form a paragraph on which I can run my sentiment analysis model and say This paragraph shows this particular sentiment.
We have tried using prompts and multiple LLM’s
Hassan Askari is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.