Phoenix21 commited on
Commit
76f6ca7
·
verified ·
1 Parent(s): b30f596

Update pipeline.py

Browse files
Files changed (1) hide show
  1. pipeline.py +3 -3
pipeline.py CHANGED
@@ -219,9 +219,9 @@ brand_store_dir = "faiss_brand_store"
219
  wellness_vectorstore = build_or_load_vectorstore(wellness_csv, wellness_store_dir)
220
  brand_vectorstore = build_or_load_vectorstore(brand_csv, brand_store_dir)
221
 
222
- gemini_llm = LiteLLMModel(model_id="gemini/gemini-pro", api_key=os.environ.get("GEMINI_API_KEY"))
223
- wellness_rag_chain = build_rag_chain(gemini_llm, wellness_vectorstore)
224
- brand_rag_chain = build_rag_chain(gemini_llm, brand_vectorstore)
225
 
226
  # Function to wrap up and run the chain
227
  def run_with_chain(query: str) -> str:
 
219
  wellness_vectorstore = build_or_load_vectorstore(wellness_csv, wellness_store_dir)
220
  brand_vectorstore = build_or_load_vectorstore(brand_csv, brand_store_dir)
221
 
222
+ # gemini_llm = LiteLLMModel(model_id="gemini/gemini-pro", api_key=os.environ.get("GEMINI_API_KEY"))
223
+ wellness_rag_chain = build_rag_chain( wellness_vectorstore)
224
+ brand_rag_chain = build_rag_chain( brand_vectorstore)
225
 
226
  # Function to wrap up and run the chain
227
  def run_with_chain(query: str) -> str: