There is some bug,Exception raised in Job[1]: ValidationError(1 validation error for ChatMessage role Input should be a valid string [type=string_type, input_value=None, input_type=NoneType] #1782
Labels
bug
Something isn't working
[ ] I have checked the documentation and related resources and couldn't resolve my bug.
Describe the bug
When I tried to use Ragas to evaluate and test a piece of text, I encountered the following error message
Exception raised in Job[1]: ValidationError(1 validation error for ChatMessage role Input should be a valid string [type=string_type, input_value=None, input_type=NoneType]
Ragas version: >2.6.2
Python version: 3.10
Code to Reproduce
Error trace
Additional context
Preliminary judgment is that it is a version issue. When I use Python version 3.10 and the following library versions, the code can run normally:
langchain==0.2.5
langchain-community==0.2.5
langchain-core==0.2.7
langchain-openai==0.1.8
langchain-text-splitters==0.2.1
langdetect==1.0.9
langsmith==0.1.77
pydantic==2.0.2
pydantic_core==2.1.2
ragas==0.1.9
The text was updated successfully, but these errors were encountered: