Commit Graph

8 Commits (4839a0d89b2ac6569ab0eeb07e72506c97385b47)

Author SHA1 Message Date
russellocean 30d07d9102 Added google-api-python-client to requirements.txt 2023-04-03 16:49:05 -04:00
russellocean f2ba7f21c5 Added support for Google Custom Search API
This pull request adds functionality to the project to allow for a choice between the original Google search method and the Google Custom Search API. The google_search method uses the original method of scraping the HTML from the search results page, using googlesearch-python, while the google_official_search method uses the Google Custom Search API to retrieve search results.

How to test:

To test the functionality, ensure that you have valid API keys and search engine IDs for both the Google search method and the Google Custom Search API. You can set these values in your environment variables as described in the README.md file.

Additional Notes:

This pull request only adds functionality and makes improvements to existing code. No new features or major changes have been introduced.
2023-04-03 16:44:10 -04:00
Toran Bruce Richards 7649ca2ca2 Adds missing googlesearch-python requirement. 2023-04-03 15:13:34 +01:00
Veylkh f72afc7558 dirtyjson -> json
Fixes the missing UserDict (caused by migration from python 3.9 to ^3.10)
2023-04-03 14:28:22 +02:00
Toran Bruce Richards c86b6e2013 Updates requirements.txt 2023-04-03 11:23:54 +01:00
Taylor Brown 28c18adff0 Merge master to fixes_gpt3 2023-04-02 18:30:28 -05:00
James C. Palmer ef656a0f77 Remove `keys.py` and replace with `python-dotenv`.
- Removed `keys.py`.
- Added `.env.template`.
- Added `.env` to `.gitignore`.
- Updated various files that imported `keys` to use `os.getenv` instead.
- Updated `requirements.txt` dependencies.
- Updated README.md with instructions on setting up environment variables.

This change improves security, flexibility, and makes it easier to use Auto-GPT in notebooks. Environment variables are stored in `.env` and loaded via `load_dotenv()` in `scripts/main.py`.
2023-04-02 06:39:55 -04:00
James C. Palmer cffe083ff2 Move requirements.txt to root directory. 2023-04-02 05:44:45 -04:00