Default to querying from live website if pinecone url not in .env

# Default to querying embeddings from live website if pinecone url not
# present in .env
#
# This helps people getting started developing or messing around with the
# site, since setting up a vector DB with the embeddings is by far the
# hardest part for those not already on the team.
This commit is contained in:
Fraser
2023-05-23 17:24:04 -04:00
parent 5d927b2afc
commit 844ce744e6
6 changed files with 60 additions and 28 deletions
+2 -2
View File
@@ -1,3 +1,3 @@
OPENAI_API_KEY="sk-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
PINECONE_API_KEY="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
LOGGING_URL="" # leave blank if you're not testing logging specifically
PINECONE_API_KEY="" # leave blank to use our online API instead
LOGGING_URL="" # leave blank if you're not testing logging specifically