techwithtim / PythonAgentAI

123 stars 88 forks source link

Getting different errors like "cannot be loaded because running scripts is disabled" and "HTTP/1.1 429 too many requests" from OpenAI API #5

Open ikthedar opened 2 weeks ago

ikthedar commented 2 weeks ago

I have followed the tutorial till querying unstructured data source. Changed the import to core/experimental from llama_index. I get this error when run the main.py `& : File C:\Users\User\Desktop\Software_AI_Coding\Agent AI\ai\Scripts\Activate.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170. At line:1 char:3

pavlicic1marko commented 6 days ago

Hi, I did not have this issue. Maybe you need to add money (credits) to your Open AI account that is linked to your "OpenAI API key"