From 56c043b4921329d4f67afd2e6d52b7374d0cb339 Mon Sep 17 00:00:00 2001 From: pallavi jaini Date: Thu, 8 Aug 2024 21:39:51 +0000 Subject: [PATCH] Added PINECONE_KEY variable for the tests --- tests/test_dataprep_pinecone.sh | 2 +- tests/test_retrievers_langchain_pinecone.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_dataprep_pinecone.sh b/tests/test_dataprep_pinecone.sh index 834eb92bc8..a92a86c649 100755 --- a/tests/test_dataprep_pinecone.sh +++ b/tests/test_dataprep_pinecone.sh @@ -14,7 +14,7 @@ function build_docker_images() { } function start_service() { - export PINECONE_API_KEY="f98c36ea-20fa-4d02-9ddc-d331739c4923" + export PINECONE_API_KEY=$PINECONE_KEY export PINECONE_INDEX_NAME="test-index" export HUGGINGFACEHUB_API_TOKEN=$HF_TOKEN diff --git a/tests/test_retrievers_langchain_pinecone.sh b/tests/test_retrievers_langchain_pinecone.sh index 519ef33c52..3e5215ba75 100755 --- a/tests/test_retrievers_langchain_pinecone.sh +++ b/tests/test_retrievers_langchain_pinecone.sh @@ -21,7 +21,7 @@ function start_service() { export TEI_EMBEDDING_ENDPOINT="http://${ip_address}:${tei_endpoint}" # pinecone retriever - export PINECONE_API_KEY="f98c36ea-20fa-4d02-9ddc-d331739c4923" + export PINECONE_API_KEY=$PINECONE_KEY export PINECONE_INDEX_NAME="langchain-test" export HUGGINGFACEHUB_API_TOKEN=$HF_TOKEN retriever_port=5009