Commit Graph

107 Commits (ee4043ae19129eece625adb84ac06b24aa3efddd)

Author SHA1 Message Date
Tymec 2a147acd3f refactor: fix typo
Changed all occurrences of "embeder" to "embedder".
2023-04-14 17:58:29 +02:00
Tymec 653904a359 chore: added memory embeder option to dotenv template 2023-04-14 15:07:13 +02:00
Maiko Bossuyt e147788c72
Update .env.template
BROWSE_CHUNK_MAX_LENGTH default value
2023-04-14 10:33:34 +02:00
meta-fx 2fd96b68bd Added new line and elevenlabs elements back to the env 2023-04-14 01:28:47 -05:00
meta-fx 3d783e08bc Resolved conflicts 2023-04-13 22:47:21 -05:00
Maiko Bossuyt c4a45eb406
Merge branch 'master' into add_website_memory 2023-04-14 00:45:41 +02:00
Eesa Hamza 47b72df262 Added 'AI_SETTINGS_FILE' to .env 2023-04-14 01:20:43 +03:00
cs0lar 067e697b8b fixed weaviate test and fixed conflicts 2023-04-13 18:24:43 +01:00
lekapsy c0beeeb6b2
Merge branch 'master' into patch-1 2023-04-13 18:13:32 +02:00
Maiko Bossuyt 1b49c1d37a
Merge branch 'master' into add_website_memory 2023-04-13 13:47:46 +02:00
Peter Edwards 84c72d4f8c Merge remote-tracking branch 'upstream/master' into more_azure 2023-04-13 08:35:13 +02:00
Richard Beales 886117d82e
Merge pull request #1028 from merwanehamadi/feature/add-ability-change-temperature
Feature/add ability change temperature
2023-04-13 07:28:15 +01:00
Richard Beales 8e30edba2c
Merge pull request #463 from muellerberndt/shellcommands
Add capability to execute shell commands
2023-04-13 07:16:52 +01:00
Peter Edwards bcdb4e476f Merge remote-tracking branch 'upstream/master' into more_azure 2023-04-13 08:12:29 +02:00
Merwane Hamadi 046c49c90b add temperature to .env.template 2023-04-12 16:28:21 -07:00
Maiko Bossuyt 1c64a9d245 Update .env.template 2023-04-12 23:33:14 +02:00
Maiko Bossuyt 3a2ccbd02f
Merge branch 'master' into add_website_memory 2023-04-12 23:18:09 +02:00
cs0lar 5592dbd277 resolved latest conflicts 2023-04-12 19:54:56 +01:00
lekapsy f9e104208d
Merge branch 'master' into patch-1 2023-04-12 20:40:05 +02:00
Seth T d24c4af37d
Merge branch 'master' into add-documentation-for-caching-types 2023-04-12 14:27:07 -04:00
cs0lar 530894608b added support of API key based auth 2023-04-12 19:09:52 +01:00
cs0lar b9a4f97790 resolved latest conflicts 2023-04-12 18:52:06 +01:00
lekapsy 7729f198d4
Merge branch 'master' into patch-1 2023-04-12 19:17:34 +02:00
Richard Beales 9c9758c720
Merge pull request #700 from Rokniel/azure-deployment-additions
Add required env parameters for azure usage
2023-04-12 18:08:54 +01:00
lekapsy d237cf3d87
Improve .env File Organization, Readability, and Documentation
This pull request aims to enhance the organization, readability, and understanding of the .env.template file for users when they modify the settings. The changes include organizing the file in a tree-like structure with appropriate comments, providing clear guidance for users about the purpose of each variable, their possible values, and default settings when applicable.

As a user with no prior knowledge of best practices of contributing to a project / .env.template file documentation, I took the liberty to make changes to the file based on what I would have liked to have seen when I first encountered it. My goal was to include every configurable option for ease of use and better understanding of how the code works.

The key improvements made in this pull request are:

1. Grouping related variables under appropriate headers for better organization and ease of navigation.
2. Adding informative comments for each variable to help users understand their purpose and possible values.
3. Including default values in the comments to inform users of the consequences of not providing a specific value for a variable, allowing them to make 
    informed decisions when configuring the application.
4. Formatting the file consistently for better readability.

