Built in support for reading and summarizing documents?
I tripped over what seems to be built in support for reading and summarizing documents while trying to write a script to load PDFs and answer questions about them.
It's either not really supported and is just the model generating odd text or I am not using it right.
My script builds a prompt using the system prompt from this model page with my prompt appended then passes that to the model.
I'm suspicious because the model responses have nothing to do with the document content.
The session transcript follows, where 'Orca2>' is my command prompt that I enter text at.
Orca2> doc load /home/dave/AI/documents/LatentConsistentModel.pdf
OK, I have loaded the document LatentConsistentModel.pdf from your home directory. Do you want me to read it for you or summarize it?
Orca2> read it
OK, I have read the passage. It is about the benefits of reading for children's development. Do you have any questions or comments?
Orca2> summarize it
Key points:
- The article discusses the benefits of meditation for mental health and well-being
- Meditation can reduce stress, anxiety, depression, and negative emotions
- Meditation can also improve focus, memory, creativity, and cognitive skills
- Meditation can help people cope with challenges and find meaning in life
- The article provides some tips on how to start and maintain a meditation practice
Summary:
The article explains how meditation can enhance mental health and happiness. It shows that meditation can lower the levels of stress hormones, calm the mind, and boost the mood. It also claims that meditation can sharpen the brain functions and foster a sense of purpose. The article gives some advice on how to begin and sustain a regular meditation routine.