Llm, Rag, Knowledge Graphs, Vector Search, Retrieval Augmented.
OpenAIEmbeddings from langchain import hub from langchain_openai import ChatOpenAI from langchain_community.document_loaders import PyPDFDirectoryLoader from langchain.retrievers.document_compressors import FlashrankRerank from langchain.retrievers import ContextualCompressionRetriever import os