These changes will enhance user experience by simplifying the configuration process and reducing potential confusion. Users can quickly and easily configure the application without having to search through the code to determine default values or understand the relationship between various settings. Additionally, well-organized code and documentation can lead to fewer issues and misunderstandings, saving time for both users and maintainers of the project.

Please review these changes and let me know if you have any questions or suggestions for further improvement so I can make any necessary adjustments.
2023-04-12 18:54:10 +02:00
Bernhard Mueller 15dffed6e5 Merge branch 'master' of github.com:Torantulino/Auto-GPT into shellcommands 2023-04-12 23:15:31 +07:00
Maiko Bossuyt c986e87135 Edit config Class to manage browse_website command chunk size and summary size
I added two new config parameters:

- browse_chunk_max_length: define the max_length of a chunk being sent to the memory and to FAST_LLM_MODEL for summarizing

- browse_summary_max_token: define the max_token passed to the model use for summary creation. Changing this can help with complex subject, allowing the agent to be more verbose in its attemps to summarize the chunk and the chunks summary.

I've also edited the way the user_agent is handle.
2023-04-12 16:36:27 +02:00
Peter Edwards 6fa9501251
Merge branch 'Torantulino:master' into more_azure 2023-04-12 13:28:23 +02:00
Peter Edwards 650e2dcd6d cleaned up .env to move Azure config to separate azure.yaml file
updated README.md to explain new config
added Azure yaml loader to config class
centralized model retrieval into config class
this commit effectively combines and replaces #700 and #580
2023-04-12 11:27:37 +02:00
cs0lar f2a6ac5dc2 fixed order and removed dupes 2023-04-12 09:20:29 +01:00
cs0lar 453b428d33 added support for weaviate embedded 2023-04-12 08:21:41 +01:00
Dill 15ee80e87d
Newline at end of file 2023-04-11 22:05:07 -07:00
cs0lar 96c5e929be added support for weaviate embedded 2023-04-12 05:40:24 +01:00
Dill f8438aabc2 Added option for custom elevenlabs voice IDs. 2023-04-11 21:37:03 -07:00
crimson-knight 10b7d8e376 Adds information on how to use the other cache methods available 2023-04-11 07:46:25 -04:00
Peter Edwards 9d33a75083 Changes for Azure embedding handling 2023-04-11 13:45:37 +02:00
cs0lar 5fe784aabe added weaviate to the supported vector memory providers 2023-04-11 11:14:13 +01:00
Rokniel 63d3238c6c
Merge branch 'master' into azure-deployment-additions 2023-04-11 12:21:46 +03:00
Bernhard Mueller aba7956f10
Merge branch 'master' into shellcommands 2023-04-11 09:25:53 +07:00
meta-fx 0cf790b633 Added new env variable and speech function for alternative TTS voice 2023-04-10 20:00:43 -05:00
Toran Bruce Richards dbc353ad20
Merge branch 'master' into patch-1 2023-04-10 22:50:45 +01:00
Toran Bruce Richards cdcec2f619
Merge pull request #648 from pratiksinghchauhan/fix-#323-error-communicating-to-openai
Fix #323 Error communicating with OpenAI: Invalid URL 'your-base-url-for-azure/embeddings'
2023-04-10 22:46:46 +01:00
Kari Ahdan a504f0bdd3 Add required env parameters for azure usage 2023-04-10 16:43:06 +03:00
Phoebe Bright d304740f9d
Update .env.template
Remove quotes for model variables that can lead to the model not being recognised and error num_tokens_from_messages() is not implemented for model
2023-04-10 14:17:56 +01:00
Wlad 2facc3e2cb add config for mac os tts 2023-04-10 11:11:03 +02:00
pratiksinghchauhan 13467259b4 fix: #323 Error communicating with OpenAI 2023-04-10 12:07:37 +05:30
Bernhard Mueller 09d2f47e08 Introduce EXECUTE_SHELL_COMMANDS config var, default to False 2023-04-10 11:01:48 +07:00
cs0lar 97ac802f0c resolved conflicts between master and feature/weaviate-memory 2023-04-08 15:38:21 +01:00
cs0lar 986d32ca42 added support for multiple memory provider and added weaviate integration 2023-04-07 20:41:07 +01:00
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