ragflow
ragflow copied to clipboard
[Bug]: 'NoneType' object has no attribute 'compute_score'
Is there an existing issue for the same bug?
- [X] I have checked the existing issues.
Branch name
main
Commit ID
524699da7d9b7b7c607b6f76cafb03b57528fdd6
Other environment information
AWS EC2
Ubuntu 24.04 LTS
4 vCPUs
16GB RAM
Actual behavior
Using the Agent template HR recruitment pitch assistant, I'm getting the response > 'NoneType' object has no attribute 'compute_score'.
The model is gpt-4o. I have a 9 page PDF document uploaded to the knowledge base and the settings are in the attached image below.
Expected behavior
Should respond based on the knowledge base.
Steps to reproduce
1. Setup system models using OpenAI gpt-4o.
2. Create agent from template HR recruitment pitch assistant
3. Chat.
Additional information
No response