-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from valory-xyz/feat/metadata_hash_gen
added script to create metadata hash for the mech
- Loading branch information
Showing
10 changed files
with
394 additions
and
78 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,3 +54,5 @@ local_config.json | |
mech.db | ||
|
||
/.api_keys.json | ||
|
||
.metadata_hash.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"name": "Autonolas Mech Quickstart", | ||
"description": "The mech executes AI tasks requested on-chain and delivers the results to the requester.", | ||
"inputFormat": "ipfs-v0.1", | ||
"outputFormat": "ipfs-v0.1", | ||
"image": "https://gateway.autonolas.tech/ipfs/bafybeidzpenez565d7vp7jexfrwisa2wijzx6vwcffli57buznyyqkrceq", | ||
"tools": [ | ||
"claude-prediction-online" | ||
], | ||
"toolMetadata": { | ||
"claude-prediction-offline": { | ||
"name": "Claude Prediction Offline", | ||
"description": "Makes a prediction using Claude", | ||
"input": { | ||
"type": "text", | ||
"description": "The text to make a prediction on" | ||
}, | ||
"output": { | ||
"type": "object", | ||
"description": "A JSON object containing the prediction and confidence", | ||
"schema": { | ||
"type": "object", | ||
"properties": { | ||
"requestId": { | ||
"type": "integer", | ||
"description": "Unique identifier for the request" | ||
}, | ||
"result": { | ||
"type": "string", | ||
"description": "Result information in JSON format as a string", | ||
"example": "{\n \"p_yes\": 0.6,\n \"p_no\": 0.4,\n \"confidence\": 0.8,\n \"info_utility\": 0.6\n}" | ||
}, | ||
"prompt": { | ||
"type": "string", | ||
"description": "The prompt used to make the prediction." | ||
} | ||
}, | ||
"required": [ | ||
"requestId", | ||
"result", | ||
"prompt" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.