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

File ingest.py

templates/rag-mongo/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 PyPDFLoader
4from langchain_community.embeddings import OpenAIEmbeddings

Callers

nothing calls this directly

Calls 6

PyPDFLoaderClass · 0.90
OpenAIEmbeddingsClass · 0.90
loadMethod · 0.45
split_documentsMethod · 0.45
from_documentsMethod · 0.45

Tested by

no test coverage detected