Any working example of knwoledge csv

Hi Team,

from crewai.knowledge.source.csv_knowledge_source import CSVKnowledgeSource

Create a CSV knowledge source

csv_source = CSVKnowledgeSource(
file_paths=[“data.csv”]
)

Create crew with CSV knowledge source or on agent level

agent = Agent(

knowledge_sources=[csv_source]
)

crew = Crew(

knowledge_sources=[csv_source]
)

Exception: An error occurred while running the crew: 1 validation error for Agent
Value error, Invalid Knowledge Configuration: ValidationError.new() missing 1 required positional argument: ‘line_errors’ [type=value_error, input_value={‘knowledge_sources’: [CS…enginnering problem"\n’}, input_type=dict]

Do anyone have working code.

Thank you