-
Notifications
You must be signed in to change notification settings - Fork 98
[New Env] Add web search env with Google Search (via Serper api) #181
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
base: main
Are you sure you want to change the base?
Conversation
|
Hi @Lawhy, Nice env! It looks like your env does not conform to the standard structure. So we need to add a standard structure. The easiest way is to use the openenv cli to initialize a new project, and then copy in your cod to that skeleton. You can do this like so:
Once you're done this, your env will be compatible with the hub and have project matter to be installed and run. You can get help along the way from |
|
Hi @burtenshaw, thanks for quick responses! I have merged mainline and trying to use but it is not installed with |
Feel free to push your updated project and I can try it out. |
|
Thanks @burtenshaw, I have pushed a new version |
|
Seems that |
Strange. Are you doing |
|
Thanks @burtenshaw, I actually did |
|
Hi @burtenshaw, is there anything I need to check? My local test has no problem. |
Yeah, it runs but I just wanted to make sure you've tested it functionally. Could you push it to hugging face hub with |
|
✅ Validation succeeded for Your env passes the vibe check. However, most environments should go straight to the hub, they will automatically be added to the official Env Hub collection on a nightly basis. Environments in the official specification repo are only meant to demonstrate usage of a specific spec feature for educational purposes. Re-run locally with:
You can deploy the environment to Hugging Face Spaces by running |
|
Hi @burtenshaw, it's working now: https://huggingface.co/spaces/lawhy/web_search; it will require API key from https://serper.dev/ or set it up in Hugging Face secret. |
Add a new environment that supports web search.