Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Torantulino/Auto-GPT into redis-b…
Browse files Browse the repository at this point in the history
…ackend
  • Loading branch information
BillSchumacher committed Apr 8, 2023
2 parents 503b58b + c0aacac commit d7ccaf4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ Your support is greatly appreciated
## 📋 Requirements
- [Python 3.7 or later](https://www.tutorialspoint.com/how-to-install-python-in-windows)
- OpenAI API key
- PINECONE API key

Optional:
- ElevenLabs Key (If you want the AI to speak)
Expand Down
3 changes: 2 additions & 1 deletion scripts/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,10 +281,11 @@ def parse_arguments():
# Make a constant:
user_input = "Determine which next command to use, and respond using the format specified above:"

# raise an exception if pinecone_api_key or region is not provided
if not cfg.pinecone_api_key or not cfg.pinecone_region: raise Exception("Please provide pinecone_api_key and pinecone_region")
# Initialize memory and make sure it is empty.
# this is particularly important for indexing and referencing pinecone memory
memory = get_memory(cfg, init=True)

print('Using memory of type: ' + memory.__class__.__name__)

# Interaction Loop
Expand Down

0 comments on commit d7ccaf4

Please sign in to comment.