-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added script to create metadata hash for the mech #3
Conversation
.metadata_hash.json.example
Outdated
"image": "https://gateway.autonolas.tech/ipfs/bafybeidzpenez565d7vp7jexfrwisa2wijzx6vwcffli57buznyyqkrceq", | ||
"tools": [ | ||
"openai-gpt-4" | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The metadata is missing here. Check example here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we not seperate the tool metadata into the tool's yaml?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In a future version yes, atm no. It will take too much time.
metadata_hash_path = input_with_default_value( | ||
"Please provide the path to your metadata_hash.json file", | ||
"./.metadata_hash.json", | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should do some validation as well. Basically needs to follow the schema like here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it makes sense that this gets called upon setup of local config on run_service.py
?
utils.py
Outdated
) | ||
if metadata_hash: | ||
while True: | ||
user_input = input(f"Please enter the metadata_hash str: ") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we just call the other function here
README.md
Outdated
python run_service.py | ||
``` | ||
```bash | ||
python3 run_service.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can just ask them to run run_service.sh
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One small comment, all good besides that.
No description provided.