Spaces:
Sleeping
Sleeping
Update pipeline.py
Browse files- 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(
|
| 224 |
-
brand_rag_chain = build_rag_chain(
|
| 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:
|