mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-07 22:11:51 +00:00
various templates improvements (#12500)
This commit is contained in:
@@ -11,7 +11,7 @@ txt_path = Path(__file__).parent / "dune.txt"
|
||||
graph = Neo4jGraph()
|
||||
|
||||
# Load the text file
|
||||
loader = TextLoader(txt_path)
|
||||
loader = TextLoader(str(txt_path))
|
||||
documents = loader.load()
|
||||
|
||||
# Define chunking strategy
|
||||
|
Reference in New Issue
Block a user