Introduction

This article aims to identify “hallucinations” in large language model (LLM) outputs and provide insights into the features of groundedness detection. Additionally, it covers use cases for groundedness detection, as well as its region and language support.

Groundedness Detection API

The Groundedness detection API assesses whether the text generated by large language models (LLMs) is well-supported by the input provided by users. Ungroundedness occurs when LLMs produce information that deviates from the factual content present in the source materials.

Features of Groundedness detection

  1. Domain Specification: Users have the option to select a well-defined domain, which ensures more customized detection aligned with the specific requirements of their field. Currently, the available domains are Medical and Generic.
  2. Task Specification: This functionality allows users to choose their specific task, such as QnA (question and answering) or summarization, and adjust the settings accordingly based on the task type.”
  3. Speed vs Interpretability: There exist two modes that balance speed and interpretability of results.
    • Non-Reasoning mode: Provides rapid detection capabilities and seamless integration into online applications.
    • Reasoning mode: Provides comprehensive explanations for identified ungrounded segments, enhancing both understanding and mitigation.

Use Cases

Groundedness detection assists with text-based summarization and QnA tasks, ensuring that the resulting summaries or answers are both accurate and reliable.

Some of the examples are.

Summarization

QnA

Language Support

Region Support

As of now, it's available in the following Azure regions,

Summary

In this article, we have gained insights into the purpose, features, and real-time use cases of Groundedness detection. Specifically, we explored its applications in summarization and QnA tasks within both medical and generic domains. Additionally, we delved into the language and regional support provided by this technology.

Happy Learning!

Hope you have enjoyed reading this article!