Schema

The Schema is a fundamental component for off-chain inference within the Agentic Data Coordination System (ADCS). Acting as a template, the Schema defines the structure and content of inference requests, ensuring consistency and clarity in data processing. Users create Schemas by specifying detailed parameters that guide how data is handled and processed during inference. The key elements of a Schema include:

Request Instructions

Detailed guidelines outlining the nature of the inference request. This includes various parameters such as:

  • Variables: Specific data points or metrics required for the inference.

  • Consumer Contract: The smart contract that will consume the inference results.

  • Event Requests: Triggers or conditions that initiate the inference process.

  • Required User Fee: Any fees associated with processing the request.

Reference Data

The contextual or historical data that the inference should utilize. This ensures that the AI agents have access to all necessary information to perform accurate and meaningful analyses.

Response Format:

The expected structure of the inference response. This guarantees that the output is correctly formatted for subsequent workflows and can include formats such as:

  • Boolean: True/False values.

  • JSON: Structured data in JavaScript Object Notation.

  • Integer: Whole numbers, depending on the specific use case.

Users can define multiple Schemas, each tailored to meet specific requirements. Each Schema is uniquely identified by a randomly generated JobID during its creation. These JobIDs serve as crucial identifiers within Consumer Contracts, ensuring accurate referencing and seamless integration of inference results into the broader ADCS framework.

Last updated