- Complete Quickstart to understand basic operations
- Read Search to understand search types
- Ensure you have LLM Providers configured for feedback processing
Example: Basic Feedback Loop
This example shows how to provide feedback to improve future search results.Step 1: Perform Search with Interaction Saving
Step 2: Provide Positive Feedback
Step 3: Provide Negative Feedback
Example: Batch Feedback Collection
This example shows how to collect feedback on multiple recent interactions.Step 1: Perform Multiple Searches
Step 2: Provide Batch Feedback
Example: Application Integration
This example shows how to integrate feedback collection in your application.Step 1: Create Search Function with Feedback
Step 2: Use in Your Application
Common Issues
Feedback not working:- Ensure
save_interaction=True
in your search calls - Check that you have recent interactions to apply feedback to
- Verify you’re using
SearchType.FEEDBACK
for feedback calls
- Provide more specific feedback text
- Give feedback soon after receiving results
- Use positive feedback to reinforce good results
- Feedback requires LLM processing for sentiment analysis
- Consider batching multiple feedback calls
- Monitor LLM API quotas and rate limits
- Start with simple feedback collection
- Gradually add more sophisticated feedback patterns
- Test feedback effectiveness over time