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

File chain.py

templates/rag-mongo/rag_mongo/chain.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import os
2
3from langchain_community.chat_models import ChatOpenAI
4from langchain_community.document_loaders import PyPDFLoader

Callers

nothing calls this directly

Calls 11

OpenAIEmbeddingsClass · 0.90
ChatOpenAIClass · 0.90
RunnableParallelClass · 0.90
RunnablePassthroughClass · 0.90
StrOutputParserClass · 0.90
RunnableLambdaClass · 0.90
getMethod · 0.45
as_retrieverMethod · 0.45
from_templateMethod · 0.45
with_typesMethod · 0.45

Tested by

no test coverage detected