diff --git a/docs/concepts/knowledge.mdx b/docs/concepts/knowledge.mdx index 78443ecab..b5827551a 100644 --- a/docs/concepts/knowledge.mdx +++ b/docs/concepts/knowledge.mdx @@ -91,7 +91,7 @@ result = crew.kickoff(inputs={"question": "What city does John live in and how o ``` -Here's another example with the `CrewDoclingSource`. The CrewDoclingSource is actually quite versatile and can handle multiple file formats including TXT, PDF, DOCX, HTML, and more. +Here's another example with the `CrewDoclingSource`. The CrewDoclingSource is actually quite versatile and can handle multiple file formats including MD, PDF, DOCX, HTML, and more. You need to install `docling` for the following example to work: `uv add docling` @@ -152,10 +152,10 @@ Here are examples of how to use different types of knowledge sources: ### Text File Knowledge Source ```python -from crewai.knowledge.source.crew_docling_source import CrewDoclingSource +from crewai.knowledge.source.text_file_knowledge_source import TextFileKnowledgeSource # Create a text file knowledge source -text_source = CrewDoclingSource( +text_source = TextFileKnowledgeSource( file_paths=["document.txt", "another.txt"] )