ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

[Bug]: 'NoneType' object has no attribute 'compute_score'

Open kdta91 opened this issue 4 months ago • 0 comments

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.

Screenshot from 2024-10-24 16-34-03

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

kdta91 avatar Oct 24 '24 08:10 kdta91