diff --git a/README.md b/README.md index 3e41536192..18809f5877 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/scripts/commands.py b/scripts/commands.py index 5415c1e046..ce5d04ff48 100644 --- a/scripts/commands.py +++ b/scripts/commands.py @@ -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." \ No newline at end of file + return f"Agent {key} deleted." diff --git a/scripts/memory/pinecone.py b/scripts/memory/pinecone.py index 287bc1dc26..d89daf2527 100644 --- a/scripts/memory/pinecone.py +++ b/scripts/memory/pinecone.py @@ -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() \ No newline at end of file + return self.index.describe_index_stats() diff --git a/scripts/memory/weaviate.py b/scripts/memory/weaviate.py index b6032648d5..d29192eacd 100644 --- a/scripts/memory/weaviate.py +++ b/scripts/memory/weaviate.py @@ -97,4 +97,4 @@ class WeaviateMemory(MemoryProviderSingleton): .do() class_data = result['data']['Aggregate'][self.index] - return class_data[0]['meta'] if class_data else {} \ No newline at end of file + return class_data[0]['meta'] if class_data else {}