We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac7b57e commit a589f76Copy full SHA for a589f76
models/pinecone.py
@@ -107,8 +107,9 @@ def pinecone(self):
107
"""Pinecone lazy read-only property."""
108
if self._pinecone is None:
109
print("Initializing Pinecone...")
110
- print(f"API Key: {settings.pinecone_api_key.get_secret_value()}")
111
- self._pinecone = Pinecone(api_key=settings.pinecone_api_key.get_secret_value())
+ api_key = settings.pinecone_api_key.get_secret_value()
+ print(f"API Key: {api_key[:12]}****------")
112
+ self._pinecone = Pinecone(api_key=api_key)
113
return self._pinecone
114
115
@property
0 commit comments