# Introduction

{% hint style="info" %}
If you want to build with onchain AI.

ORA offers:

* zkML of [keras2circom](https://github.com/ora-io/keras2circom) (the most battle-tested and performant zkML framework)
* [opML](https://arxiv.org/abs/2401.17555) of [AI Oracle](https://docs.ora.io/doc/~/changes/tjpmQ4OUIWgthP6ZxBLq/oao-onchain-ai-oracle/introduction) (run huge model like LlaMA2-7B and Stable Diffusion now)
* zk+opML with [opp/ai](https://arxiv.org/abs/2402.15006) (futuristic onchain AI fuses zkML's privacy and opML's scalability)
  {% endhint %}

[Onchain AI Oracle (OAO)](https://mirror.xyz/orablog.eth/qLBIR_yxmpFJ4dg5p5Sn8Wz46aQDTG1jCW8myeE7zZ8) is the ORA's verifiable and decentralized AI oracle.

OAO integrates different AI models onchain in ORA AI Oracle nodes.

<figure><img src="https://4087680299-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FllyHj70MVMOxu2WT7tZv%2Fuploads%2FWTsQZaNMNAavIE6wLpjt%2FGroup%201000006228.png?alt=media&#x26;token=d2e94367-3547-4fef-9a2e-015d67316892" alt=""><figcaption></figcaption></figure>

Smart contract developers can build their own contract based on different models in AI Oracle, to interact with OAO contract, so that they can use AI onchain.

<figure><img src="https://4087680299-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FllyHj70MVMOxu2WT7tZv%2Fuploads%2F6QgG7a1dniqbP8V2UdUo%2F%E5%9B%BE1.png?alt=media&#x26;token=6189b817-7257-472b-bb09-d0ae524743f2" alt=""><figcaption></figcaption></figure>

Some of the example use cases are: AIGC NFT with ERC-7007, zkKYC using facial recognition based on ML, onchain AI games (e.g. Dungeon and Dragons), prediction market with ML, content authenticity (deepfake verifier), compliant programmable privacy, prompt marketplace, reputation/credit scoring... For example integrations and ideas to build, see [awesome-ora](https://github.com/ora-io/awesome-ora#-ai-oracle-cle-ecosystem).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ora.io/doc/~/changes/tjpmQ4OUIWgthP6ZxBLq/oao-onchain-ai-oracle/introduction.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
