Update Docs (#3520)

This commit is contained in:
Deshraj Yadav
2025-09-30 08:41:36 -07:00
committed by GitHub
parent 135883935f
commit d68ed11d58
134 changed files with 2193 additions and 2090 deletions
+17 -14
View File
@@ -4,11 +4,11 @@ icon: "thumbs-up"
iconType: "solid"
---
Mem0's **Feedback Mechanism** allows you to provide feedback on the memories generated by your application. This feedback is used to improve the accuracy of the memories and the search results.
Mem0's Feedback Mechanism allows you to provide feedback on the memories generated by your application. This feedback is used to improve the accuracy of the memories and search results.
## How it works
The feedback mechanism is a simple API that allows you to provide feedback on the memories generated by your application. The feedback is stored in the database and is used to improve the accuracy of the memories and the search results. Over time, Mem0 continuously learns from this feedback, refining its memory generation and search capabilities for better performance.
The feedback mechanism is a simple API that allows you to provide feedback on the memories generated by your application. The feedback is stored in the database and used to improve the accuracy of the memories and search results. Over time, Mem0 continuously learns from this feedback, refining its memory generation and search capabilities for better performance.
## Give Feedback
@@ -118,27 +118,30 @@ for (const item of feedbackData) {
## Best Practices
### When to Provide Feedback
- **Immediately after memory retrieval** when you can assess relevance
- **During user interactions** when users explicitly indicate satisfaction/dissatisfaction
- **Through automated evaluation** using your application's success metrics
- Immediately after memory retrieval when you can assess relevance
- During user interactions when users explicitly indicate satisfaction or dissatisfaction
- Through automated evaluation using your application's success metrics
### Effective Feedback Reasons
Provide specific, actionable feedback reasons:
✅ **Good examples:**
**Good examples:**
- "Contains outdated contact information"
- "Accurately captured the user's dietary restrictions"
- "Irrelevant to the current conversation context"
❌ **Avoid vague reasons:**
**Avoid vague reasons:**
- "Bad memory"
- "Wrong"
- "Not good"
### Feedback Strategy
1. **Be consistent** - Apply the same criteria across similar memories
2. **Be specific** - Detailed reasons help improve the system faster
3. **Monitor patterns** - Regular feedback analysis helps identify improvement areas
1. Be consistent: Apply the same criteria across similar memories
2. Be specific: Detailed reasons help improve the system faster
3. Monitor patterns: Regular feedback analysis helps identify improvement areas
## Error Handling
@@ -194,8 +197,8 @@ try {
Track the impact of your feedback by monitoring memory performance over time. Consider implementing:
- **Feedback completion rates** - What percentage of memories receive feedback
- **Feedback distribution** - Balance of positive vs. negative feedback
- **Memory quality trends** - How accuracy improves with feedback volume
- **User satisfaction metrics** - Correlation between feedback and user experience
- Feedback completion rates: What percentage of memories receive feedback
- Feedback distribution: Balance of positive vs. negative feedback
- Memory quality trends: How accuracy improves with feedback volume
- User satisfaction metrics: Correlation between feedback and user experience