Spaces:
Build error
Build error
Update pipeline.py
Browse files- pipeline.py +1 -1
pipeline.py
CHANGED
|
@@ -600,7 +600,7 @@ def run_with_chain(query: str) -> str:
|
|
| 600 |
3) If not refused, check if query is aggression/ethical => route to chain
|
| 601 |
4) Otherwise classify => brand/wellness/out-of-scope => RAG => tailor
|
| 602 |
"""
|
| 603 |
-
with tracer.new_trace(name="wellness_pipeline_run") as run:
|
| 604 |
start_time = time.time()
|
| 605 |
try:
|
| 606 |
# 1) Validate
|
|
|
|
| 600 |
3) If not refused, check if query is aggression/ethical => route to chain
|
| 601 |
4) Otherwise classify => brand/wellness/out-of-scope => RAG => tailor
|
| 602 |
"""
|
| 603 |
+
# with tracer.new_trace(name="wellness_pipeline_run") as run:
|
| 604 |
start_time = time.time()
|
| 605 |
try:
|
| 606 |
# 1) Validate
|