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