Rag, Genrative Ai.
response, running evaluations for Context Relevance, Factual Accuracy, and Response Completeness. template = """Answer the question based only on the following context, which can include text and tables: {context} Question: {question} """ rag_prompt_text = ChatPromptTemplate.from_template(template)