MCPcopy
hub / github.com/langchain-ai/langchain / ingest.py

File ingest.py

templates/rag-elasticsearch/ingest.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import os
2
3from langchain_community.document_loaders import JSONLoader
4from langchain_community.embeddings import HuggingFaceEmbeddings

Callers

nothing calls this directly

Calls 6

JSONLoaderClass · 0.90
split_documentsMethod · 0.45
loadMethod · 0.45
from_documentsMethod · 0.45

Tested by

no test coverage detected