The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
langchain: Exclude non-utf8 file from loader since it causes an error in the code_understanding example (#15324)
Matthew Teschke621493228b9c
diff --git a/docs/docs/use_cases/question_answering/code_understanding.ipynb b/docs/docs/use_cases/question_answering/code_understanding.ipynbindex 34a272421d..f655417d59 100644--- a/docs/docs/use_cases/question_answering/code_understanding.ipynb+++ b/docs/docs/use_cases/question_answering/code_understanding.ipynb@@ -128,6 +128,7 @@" repo_path + \"/libs/langchain/langchain\",\n"," glob=\"**/*\",\n"," suffixes=[\".py\"],\n",+ " exclude=[\"**/non-utf8-encoding.py\"],\n"," parser=LanguageParser(language=Language.PYTHON, parser_threshold=500),\n",")\n","documents = loader.load()\n",