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

File ingest.py

templates/rag-self-query/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 OpenAIEmbeddings

Callers

nothing calls this directly

Calls 7

JSONLoaderClass · 0.90
OpenAIEmbeddingsClass · 0.90
ElasticsearchStoreClass · 0.85
split_documentsMethod · 0.45
loadMethod · 0.45
add_documentsMethod · 0.45

Tested by

no test coverage detected