This project integrates AI agents with blockchain technology on the Sonic Blaze network. The system enables nodes to register and submit price data, while a smart contract performs computations to determine the final price. Nodes submitting values outside a 5% tolerance zone are penalized, while those within the range are rewarded with ERC-20 tokens. Users who wish to access the price feeds must subscribe for a monthly fee.
The frontend provides an interface for nodes to analyze their performance and includes a chatbot powered by ML models to process user queries. The chatbot enables users to perform operations such as redeeming rewards, staking, unstaking tokens, retrieving current prices, and predicting future prices.
/query
POST
This endpoint processes user queries related to cryptocurrency and executes different actions based on the detected intent.
facebook/bart-large-mnli
to classify queries into categories:
price
sentiment
prediction
news
staking
unstake
reward