Supported AI Models and Deployment Addresses of ORA's AI Oracle.
Llama3 8B Instruct | |
---|---|
OpenLM 1B | |
---|---|
OpenLM Score 7B, aka. (A.I.)location Oracle | |
---|---|
Prompt and SimplePrompt are both example smart contracts interacted with AI Oracle.
For simpler application scenarios (eg. Prompt Engineering based AI like GPTs), you can directly use Prompt or SimplePrompt.
SimplePrompt saves gas by only emitting the event without storing historical data.
Ethereum Mainnet
Deprecated contracts: AIOracle, Prompt.
Optimism Mainnet
Optimism Sepolia
Arbitrum Mainnet
Arbitrum Sepolia Testnet
Manta Mainnet
Manta Sepolia Testnet
Linea Mainnet
OpenLM Score 7B, aka. (A.I.)location Oracle | |
---|---|
Stable Diffusion v2-1 | |
---|---|
Stable Diffusion v3 Medium | |
---|---|
Model ID
11
Deployed Network
Ethereum & Ethereum Sepolia, Optimism & Optimism Sepolia, Arbitrum & Arbitrum Sepolia, Manta & Manta Sepolia, Linea, Base, Mantle, Polygon PoS
Fee
Mainnet: 0.0003 ETH / 3 MATIC / 3 MNT Testnet: 0.01 ETH
Usage
Input: Prompt (example tx). Output: Inference result (example tx).
Model ID
13
Deployed Network
Ethereum & Ethereum Sepolia
Fee
Mainnet: 0.0003 ETH Testnet: 0.01 ETH
Usage
Input: Prompt (example tx). Output: Inference result (example tx).
Model ID
14
Deployed Network
Arbitrum & Arbitrum Sepolia, Ethereum Sepolia
Fee
Mainnet: 0.0003 ETH Testnet: 0.01 ETH
Usage
Input: Instruction and prompt with the format of JSON String: {"instruction":"${instruction}","input":"${prompt}"}
(example tx). Default instruction (if sending raw prompt only) is You are a helpful assistant
.
Output: Inference result (example tx).
Note
Input exceeds 7000 characters won't receive callback.
Model ID
15
Deployed Network
Arbitrum & Arbitrum Sepolia, Ethereum Sepolia
Fee
Mainnet: 0.0003 ETH Testnet: 0.01 ETH
Usage
Input: Instruction and prompt with the format of JSON String: {"instruction":"${instruction}","input":"${prompt}"}
(example tx). Default instruction (if sending raw prompt only) is You are a helpful assistant
.
Output: Inference result (example tx).
Model ID
50
Deployed Network
Ethereum & Ethereum Sepolia, Optimism & Optimism Sepolia, Arbitrum & Arbitrum Sepolia, Manta & Manta Sepolia, Linea, Base, Mantle, Polygon PoS
Fee
Mainnet: 0.0003 ETH / 3 MATIC / 3 MNT Testnet: 0.01 ETH
Usage
Input: Prompt (example tx). Output: IPFS hash of inference result (example tx). Access with IPFS gateway, see example.
Model ID
503
Deployed Network
Ethereum & Ethereum Sepolia, Optimism & Optimism Sepolia, Arbitrum & Arbitrum Sepolia, Manta & Manta Sepolia, Linea, Base, Mantle, Polygon PoS
Fee
Mainnet: 0.0003 ETH / 3 MATIC / 3 MNT Testnet: 0.01 ETH
Usage
Input: Prompt (example tx). Output: IPFS hash of inference result (example tx). Access with IPFS gateway, see example.
AI Oracle Proxy
Prompt
SimplePrompt
AI Oracle Proxy
Prompt
SimplePrompt
AI Oracle Proxy
Prompt
SimplePrompt
AI Oracle Proxy
Prompt
SimplePrompt
AI Oracle Proxy
Prompt
SimplePrompt
AI Oracle Proxy
Prompt
SimplePrompt
AI Oracle Proxy
Prompt
SimplePrompt
AI Oracle Proxy
Prompt
SimplePrompt
AI Oracle Proxy
Prompt
SimplePrompt
AI Oracle Proxy
Prompt
SimplePrompt
AI Oracle Proxy
AI Oracle Proxy
Prompt
SimplePrompt
AI Oracle Proxy
Prompt
SimplePrompt
AI Oracle Proxy
Prompt
SimplePrompt
To showcase how AI Oracle can enhance consumer-facing products, we introduce .
Fortune Teller leverages the NestedInference smart contract, as discussed in the . This application aims to onboard new users to Web3 and demonstrate the capabilities of .
User Interaction: The application prompts users to answer specific questions posed by the Magic Wizard.
Fortune Telling: The Wizard casts its spells by requesting inferences from AI Oracle.
Response Generation: The Llama3 model generates a textual response, which is then used as a prompt for image creation via StableDiffusion.
NFT Minting: Users can mint AI-generated NFTs if they are satisfied with their fortune image.
The image on the right represents user's fortune result generated by AI Oracle:
Objective AI-Generated Insights: AI provides neutral and unbiased outputs, ensuring a fair experience across diverse use cases.
Immutable Onchain Data: Information generated is securely stored on the blockchain, making it tamper-proof and easily verifiable.
Transparent Data Generation: Utilizing opML, the entire generation process is transparent, fostering trust in the system across different applications.
Text: Generated by Llama3 ()
Image: Generated by Stable Diffusion v3 ()
💡 If you're interested in creating your own frame, check out our repository. This template can help you bootstrap your application, but you'll need to modify it based on your specific use case.
We encourage you to develop your own applications. Explore ideas in the repository, whether it’s a Farcaster frame, a Telegram mini app, or any other client application that interacts with AI Oracle.