public virtual Task<CorroborateContentResponse> CorroborateContent(CorroborateContentRequest request, ServerCallContext context)
Given an input text, it returns a score that evaluates the factuality of
the text. It also extracts and returns claims from the text and provides
supporting facts.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThis page provides reference documentation for the \u003ccode\u003eVertexRagService.VertexRagServiceBase\u003c/code\u003e class within the Google.Cloud.AIPlatform.V1Beta1 API, specifically for server-side implementations.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers three primary methods: \u003ccode\u003eAugmentPrompt\u003c/code\u003e, which returns augmented prompts based on input; \u003ccode\u003eCorroborateContent\u003c/code\u003e, which evaluates the factuality of text and provides supporting evidence; and \u003ccode\u003eRetrieveContexts\u003c/code\u003e, which retrieves relevant contexts for a given query.\u003c/p\u003e\n"],["\u003cp\u003eEach method requires a specific request object (e.g., \u003ccode\u003eAugmentPromptRequest\u003c/code\u003e) and a \u003ccode\u003eServerCallContext\u003c/code\u003e for handling server-side interactions.\u003c/p\u003e\n"],["\u003cp\u003eAll methods return a task-wrapped response object, such as \u003ccode\u003eAugmentPromptResponse\u003c/code\u003e, \u003ccode\u003eCorroborateContentResponse\u003c/code\u003e, or \u003ccode\u003eRetrieveContextsResponse\u003c/code\u003e, which are sent back to the client.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 1.0.0-beta21, and previous versions such as 1.0.0-beta20 are also documented.\u003c/p\u003e\n"]]],[],null,["# Vertex AI v1beta1 API - Class VertexRagService.VertexRagServiceBase (1.0.0-beta47)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta47 (latest)](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.VertexRagService.VertexRagServiceBase)\n- [1.0.0-beta46](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/1.0.0-beta46/Google.Cloud.AIPlatform.V1Beta1.VertexRagService.VertexRagServiceBase) \n\n [BindServiceMethod(typeof(VertexRagService), \"BindService\")]\n public abstract class VertexRagService.VertexRagServiceBase\n\nReference documentation and code samples for the Vertex AI v1beta1 API class VertexRagService.VertexRagServiceBase.\n\nBase class for server-side implementations of VertexRagService \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e VertexRagService.VertexRagServiceBase \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.AIPlatform.V1Beta1](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.AIPlatform.V1Beta1.dll\n\nMethods\n-------\n\n### AugmentPrompt(AugmentPromptRequest, ServerCallContext)\n\n public virtual Task\u003cAugmentPromptResponse\u003e AugmentPrompt(AugmentPromptRequest request, ServerCallContext context)\n\nGiven an input prompt, it returns augmented prompt from vertex rag store\nto guide LLM towards generating grounded responses.\n\n### CorroborateContent(CorroborateContentRequest, ServerCallContext)\n\n public virtual Task\u003cCorroborateContentResponse\u003e CorroborateContent(CorroborateContentRequest request, ServerCallContext context)\n\nGiven an input text, it returns a score that evaluates the factuality of\nthe text. It also extracts and returns claims from the text and provides\nsupporting facts.\n\n### RetrieveContexts(RetrieveContextsRequest, ServerCallContext)\n\n public virtual Task\u003cRetrieveContextsResponse\u003e RetrieveContexts(RetrieveContextsRequest request, ServerCallContext context)\n\nRetrieves relevant contexts for a query."]]