# AI Settlement Oracle

### Introduction

The AI Settlement Oracle is the first AI-powered truth machine, leveraging verifiable AI to resolve and settle factual questions onchain. It offers a trustless, autonomous system for information resolution, eliminating human error and manipulation.

#### Advantages

* **Autonomous Operation:** Powered by ORA’s Optimistic Machine Learning ([**OPML**](https://docs.ora.io/doc/onchain-ai-oracle-oao/fraud-proof-virtual-machine-fpvm-and-frameworks/opml)) and [**AI Oracle**](https://docs.ora.io/doc/onchain-ai-oracle-oao).
* **Accuracy & Fairness:** Immune to economic manipulation and herd behaviour typical of traditional systems.
* **Trustless Settlement:** Ensures unbiased outcomes for any factual query.

### Try it out!

* Live [Demo](https://www.ora.io/ai-settlement-oracle/)
* Github [Repo](https://github.com/ora-io/AI-Settlement-Oracle)
* Research [Post](https://mirror.xyz/orablog.eth/VlrdcPu7aUJkYUCiiPobUTxPsxoiSqL2dKZMAyHOZYU)

### Architecture

<figure><img src="https://4087680299-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FllyHj70MVMOxu2WT7tZv%2Fuploads%2FXpYh99LwWx8TTddlpCx2%2Fimage.png?alt=media&#x26;token=d80dbfba-43be-4592-8180-4c6a3a6b964c" alt="" width="563"><figcaption></figcaption></figure>

### Workflow

The AI Settlement Oracle contains two parts of interaction:

* **Parse Context:** The initial interaction processes a question by analyzing web sources and summarizing them into a coherent "truth context." This provides a reliable foundation for further reasoning.
* **Onchain Settlement:** In the second interaction, the truth context and helper prompts are integrated into an input for the AI Oracle. The Oracle uses this input to generate a verified outcome, enabling decentralized and transparent truth settlement onchain.
