ragas icon indicating copy to clipboard operation
ragas copied to clipboard

Error: Attribute error:'float' object has no attribute 'response'

Open haritha789665 opened this issue 9 months ago • 0 comments

[ ] I checked the documentation and related resources and couldn't find an answer to my question.

I am using llama index with azure open ai to evaluate When I am calling evaluate function with query engine,llm,dataset I am getting attribute error mentioning 'float' object has no attribute "response error" with an exception raised in job[1]: AttributeError('NoneType' object has no attribute 'search')

from ragas.integrations.llama_index import evaluate

Result=evaluate (query_engine,metrics,dataset)

Image

Image

haritha789665 avatar Mar 19 '25 09:03 haritha789665