🗃️ All relevant documents from the database are stuffed into the prompt
🥳 This week, we published a demo on combining @LangChainAI and #Weaviate
📚 https://t.co/sWAGGbvUIN
📹 Or watch @ecardenas300's demo: https://t.co/GVRcPhwyQU
🧵 Check out the 4 CombineDocument techniques implemented in #LangChain that solve the limited input token lengths👇
🗃️ All relevant documents from the database are stuffed into the prompt
✨ Another prompt is created to combine all of the initial outputs into one
🧠 It then uses its local memory with the summaries generated so far to influence the next output
🔄 This is repeated until all documents have been processed
💯 The language model then assigns a score based on the certainty of the answer and ranks them
💬 The top two documents are stuffed into the model to generate a single response
More from All
The best morning routine?
Starts the night before.
9 evening habits that make all the difference:
1. Write down tomorrow's 3:3:3 plan
• 3 hours on your most important project
• 3 shorter tasks
• 3 maintenance activities
Defining a "productive day" is crucial.
Or else you'll never be at peace (even with excellent output).
Learn more
2. End the workday with a shutdown ritual
Create a short shutdown ritual (hat-tip to Cal Newport). Close your laptop, plug in the charger, spend 2 minutes tidying your desk. Then say, "shutdown."
Separating your life and work is key.
3. Journal 1 beautiful life moment
Delicious tacos, presentation you crushed, a moment of inner peace. Write it down.
Gratitude programs a mindset of abundance.
4. Lay out clothes
Get exercise clothes ready for tomorrow. Upon waking up, jump rope for 2 mins. It will activate your mind + body.
Starts the night before.
9 evening habits that make all the difference:
1. Write down tomorrow's 3:3:3 plan
• 3 hours on your most important project
• 3 shorter tasks
• 3 maintenance activities
Defining a "productive day" is crucial.
Or else you'll never be at peace (even with excellent output).
Learn more
How to be 5x more productive.
— Ben Meer (@SystemSunday) August 1, 2022
A best-selling author\u2019s 3-3-3 Method:
2. End the workday with a shutdown ritual
Create a short shutdown ritual (hat-tip to Cal Newport). Close your laptop, plug in the charger, spend 2 minutes tidying your desk. Then say, "shutdown."
Separating your life and work is key.
3. Journal 1 beautiful life moment
Delicious tacos, presentation you crushed, a moment of inner peace. Write it down.
Gratitude programs a mindset of abundance.
4. Lay out clothes
Get exercise clothes ready for tomorrow. Upon waking up, jump rope for 2 mins. It will activate your mind + body.