Future AI
  • 📌Future-AI | Introduction
  • 🗣️Official social networks
  • 🥳Fairlaunch - Pinksale
  • Overview Future-AI
    • 🔹The beginning of AI
      • 🔹Success of IA
    • 🌐GPT-3
      • 🌐How does GPT-3 work?
      • 🌐What are the uses of GPT-3?
    • 🔹Telegram Bot
      • 🔹Twitter Bot
      • 🔹Discord Bot
      • 🔹More bots
    • 🌐Metaverse
      • 🌐Future-AI Metaverse
      • 🌐iNFT Protocol
    • 🔹Decentralized App
    • 🔹Brigde
      • ☑️Dapp Brigde
    • 🌐Future-AI Characters
    • 🔹Copy Trader
    • 🌐DAOGovernance
    • 🔹Wallet Future-AI
      • 🔹Download Trust Wallet
      • 🔹Future-AI integration with Trust Wallet
    • 🌐Staking
      • 🔹Parcels
    • 🔹Yield Farming
    • 🌐Future-AI Providers
      • AI Provider Integration
    • 🔹Future-AI Executors
      • 🔹AI Executor File Integrity
      • 🔹Data Source Provider
      • 🔹Thesis case provider
      • 🔹Script Developer
      • 🔹AI Executor
      • 🔹AI Executor with Docker
      • 🔹AI Executor Incentive Mechanism
  • token future-ai
    • 🌐Tokenomics
    • 🔹Token metrics
    • 🌐Roadmap
    • 🔹KYC & Audit
    • 🌐Team
Powered by GitBook
On this page
  1. Overview Future-AI
  2. Future-AI Executors

Data Source Provider

A brief description of how to develop a data source for an AI service on Future-AI:

As Future-AI currently supports only shell script, a provider cannot use popular programming languages such as Java to develop their services.

When developing the data source script, the job is fairly simple with no input arguments, as the providers only need to call their API using a cURL request. However, the output of a data source must be a string, not an object. A simple data source is given as follows:

#!/bin/bash
curl -s -X GET "https://min-api.cryptocompare.com/data/price?fsym=ETH&tsyms=USD" -H "accept: application/json" | jq -r ".USD"

The "jq" command is used to parse the JSON response of the request to collect only a string.

PreviousAI Executor File IntegrityNextThesis case provider

Last updated 2 years ago

🔹
🔹
Page cover image