Commit Graph

8 Commits (816dc14d823f470e8679c9da5a06c2629e9ddc5c)

Author SHA1 Message Date
blankey1337 f3e64ec4e9
feat(ImageGen): support env vars, update readme 2023-04-07 11:29:43 -07:00
Toran Bruce Richards 9067a523fe
Merge branch 'master' into pinecone-memory 2023-04-06 11:05:01 +01:00
douglas 475671d1e8 Pinecone memory and memory usage tracking 2023-04-05 16:20:43 -04:00
Peter Edwards a868a39b88 Added functionality to allow the use of GPT on a Microsoft Azure instance 2023-04-05 19:44:28 +02:00
russellocean 064a2af9b5
Added back .env.template 2023-04-03 17:29:55 -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
Taylor Brown 80ccd10d0b Use gpt-4 by default for the main thought process
Allow specifying the llm through dotenv
Move more things into config
2023-04-02 21:35: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