mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-01-19 14:04:29 +01:00
fixed formatting
This commit is contained in:
@@ -185,7 +185,6 @@ Pinecone enables the storage of vast amounts of vector-based memory, allowing fo
|
||||
2. Choose the `Starter` plan to avoid being charged.
|
||||
3. Find your API key and region under the default project in the left sidebar.
|
||||
|
||||
|
||||
### Setting up environment variables
|
||||
|
||||
Simply set them in the `.env` file.
|
||||
@@ -193,7 +192,6 @@ Simply set them in the `.env` file.
|
||||
Alternatively, you can set them from the command line (advanced):
|
||||
|
||||
For Windows Users:
|
||||
|
||||
```
|
||||
setx PINECONE_API_KEY "YOUR_PINECONE_API_KEY"
|
||||
setx PINECONE_ENV "Your pinecone region" # something like: us-east4-gcp
|
||||
|
||||
@@ -298,4 +298,4 @@ def delete_agent(key):
|
||||
result = agents.delete_agent(key)
|
||||
if not result:
|
||||
return f"Agent {key} does not exist."
|
||||
return f"Agent {key} deleted."
|
||||
return f"Agent {key} deleted."
|
||||
|
||||
@@ -47,4 +47,4 @@ class PineconeMemory(MemoryProviderSingleton):
|
||||
return [str(item['metadata']["raw_text"]) for item in sorted_results]
|
||||
|
||||
def get_stats(self):
|
||||
return self.index.describe_index_stats()
|
||||
return self.index.describe_index_stats()
|
||||
|
||||
@@ -97,4 +97,4 @@ class WeaviateMemory(MemoryProviderSingleton):
|
||||
.do()
|
||||
class_data = result['data']['Aggregate'][self.index]
|
||||
|
||||
return class_data[0]['meta'] if class_data else {}
|
||||
return class_data[0]['meta'] if class_data else {}
|
||||
|
||||
Reference in New Issue
Block a user