Llm, Rag, Knowledge Graphs, Vector Search, Retrieval Augmented.
from langchain import PromptTemplate, LLMChain from langchain_cohere import CohereRerank from cohere import Client from dotenv import load_dotenv load_dotenv() cohere_api_key = os.getenv("COHERE_API_KEY") co = Client(cohere_api_key) class CustomCohereRerank(CohereRerank): class Config():