Calls the Vertex Check Grounding API for a given answer candidate and a list of documents (claims) to validate whether the set of claims support the answer candidate.
invoke(
self,
input: str,
config: Optional[RunnableConfig] = None
) -> CheckGroundingResponse| Name | Type | Description |
|---|---|---|
input* | str | The candidate answer to be evaluated for grounding. |
config | Optional[RunnableConfig] | Default: NoneRunnable configuration containing documents in
|