Skip to content

Commit

Permalink
t26
Browse files Browse the repository at this point in the history
  • Loading branch information
ronidas39 committed Jan 2, 2024
1 parent edc1086 commit ffe27be
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1,599 deletions.
6 changes: 4 additions & 2 deletions tutorial26/main.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from langchain.document_loaders import JSONLoader

loader=JSONLoader(file_path="sample.json",jq_schema=".")
loader=JSONLoader(file_path="sample.json",jq_schema=".",json_lines=True,text_content=False)
docs=loader.load()
for doc in docs:
print(doc.page_content)
Loading

0 comments on commit ffe27be

Please sign in to comment.