Retrieved Context: YC invests $500,000 in 200 startups twice a year.
Eval Result - Result: Fail - Explanation: The context mentions that YC invests $500,000 but it does not mention how much equity they take, which is what the query is asking about.
One of the most common causes for a bad output is bad input. For RAG applications, this usually means a bad retrieval.Typically for retrieval, you might do a cosine similarity search to the user’s query.However, similar ≠ relevance.Often, your retrieved data might not be relevant to the user’s query.Sometimes, it might be relevant, but might not contain the answer to the user’s query.We use an LLM grader (GPT-4) to figure out if the retrieved data is relevant and has enough information to answer the query.
Query: YC invests $500,000 in 200 startups twice a year.
Retrieved Context: YC takes 5-7% equity.
Eval Result
Result: Fail
Explanation: The response mentions that YC takes 5-7% equity, but this is not mentioned anywhere in the context.
Another common problem with RAG applications is when the response is not “faithful” to the context.This is often the cause of “Hallucinations”.The LLM might use its pretrained knowledge to generate an answer.But for most RAG apps, you want to constrain it to the context you are providing it (since you know it to be true).
Retrieved Context: Neil Armstrong was the first man to set foot on the moon in 1969
Eval Result
Result: Fail
Explanation: The query is asking which spaceship landed on the moon first, but the response only mentions the name of the astronaut, and does not say anything about the name of the spaceship.
This is a good eval for nearly any Q&A type application. This can help you check if:
Response is irrelevant or tangential to the query.
Response does not sufficiently answer the query.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Athina","colors":{"primary":"#1976D2","light":"#419BF4","dark":"#1976D2"},"favicon":"/logo/light.svg","logo":{"light":"https://mintlify.s3.us-west-1.amazonaws.com/athinaai/logo/light.svg","dark":"https://mintlify.s3.us-west-1.amazonaws.com/athinaai/logo/dark.svg"},"api":{"mdx":{"server":null,"auth":{"method":"key","name":"athina-api-key"}}},"navbar":{"links":[{"label":"AI Hub","href":"https://hub.athina.ai"},{"label":"Website","href":"https://athina.ai"}],"primary":{"type":"button","label":"Sign-up","href":"https://app.athina.ai/"}},"footer":{"socials":{"twitter":"https://twitter.com/AthinaAI","linkedin":"https://linkedin.com/company/athina-ai"}},"integrations":{"ga4":{"measurementId":"G-KZVC5R2GB1"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"athinaai","hasAudioNarration":false,"actualSubdomain":"athinaai","customDomains":["docs.athina.ai"],"gitSource":{"type":"github","owner":"athina-ai","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21e615bd0a90f91cb442e4","collectionId":"b894bf83-39f4-42e1-9517-d1cffb901672","schemaVersion":"v2"},"feedback":{"thumbs":false},"entitlements":{},"buildId":"6a21e615bd0a90f91cb442e4:success","clientVersion":"0.0.4006","searchFilterCounts":[{"language":"default","tag":"Documentation","count":166},{"language":"default","tag":"Docs","count":79},{"language":"default","tag":"API / SDK Reference","count":54},{"language":"default","tag":"Evals","count":52},{"language":"default","tag":"Datasets","count":37},{"language":"default","tag":"Guides","count":23},{"language":"default","tag":"Logging","count":21},{"language":"default","tag":"Preset Evals","count":15},{"language":"default","tag":"Prompts","count":14},{"language":"default","tag":"Logging LLM Inferences","count":13}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"guides/evals/rag-evals","slug":"/guides/evals/rag-evals","pageMetadata":{"title":"RAG Evaluators","icon":"files","description":null,"href":"/guides/evals/rag-evals"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,blockquote:`blockquote`,em:`em`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`These evals are very useful for most RAG style applications`}),`\n`,_jsx(_components.p,{children:`They check for 3 things:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Context Contains Enough Information:`}),` Does the retrieved context contains enough information to answer the query.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Faithfulness:`}),` Is the response faithful to the context. (Unfaithful responses are correlated with hallucinations)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Does Response Answer Query:`}),` Does the response answer the user’s query. Checks for relevance and answer completeness.`]}),`\n`]}),`\n`,_jsxs(Heading,{level:`3`,id:`context-contains-enough-information`,children:[`Context Contains Enough Information`,_jsx(_components.a,{href:`#context-contains-enough-information`})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`api-reference/evals/preset-evals/rag/context-sufficiency`,children:`Docs`}),` | `,_jsx(_components.a,{href:`https://github.com/athina-ai/athina-evals/blob/main/athina/evals/llm/context_contains_enough_information/evaluator.py`,children:`Github `})]}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Query`}),`: How much equity does Y Combinator take?`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Retrieved Context`}),`: YC invests $500,000 in 200 startups twice a year.`]}),`\n`]}),`\n`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Eval Result`}),` - `,_jsx(_components.strong,{children:`Result:`}),` Fail - `,_jsx(_components.strong,{children:`Explanation:`}),` The context mentions that YC invests $500,000 but it does not mention how much equity they take, which is what the query is asking about.`]})}),`\n`,_jsx(_components.p,{children:`One of the most common causes for a bad output is bad input. For RAG applications, this usually means a bad retrieval.`}),`\n`,_jsx(_components.p,{children:`Typically for retrieval, you might do a cosine similarity search to the user’s query.`}),`\n`,_jsx(_components.p,{children:`However, similar ≠ relevance.`}),`\n`,_jsxs(_components.p,{children:[`Often, your retrieved data might not be `,_jsx(_components.em,{children:`relevant`}),` to the user’s query.`]}),`\n`,_jsxs(_components.p,{children:[`Sometimes, it might be `,_jsx(_components.em,{children:`relevant`}),`, but might not contain the `,_jsx(_components.em,{children:`answer`}),` to the user’s query.`]}),`\n`,_jsx(_components.p,{children:`We use an LLM grader (GPT-4) to figure out if the retrieved data is relevant and has enough information to answer the query.`}),`\n`,_jsxs(Heading,{level:`3`,id:`faithfulness`,children:[`Faithfulness`,_jsx(_components.a,{href:`#faithfulness`})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`api-reference/evals/preset-evals/rag/response-faithfulness`,children:`Docs`}),` | `,_jsx(_components.a,{href:`https://github.com/athina-ai/athina-evals/blob/main/athina/evals/llm/faithfulness/evaluator.py`,children:`Github `})]}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Query`}),`: YC invests $500,000 in 200 startups twice a year.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Retrieved Context`}),`: YC takes 5-7% equity.`]}),`\n`]}),`\n`]}),`\n`,_jsxs(Warning,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Eval Result`})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Result:`}),` Fail`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Explanation:`}),` The response mentions that YC takes 5-7% equity, but this is not mentioned anywhere in the context.`]}),`\n`]})]}),`\n`,_jsx(_components.p,{children:`Another common problem with RAG applications is when the response is not “faithful” to the context.`}),`\n`,_jsx(_components.p,{children:`This is often the cause of “Hallucinations”.`}),`\n`,_jsx(_components.p,{children:`The LLM might use its pretrained knowledge to generate an answer.`}),`\n`,_jsx(_components.p,{children:`But for most RAG apps, you want to constrain it to the context you are providing it (since you know it to be true).`}),`\n`,_jsxs(Heading,{level:`3`,id:`answer-completeness`,children:[`Answer Completeness`,_jsx(_components.a,{href:`#answer-completeness`})]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`api-reference/evals/preset-evals/rag/answer-completeness`,children:`Docs`}),` | `,_jsx(_components.a,{href:`https://github.com/athina-ai/athina-evals/blob/main/athina/evals/llm/answer_completeness/evaluator.py`,children:`Github `})]}),`\n`,_jsxs(_components.blockquote,{children:[`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Query`}),`: Which spaceship landed on the moon first?`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Retrieved Context`}),`: Neil Armstrong was the first man to set foot on the moon in 1969`]}),`\n`]}),`\n`]}),`\n`,_jsxs(Warning,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Eval Result`})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Result:`}),` Fail`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Explanation:`}),` The query is asking which spaceship landed on the moon first, but the response only mentions the name of the astronaut, and does not say anything about the name of the spaceship.`]}),`\n`]})]}),`\n`,_jsx(_components.p,{children:`This is a good eval for nearly any Q\u0026A type application. This can help you check if:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Response is irrelevant or tangential to the query.`}),`\n`,_jsx(_components.li,{children:`Response does not sufficiently answer the query.`}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"RAG Evaluators","icon":"files","description":null,"href":"/guides/evals/rag-evals"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Context Contains Enough Information","slug":"context-contains-enough-information","depth":3,"children":[]},{"title":"Faithfulness","slug":"faithfulness","depth":3,"children":[]},{"title":"Answer Completeness","slug":"answer-completeness","depth":3,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"athinaai","siteName":"Athina","title":"RAG Evaluators - Athina","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"originalFileLocation":"guides/evals/rag-evals.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Athina\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/athinaai/_generated/favicon/apple-touch-icon.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/athinaai/_generated/favicon/favicon-32x32.png?v=3\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/athinaai/_generated/favicon/favicon-16x16.png?v=3\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://mintlify.s3.us-west-1.amazonaws.com/athinaai/_generated/favicon/favicon.ico?v=3\">\u003cmeta data-mint-head property=\"og:title\" content=\"RAG Evaluators - Athina\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Athina\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.athina.ai/guides/evals/rag-evals\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://athinaai.mintlify.app/_mintlify/api/og/v2?division=Evals\u0026amp;title=RAG+Evaluators\u0026amp;theme=999050368802f5d9cfbe8395\u0026amp;signature=6c3d092570d60d0f81dca59a026a52e18680232c9492f4089ad20ad601d46a00\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"RAG Evaluators - Athina\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://athinaai.mintlify.app/_mintlify/api/og/v2?division=Evals\u0026amp;title=RAG+Evaluators\u0026amp;theme=999050368802f5d9cfbe8395\u0026amp;signature=6c3d092570d60d0f81dca59a026a52e18680232c9492f4089ad20ad601d46a00\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/athinaai/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Athina\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1976D2\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.athina.ai/guides/evals/rag-evals\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/evals/rag-evals.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.athina.ai/#organization\",\"name\":\"Athina\",\"url\":\"https://docs.athina.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintlify.s3.us-west-1.amazonaws.com/athinaai/logo/light.svg\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.athina.ai#website\",\"name\":\"Athina\",\"url\":\"https://docs.athina.ai\",\"publisher\":{\"@id\":\"https://docs.athina.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.athina.ai/guides/evals/rag-evals#webpage\",\"url\":\"https://docs.athina.ai/guides/evals/rag-evals\",\"name\":\"RAG Evaluators\",\"isPartOf\":{\"@id\":\"https://docs.athina.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.athina.ai/guides/evals/rag-evals#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.athina.ai/guides/evals/rag-evals#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Evals\",\"item\":\"https://docs.athina.ai/guides/evals/pairwise-evals\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"RAG Evaluators\",\"item\":\"https://docs.athina.ai/guides/evals/rag-evals\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.athina.ai/guides/evals/rag-evals#article\",\"headline\":\"RAG Evaluators\",\"name\":\"RAG Evaluators\",\"url\":\"https://docs.athina.ai/guides/evals/rag-evals\",\"mainEntityOfPage\":{\"@id\":\"https://docs.athina.ai/guides/evals/rag-evals#webpage\"},\"publisher\":{\"@id\":\"https://docs.athina.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.athina.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Athina\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Athina","nav":{"global":null,"anchors":[{"anchor":"Documentation","icon":"book-open","tabs":[{"tab":"Docs","pages":[{"title":"Docs","href":"/overview"}]},{"tab":"API / SDK Reference","pages":[{"title":"API / SDK Reference","href":"/api-reference/logging/overview"}]},{"tab":"Guides","groups":[{"group":"Getting Started","pages":[{"title":"Getting Started Guides","sidebarTitle":"Overview","href":"/guides/overview"}]},{"group":"Prompts","pages":[{"title":"Prompt Comparison","sidebarTitle":"Prompt Comparison","icon":"grip-lines","href":"/guides/prompts/prompt-comparison"},{"title":"Prompt Versioning","sidebarTitle":"Prompt Versioning","icon":"code-compare","href":"/guides/prompts/prompt-versioning"}]},{"group":"Datasets","pages":[{"title":"Integrate AWS Bedrock Models","sidebarTitle":"AWS Bedrock Models","icon":"aws","href":"/guides/datasets/aws-bedrock-model"},{"title":"Preparing Data for Fine-Tuning","sidebarTitle":"Preparing Data for Fine-Tuning","icon":"table","href":"/guides/datasets/preparing-data-for-fine-tuning"},{"title":"Get Data from S3 Bucket","sidebarTitle":"Get Data from S3 Bucket","icon":"aws","href":"/guides/datasets/get-data-from-s3-bucket"},{"title":"Run an Experiment to compare and evaluate responses from different models","sidebarTitle":"Compare and Evaluate Multiple Models","href":"/guides/datasets/comparing-models"},{"title":"Comparing datasets using Athina IDE","href":"/guides/datasets/comparing-datasets"},{"title":"Prototype and Evaluate a Prompt Chain","href":"/guides/datasets/prototype-and-evaluate-prompt-chain"},{"title":"Run Prompts and Evaluate","href":"/guides/datasets/run-prompts-and-evaluate"}]},{"group":"Evals","pages":[{"title":"Pairwise Evaluation","sidebarTitle":"Pairwise Evaluation","icon":"scale-balanced","href":"/guides/evals/pairwise-evals"},{"title":"Evaluations in CI/CD Pipeline","sidebarTitle":"Evaluations in CI/CD Pipeline","icon":"infinity","href":"/guides/evals/evals-in-cicd-pipeline"},{"title":"Which evaluations to use for RAG applications?","sidebarTitle":"A guide to RAG evaluation","href":"/guides/evals/rag-eval-guide"},{"title":"Prompt Injection: Attacks and Defenses","href":"/guides/evals/prompt-injection"},{"title":"Running evals as real-time guardrails","href":"/guides/evals/running-evals-guardrails"},{"title":"Different stages of evaluation","sidebarTitle":"Different stages of evaluation","href":"/guides/evals/llm-eval-workflows"},{"title":"How can I improve the performance / reliability of my evals?","sidebarTitle":"Improving Eval performance","href":"/guides/evals/improving-eval-performance"},{"title":"How to Measure Retrieval Accuracy in RAG Applications Using Athina IDE","sidebarTitle":"Measuring Retrieval Accuracy in RAG Apps","href":"/guides/evals/measuring-retrieval-accuracy-in-rag"},{"title":"Pairwise Evaluation","icon":"columns-3","href":"/guides/evals/pairwise-evaluation"},{"title":"Evaluate Conversations","sidebarTitle":"Evaluate Conversations","icon":"comment","description":"Step-by-step evaluation of a multi-turn conversation using Athina.","href":"/guides/evals/evaluate-conversations"},{"title":"RAG Evaluators","icon":"files","href":"/guides/evals/rag-evals"}]},{"group":"Experiments","pages":[{"title":"Compare Multiple Models","sidebarTitle":"Compare Multiple Models","icon":"head-side-gear","description":"Step by step guide on how to compare multiple models using Athina AI.","href":"/guides/experiments/compare-multiple-models"}]},{"group":"Flows","pages":[{"title":"Create and Share Flow","sidebarTitle":"Create and Share Flow","icon":"water","href":"/guides/flows/create-and-share-flow"}]}]},{"tab":"FAQs","pages":[{"title":"FAQs","href":"/faqs/data-policy"}]}]},{"anchor":"Open-Source Evals","href":"https://github.com/athina-ai/athina-evals","icon":"github"},{"anchor":"Blog","href":"https://blog.athina.ai/","icon":"book"},{"anchor":"Email us","href":"mailto:hello@athina.ai","icon":"envelope"},{"anchor":"Book a call","href":"https://cal.com/shiv-athina/30min","icon":"calendar"}]},"title":"RAG Evaluators - Athina","buildId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","deploymentId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","dynamics":[],"chunks":[]}