From 0eff60425882758fb8080cb7f3a52f5bce2ba9c3 Mon Sep 17 00:00:00 2001 From: Shreyas Mocherla Date: Wed, 31 Jul 2024 10:34:13 +0530 Subject: [PATCH] Update environment variables in .envrc --- .envrc | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/.envrc b/.envrc index 5d46d28..73d6bb0 100644 --- a/.envrc +++ b/.envrc @@ -1,15 +1,17 @@ -export TGI_HOST=131.151.90.37 -export TGI_PORT=8080 -export TEI_HOST=131.151.90.37 -export TEI_PORT=8081 -export RERANKER_HOST=131.151.90.37 -export RERANKER_PORT=8082 -export VECTORDB_HOST=131.151.90.37 +export TGI_HOST=192.168.0.203 +export TGI_PORT=80 +export TEI_HOST=192.168.0.202 +export TEI_PORT=80 +export RERANKER_HOST=192.168.0.205 +export RERANKER_PORT=80 +export VECTORDB_HOST=192.168.0.204 export VECTORDB_PORT=8000 export STOP_TOKEN="<|endoftext|>" -export HUGGINGFACEHUB_API_TOKEN="hf_token" -export TAVILY_API_KEY="tavily_api_key" -export STACK_OVERFLOW_API_KEY="stack_exchange_api_key" -export PORTKEY_API_KEY="portkey_api_key" +export HUGGINGFACEHUB_API_TOKEN="$(cat ~/.hf_token)" #Replace with your own Hugging Face API token +export TAVILY_API_KEY="$(cat ~/.tavily_token)" #Replace with your own Tavily API key +export STACK_OVERFLOW_API_KEY="$(cat ~/.stack_exchange_token)" #Replace with your own Stack Exchange API key +export PORTKEY_API_KEY="portkey_api_key" #Replace with your own Portkey API key export PORTKEY_PROVIDER="llm_provider_name" export PORTKEY_CUSTOM_HOST="llm_provider_host_ip_and_port" #Only if LLM is locally hosted +export USE_PORTKEY="0" +export ENABLE_RERANKER="1"