From 444b707ad376c2a31a04cbdfcb523a4130943d1e Mon Sep 17 00:00:00 2001 From: Mark McFadden Date: Sat, 10 Jun 2023 18:45:24 +0000 Subject: [PATCH 1/3] feat: :fire: Add .gitignore to not include the .env file. --- .gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4c49bd7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.env From 31a2ba11185ae57e9c23198a9331348335d8b0f1 Mon Sep 17 00:00:00 2001 From: Mark McFadden Date: Sat, 10 Jun 2023 18:48:35 +0000 Subject: [PATCH 2/3] feat: :zap: Remove .env file --- .env | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.env b/.env index 0612584..1a84415 100644 --- a/.env +++ b/.env @@ -7,13 +7,13 @@ ### CHATGPT ## CHATGPT_TOKEN - ChatGPT Token (Go to https://chat.openai.com/chat and open the developer tools by F12. ## Find the __Secure-next-auth.session-token cookie in Application > Storage > Cookies > https://chat.openai.com -## Copy the value in the Cooki2e Value field.) +## Copy the value in the Cookie Value field.) ## USE_EXISTING_CHAT - Use an existing chat (Default: False) ## CHAT_ID - Insert Chat-ID (chat.openai.com/c/(IT'S THIS ->)58XXXX0f-XXXX-XXXX-XXXX-faXXXXd2b50f) -CHATGPT_TOKEN=your-chatgpt-token +CHATGPT_TOKEN=eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIn0..wh7yreCU_hrNc9k3.p3TZSSEAWClDJiDJm0uTVXNOxtEDmZTzdEjz1wik4UlnzleF7K_j9lycRnzZ2KQ8kXxiqmfECltGmKafWdYiKuXm3DrWQifnefYwr64ZvJR9-aLmjE_VDnh2-CdivxqLjBwqaDKpyCKE6Im-w7GiTtH72FYbfflv-A_5tXMAOqh5nvEohO0Onle2s3RU4bWFYMjmFbu1IPl9wdnO0A_lXW2p2yBR8H9HKYfJOLuN8qbvWxstOHX13irBz1mLJdiHBB4EuMfL8aDjNq2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I4914xTGdG-EVyxSTewOsj2_IFxSisNiNnSggPW8qJipXhU5a6IJfO-U7Oi_865vnt4NfALYULdxQVetcTu9GuxiEMp3Ty0dQvwqtD5bxCxhFaZxufPdonEVJgGI9T48YWzv3nqr1kCQspZ-oV0pHDEi7gzVCR3MEtlb5AfUdRauK34KhnvLT0oMYLPiGMHqQrcy2vxYnNnOu3AmZxLRiNfbJ8.sa6mtDZjcEetb-eQi9XhZw # REQUIRED CHATGPT PLUS subscription for use GPT4 model USE_GPT4 = False From 9dbeb5ad9b368c3923b843911363818d96cbbac0 Mon Sep 17 00:00:00 2001 From: Mark McFadden Date: Sat, 10 Jun 2023 19:17:40 +0000 Subject: [PATCH 3/3] doc: :pencil2: Updated various spelling errors Updated various spelling errors and re-worded certain phrases to make them more understandable at least to American English readers. --- README.md | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 78d30f6..02d25c7 100644 --- a/README.md +++ b/README.md @@ -16,9 +16,9 @@ For any problem open an ISSUE 🚬, the project is very simple so any help is we By the way, thank you so much for [![Stars](https://img.shields.io/github/stars/IntelligenzaArtificiale/Free-AUTOGPT-with-NO-API?style=social)](https://github.com/IntelligenzaArtificiale/Free-AUTOGPT-with-NO-API/stargazers) and all the support!! -## WHY THIS REPOSITORY ? 🤔 +## WHY THIS REPOSITORY? 🤔 -Hello everyone :smiling_face_with_three_hearts: , +Hello everyone, I wanted to start by **talking about how important it is to democratize AI**. Unfortunately, most new applications or discoveries in this field end up enriching some big companies, leaving behind small businesses or simple projects. One striking example of this is Autogpt, an autonomous AI agent capable of performing tasks. @@ -76,7 +76,7 @@ I believe that by providing free and open-source AI tools, we can give small bus 1. Go to https://chat.openai.com/chat and open the developer tools by `F12`. 2. Find the `__Secure-next-auth.session-token` cookie in `Application` > `Storage` > `Cookies` > `https://chat.openai.com`. 3. Copy the value in the `Cookie Value` field in `.env` file. - 4. If you have Plus subscription you can use GPT4. Edit in `.env` file this line : `USE_GPT4 = True` + 4. If you have the Plus subscription you can use GPT4. Edit in `.env` file this line : `USE_GPT4 = True` ![image](https://user-images.githubusercontent.com/19218518/206170122-61fbe94f-4b0c-4782-a344-e26ac0d4e2a7.png) @@ -89,7 +89,7 @@ I believe that by providing free and open-source AI tools, we can give small bus - **(OPTIONAL) Google Bard🖥** : - 1. Go toGo to https://bard.google.com/ and open the developer tools by `F12`. + 1. Go to https://bard.google.com/ and open the developer tools by `F12`. 2. Find the `__Secure-1PSID` cookie in `Application` > `Storage` > `Cookies` 3. Copy the value in the `Cookie Value` field in `.env` file. @@ -128,7 +128,7 @@ I believe that by providing free and open-source AI tools, we can give small bus Open the file called `.env` . -If you dont see the file, open your file manger and check for **`Show hidden file`** . +If you don't see the file, open your file manager and check for **`Show hidden file`** . Now add you Cookie and Token in `.env` file . @@ -142,18 +142,18 @@ Now add you Cookie and Token in `.env` file .
-## Local using with Dev Container in VSCode by [@FlamingFury00](https://github.com/FlamingFury00)🚀 +## Develop locally with Dev Containers in VSCode by [@FlamingFury00](https://github.com/FlamingFury00)🚀 -🚀Added the possibility to use Docker image using Dev Container in VSCode. How to run it : +🚀Added the possibility to use Docker image using Dev Containers in VSCode. How to run it : - Install [Docker Desktop](https://docs.docker.com/desktop/) - Install Visual Studio Code -- Open Visual Studio and go to **Extensions -> search for Dev Container -> install it** +- Open Visual Studio and go to **Extensions -> search for `Dev Containers` -> install it** - Restart Visual Studio - Go to the project folder, **right click** and **"Open in Visual Studio Code"** - It will ask you to reopen in a Docker Container -- Click **"Reopen"** and wait for it to be complete **(you need to have Docker Desktop opened)** +- Click **"Reopen"** and wait for it to be completed **(you need to have Docker Desktop opened)**
@@ -171,14 +171,14 @@ Now add you Cookie and Token in `.env` file . **RUN NOW ON COLAB😮** [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/14854fi6oO4lXqR3_mt6tc2Lr2IsA12oq?usp=sharing) -⚠️ Abusing this tool is at your own risk +⚠️ Abuse this tool at your own risk **Or use Locally :** -- Dowload the repository [FREE AUTOGPT REPOSITORY](https://github.com/IntelligenzaArtificiale/Free-AUTOGPT-with-NO-API) -- install using **Dev Container in VSCode** or `python3 -m pip install -r requirements.txt` +- Download the repository [FREE AUTOGPT REPOSITORY](https://github.com/IntelligenzaArtificiale/Free-AUTOGPT-with-NO-API) +- install using **Dev Containers in VSCode** or `python3 -m pip install -r requirements.txt` - insert the **.env file** yours Token -- if you dont see the **.env file** check "Show hidden file" in your file manger +- if you don't see the **.env file** check "Show hidden file" in your File Manger - Usage: **python BABYAGI.py** @@ -202,13 +202,13 @@ https://user-images.githubusercontent.com/108482353/234963635-004adace-36ab-46de **RUN NOW ON COLAB😮** [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/14854fi6oO4lXqR3_mt6tc2Lr2IsA12oq?usp=sharing) -⚠️ Abusing this tool is at your own risk +⚠️ Abuse this tool at your own risk **Or use Locally :** -- Dowload the repository [FREE AUTOGPT REPOSITORY](https://github.com/IntelligenzaArtificiale/Free-AUTOGPT-with-NO-API) -- install using **Dev Container in VSCode** or `python3 -m pip install -r requirements.txt` +- Download the repository [FREE AUTOGPT REPOSITORY](https://github.com/IntelligenzaArtificiale/Free-AUTOGPT-with-NO-API) +- install using **Dev Containers in VSCode** or `python3 -m pip install -r requirements.txt` - insert the **.env file** yours Token -- if you dont see the **.env file** check "Show hidden file" in your file manger +- if you don't see the **.env file** check "Show hidden file" in your File Manger - Usage: **python AUTOGPT.py** @@ -231,8 +231,8 @@ https://user-images.githubusercontent.com/108482353/234947600-1df35b1f-6505-40f9 ⚠️ Abusing this tool is at your own risk **Or use Locally :** -- Dowload the repository [FREE AUTOGPT REPOSITORY](https://github.com/IntelligenzaArtificiale/Free-AUTOGPT-with-NO-API) -- install using **Dev Container in VSCode** or `python3 -m pip install -r requirements.txt` +- Download the repository [FREE AUTOGPT REPOSITORY](https://github.com/IntelligenzaArtificiale/Free-AUTOGPT-with-NO-API) +- install using **Dev Containers in VSCode** or `python3 -m pip install -r requirements.txt` - cd OtherAgent/ - Choose or develop your agent [ csvAgent.py ; pythonAgent.py ; customAgent.py ] - Usage: **python YourAgent.py** @@ -259,7 +259,7 @@ https://user-images.githubusercontent.com/108482353/235354639-998f0a40-3d2d-4f33 ⚠️ Abusing this tool is at your own risk **Or use Locally :** -- Dowload the repository [FREE AUTOGPT REPOSITORY](https://github.com/IntelligenzaArtificiale/Free-AUTOGPT-with-NO-API) +- Download the repository [FREE AUTOGPT REPOSITORY](https://github.com/IntelligenzaArtificiale/Free-AUTOGPT-with-NO-API) - `python3 -m pip install -r requirements.txt` - `streamlit run Camel.py` @@ -276,7 +276,7 @@ https://user-images.githubusercontent.com/108482353/235199747-c2dbdd27-80d6-4950
-## HOW IT WORK ? 🔨🔩 +## HOW IT WORKS ? 🔨🔩 @@ -399,7 +399,7 @@ llm = ChatGPTAPI.ChatGPT((token="YOURTOKEN") # or use Google BArd CHAT # llm=BardChatAPI.BardChat(cookie="cookie") -# or use HuggingChatAPI if u dont have CHATGPT, BING or Google account +# or use HuggingChatAPI if u don't have CHATGPT, BING or Google account # llm = HuggingChatAPI.HuggingChat() @@ -490,7 +490,7 @@ By the way, thank you so much for [![Stars](https://img.shields.io/github/stars/ - [x] Add QA web page Tool - [x] Finally AUTOGPT without paids API - [x] Make a Colab Notebook for make this repository accessible to anyone -- [x] Local using with Dev Container in VSCode by [@FlamingFury00](https://github.com/FlamingFury00) +- [x] Local using with Dev Containers in VSCode by [@FlamingFury00](https://github.com/FlamingFury00) - [ ] Add other free Custom LLM wrapper [Add this](https://github.com/xtekky/gpt4free) - [ ] Add long term memory - [ ] Find a way to replace PINECONE api