Skip to content

Commit d5dc011

Browse files
committed
tutorial 23
1 parent 62f9f6f commit d5dc011

47 files changed

Lines changed: 43811 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

tutorial23/main.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
from langchain.document_loaders import DirectoryLoader
2+
import os
3+
import time
4+
5+
st = time.time()
6+
pwd=os.getcwd()
7+
loader = DirectoryLoader(pwd, glob="**/*.csv",use_multithreading=True)
8+
docs=loader.load()
9+
print(len(docs))
10+
# get the end time
11+
et = time.time()
12+
13+
# get the execution time
14+
elapsed_time = et - st
15+
print(elapsed_time)

tutorial23/output_file_0.csv

Lines changed: 1001 additions & 0 deletions
Large diffs are not rendered by default.

tutorial23/output_file_1.csv

Lines changed: 1001 additions & 0 deletions
Large diffs are not rendered by default.

tutorial23/output_file_10.csv

Lines changed: 1001 additions & 0 deletions
Large diffs are not rendered by default.

tutorial23/output_file_11.csv

Lines changed: 1001 additions & 0 deletions
Large diffs are not rendered by default.

tutorial23/output_file_12.csv

Lines changed: 1001 additions & 0 deletions
Large diffs are not rendered by default.

tutorial23/output_file_13.csv

Lines changed: 1001 additions & 0 deletions
Large diffs are not rendered by default.

tutorial23/output_file_14.csv

Lines changed: 1001 additions & 0 deletions
Large diffs are not rendered by default.

tutorial23/output_file_15.csv

Lines changed: 1001 additions & 0 deletions
Large diffs are not rendered by default.

tutorial23/output_file_16.csv

Lines changed: 1001 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)