Skip to content

Commit

Permalink
Added PINECONE_KEY variable for the tests
Browse files Browse the repository at this point in the history
Signed-off-by: pallavi jaini <[email protected]>
  • Loading branch information
pallavijaini0525 committed Aug 12, 2024
1 parent d70446a commit c446e8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_dataprep_pinecone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion tests/test_retrievers_langchain_pinecone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c446e8c

Please sign in to comment.