Skip to content
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

Pinecone #3054

Closed
1 task done
Xerizaf opened this issue Apr 23, 2023 · 8 comments
Closed
1 task done

Pinecone #3054

Xerizaf opened this issue Apr 23, 2023 · 8 comments
Labels
function: memory setup Issues with getting Auto-GPT setup on local machines Stale

Comments

@Xerizaf
Copy link

Xerizaf commented Apr 23, 2023

⚠️ Search for existing issues first ⚠️

  • I have searched the existing issues, and there is no existing issue for my problem

Which Operating System are you using?

Windows

Which version of Auto-GPT are you using?

Latest Release

GPT-3 or GPT-4?

GPT-3.5

Steps to reproduce 🕹

Run the program

Current behavior 😯

Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\aless\OneDrive\Desktop\Auto-GPT\autogpt_main
.py", line 5, in
autogpt.cli.main()
File "C:\Users\aless\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1130, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aless\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1055, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Users\aless\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1635, in invoke
rv = super().invoke(ctx)
^^^^^^^^^^^^^^^^^^^
File "C:\Users\aless\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aless\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 760, in invoke
return callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aless\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aless\OneDrive\Desktop\Auto-GPT\autogpt\cli.py", line 77, in main
from autogpt.agent.agent import Agent
File "C:\Users\aless\OneDrive\Desktop\Auto-GPT\autogpt\agent_init
.py", line 1, in
from autogpt.agent.agent import Agent
File "C:\Users\aless\OneDrive\Desktop\Auto-GPT\autogpt\agent\agent.py", line 3, in
from autogpt.app import execute_command, get_command
File "C:\Users\aless\OneDrive\Desktop\Auto-GPT\autogpt\app.py", line 26, in
from autogpt.commands.web_requests import scrape_links, scrape_text
File "C:\Users\aless\OneDrive\Desktop\Auto-GPT\autogpt\commands\web_requests.py", line 16, in
memory = get_memory(CFG)
^^^^^^^^^^^^^^^
File "C:\Users\aless\OneDrive\Desktop\Auto-GPT\autogpt\memory_init
.py", line 50, in get_memory
memory = PineconeMemory(cfg)
^^^^^^^^^^^^^^^^^^^
File "C:\Users\aless\OneDrive\Desktop\Auto-GPT\autogpt\config\singleton.py", line 15, in call
cls._instances[cls] = super(Singleton, cls).call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aless\OneDrive\Desktop\Auto-GPT\autogpt\memory\pinecone.py", line 41, in init
pinecone.create_index(
File "C:\Users\aless\AppData\Local\Programs\Python\Python311\Lib\site-packages\pinecone\manage.py", line 118, in create_index
api_instance.create_index(create_request=CreateRequest(
File "C:\Users\aless\AppData\Local\Programs\Python\Python311\Lib\site-packages\pinecone\core\client\api_client.py", line 776, in call
return self.callable(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aless\AppData\Local\Programs\Python\Python311\Lib\site-packages\pinecone\core\client\api\index_operations_api.py", line 370, in __create_index
return self.call_with_http_info(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aless\AppData\Local\Programs\Python\Python311\Lib\site-packages\pinecone\core\client\api_client.py", line 838, in call_with_http_info
return self.api_client.call_api(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aless\AppData\Local\Programs\Python\Python311\Lib\site-packages\pinecone\core\client\api_client.py", line 413, in call_api
return self.__call_api(resource_path, method,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aless\AppData\Local\Programs\Python\Python311\Lib\site-packages\pinecone\core\client\api_client.py", line 207, in __call_api
raise e
File "C:\Users\aless\AppData\Local\Programs\Python\Python311\Lib\site-packages\pinecone\core\client\api_client.py", line 200, in __call_api
response_data = self.request(
^^^^^^^^^^^^^
File "C:\Users\aless\AppData\Local\Programs\Python\Python311\Lib\site-packages\pinecone\core\client\api_client.py", line 459, in request
return self.rest_client.POST(url,
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aless\AppData\Local\Programs\Python\Python311\Lib\site-packages\pinecone\core\client\rest.py", line 271, in POST
return self.request("POST", url,
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\aless\AppData\Local\Programs\Python\Python311\Lib\site-packages\pinecone\core\client\rest.py", line 230, in request
raise ApiException(http_resp=r)
pinecone.core.client.exceptions.ApiException: (400)
Reason: Bad Request
HTTP response headers: HTTPHeaderDict({'content-type': 'text/plain; charset=UTF-8', 'date': 'Sun, 23 Apr 2023 20:00:05 GMT', 'x-envoy-upstream-service-time': '1333', 'content-length': '131', 'server': 'envoy'})
HTTP response body: The index exceeds the project quota of 1 pods by 1 pods. Upgrade your account or change the project settings to increase the quota.

Expected behavior 🤔

To work properly

Your prompt 📝

# Paste your prompt here

Your Logs 📒

<insert your logs here>

2023-04-23 21:45:01,283 INFO -=-=-=-=-=-=-= COMMAND AUTHORISED BY USER -=-=-=-=-=-=-=
2023-04-23 21:45:03,227 INFO SYSTEM: Command google returned: [
{
"title": "The Current State of Dragon Ball Legends - 2nd Anniversary",
"href": "https://gamepress.gg/dblegends/current-state-dragon-ball-legends-2nd-anniversary",
"body": "Dragon Ball Legends' AI is… quite frustrating, especially in the hardest levels. This Game's concept of difficulty is essentially based on making the enemies have very high Stats as well as perfect reaction times, so Players often have to resort to exploits that take advantage of the AI's deficiencies in order to best it."
},
{
"title": "Dragon Ball Legends | DBZ Space",
"href": "https://legends.dbz.space/",
"body": "LEGENDS WEEKEND: 3 Days of Extra Fun at the End of Each Week! 04/18/2023 10:30 PM (PDT) ~ 12/31/2029 07:00 AM (PDT) Event."
},
{
"title": "my current state with legends as of lately. : r/DragonballLegends - Reddit",
"href": "https://www.reddit.com/r/DragonballLegends/comments/y577dg/my_current_state_with_legends_as_of_lately/",
"body": "For context, I joined the game back during the second anniversary but dropped the game until a year ago. Ive been playing consistently ever since the…"
},
{
"title": "[Gamepress]The Current State of Dragon Ball Legends - Reddit",
"href": "https://www.reddit.com/r/DragonballLegends/comments/hfo0vd/gamepressthe_current_state_of_dragon_ball_legends/",
"body": "Finally an article that provides correct criticism on today's state of the game. However you missed a tiny little point to address. That is the amount of various useless currencies like Z medals, Rush medals, rare medals because we get them in abundance and their shops have nothing really of value."
},
{
"title": "The Current State of Db Legends…|Dragonball Legends Discussion",
"href": "https://www.youtube.com/watch?v=wirP0mwA8zQ",
"body": "THE CURRENT STATE OF DB LEGENDS…|DRAGONBALL LEGENDS DISCUSSION 2 views Aug 30, 2022 2 Dislike Share Save JB PLAYZ 3.95K subscribers Thank you all for the love and support on our journey to 5k..."
},
{
"title": "Wow...... The Current State of Dragon Ball Legends.... - YouTube",
"href": "https://www.youtube.com/watch?v=3Ai1z6qDjSA",
"body": "The Current State of Dragon Ball Legends.... DBZoom 120K subscribers Subscribe 640 11K views 10 months ago #chronocrystals #goku #dblegends I Post Here Daily Everything DB Legends So..."
},
{
"title": "Characters | Dragon Ball Legends | DBZ Space",
"href": "https://legends.dbz.space/characters/",
"body": "Android #18. Metal Cooler. Ultimate Gohan Absorbed Buu: Super. Bergamo. zenkaier. Super Saiyan Trunks (Adult) (Rage) Zamasu: Goku Black (Assist) Nuova Shenron. God of Destruction Beerus."
},
{
"title": "Current State of Db Legends PvP! Beware! New Hack is not good news ...",
"href": "https://dragonball.fandom.com/f/p/4400000000000192096",
"body": "Current State of Db Legends PvP! Beware! New Hack is not good news! | Fandom Dragon Ball Wiki Explore Content Community About Us Dragon Ball Wiki 8,006 pages Explore Content Community About Us ALL POSTS Zeocx9040 · 8/16/2021 in Games Current State of Db Legends PvP! Beware! New Hack is not good news! UNLIMITED HEALTH HACK IN DRAGON BALL LEGENDS 😳!!"
}
]
2023-04-23 21:45:22,664 INFO THOUGHTS: I will use the 'browse_website' command to visit the Dragon Ball Legends subreddit and see what the community is saying about the current state of the game. This will help me identify specific areas that can be improved in the mod.
2023-04-23 21:45:23,166 INFO REASONING: By visiting the subreddit, I can get a sense of what the community thinks about the current state of the game and what changes they would like to see. This information can be used to improve the mod and make it more appealing to players.
2023-04-23 21:45:23,735 INFO PLAN:
2023-04-23 21:45:23,783 INFO - Use 'browse_website' to visit the Dragon Ball Legends subreddit\n- Read through posts and comments to identify areas for improvement\n- Use this information to make changes to the mod
2023-04-23 21:45:24,231 INFO CRITICISM: I need to be careful not to get too caught up in reading through posts and comments and waste time. I should focus on identifying actionable insights that can be used to improve the mod.
2023-04-23 21:45:24,738 INFO NEXT ACTION: COMMAND = browse_website ARGUMENTS = {'url': 'https://www.reddit.com/r/DragonballLegends/', 'question': 'areas for improvement in Dragon Ball Legends'}
2023-04-23 21:45:33,267 INFO -=-=-=-=-=-=-= COMMAND AUTHORISED BY USER -=-=-=-=-=-=-=

@Xerizaf
Copy link
Author

Xerizaf commented Apr 23, 2023

How to set Pinecone Index pods properly?

@k-boikov k-boikov added setup Issues with getting Auto-GPT setup on local machines function: memory labels Apr 23, 2023
@tenghanc
Copy link

i have the same question..its keeps going back to local memory

@JBR1325
Copy link

JBR1325 commented Apr 24, 2023

Same here, No matter how I enter my API or write pinecone it always runs on local memory.

@imag1neArts
Copy link

Pincone is still not working right after re-installing and with the right settings.

it give me this error:

FAILED TO CONNECT TO PINECONE ('401 Client Error: Unauthorized for url: https://controller.us-west1-gcp.pinecone.io/actions/whoami', 'API key is missing or invalid for the environment "us-west1-gcp". Check that the correct environment is specified.')
DOUBLE CHECK CONFIGURATION Please ensure you have setup and configured Pinecone properly for use.You can check out https://github.com/Torantulino/Auto-GPT#-pinecone-api-key-setup to ensure you've set up everything correctly.

this are my settings:

PINECONE_API_KEY=f.....7

PINECONE_ENV=us-west4-gcp

The system says "API key is missing or invalid for the environment "us-west1-gcp", but my settings are with us-west4

@JackONeill199
Copy link

https://status.pinecone.io/?utm_source=embed

Pinecone is taking care of exactly that problem right now. So most likely it's a problem with Pinecone.

@Freffles
Copy link

Freffles commented Apr 25, 2023

There is a workaround posted, not a great one but ...

https://status.pinecone.io/?utm_source=embed

"We’re having a problem with API keys in asia-northeast1-gcp. For the time being, please create a new project in a different region to set up your index"

@github-actions
Copy link
Contributor

github-actions bot commented Sep 6, 2023

This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.

@github-actions github-actions bot added the Stale label Sep 6, 2023
@github-actions
Copy link
Contributor

This issue was closed automatically because it has been stale for 10 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
function: memory setup Issues with getting Auto-GPT setup on local machines Stale
Projects
None yet
Development

No branches or pull requests

7 participants