Skip to content
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

Merged
merged 10 commits into from
Nov 22, 2024

Conversation

KahanMajmudar
Copy link
Collaborator

No description provided.

"image": "https://gateway.autonolas.tech/ipfs/bafybeidzpenez565d7vp7jexfrwisa2wijzx6vwcffli57buznyyqkrceq",
"tools": [
"openai-gpt-4"
]
Copy link
Collaborator

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.

Copy link
Collaborator Author

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?

Copy link
Collaborator

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.

Comment on lines +36 to +39
metadata_hash_path = input_with_default_value(
"Please provide the path to your metadata_hash.json file",
"./.metadata_hash.json",
)
Copy link
Collaborator

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.

Copy link
Collaborator

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: ")
Copy link
Collaborator

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
Copy link
Collaborator

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

Copy link
Collaborator

@0xArdi 0xArdi left a 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.

@0xArdi 0xArdi merged commit 63d39a7 into main Nov 22, 2024
2 checks passed
@0xArdi 0xArdi deleted the feat/metadata_hash_gen branch November 22, 2024 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants