Skip to main content

Long context prompting for Claude 2.1

· 1 min read

Long context prompting for Claude 2.1

Using prompt engineering to solve the 'lost in the middle' problem.

Anthropic was able to solve the "lost in the middle" problem "by adding the sentence “Here is the most relevant sentence in the context:” to the start of Claude’s response. This was enough to raise Claude 2.1’s score from 27% to 98% on the original evaluation."

Does it just take a little bit of prompt engineering to solve low accuracy when needing to retrieve from the middle of a context window??

🔗 Article Link

Ready to start building?​

Check out the Quickstart tutorial, or sign up for a free Weaviate Cloud account.

Tags

Share

Don't want to miss another blog post?

Sign up for our bi-weekly newsletter to stay updated!

Follow us