Rag, Genrative Ai.
RunnablePassthrough()} | rag_prompt_text | llm | StrOutputParser() ) question = "What is use of Generative AI?" docs = chain.invoke(question, config=config) Context Compression and Reranking This process involves reordering nodes based on relevance and choosing the top nodes, ensuring context