File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
libs/ragulate/ragstack_ragulate/pipelines Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ def get_ingredients(
35
35
"""Return ingredients for the given method params."""
36
36
ingredients = {}
37
37
for method_param in method_params :
38
- if method_param in reserved_params or method_param in ["kwargs" ]:
38
+ if method_param in reserved_params or method_param in ["kwargs" , "_" ]:
39
39
continue
40
40
if method_param not in passed_ingredients :
41
41
raise ValueError (
Original file line number Diff line number Diff line change
1
+ # ruff: noqa: T201
1
2
import random
2
3
import signal
3
4
import time
@@ -192,6 +193,8 @@ def query(self):
192
193
pipeline = query_method (** self .ingredients )
193
194
llm_provider = self .get_provider ()
194
195
196
+ print (f"Using provider: { llm_provider } for evaluation." )
197
+
195
198
feedbacks = Feedbacks (llm_provider = llm_provider , pipeline = pipeline )
196
199
197
200
self .start_evaluation ()
@@ -240,7 +243,7 @@ def query(self):
240
243
err = f"Query: '{ query } ' caused exception, skipping."
241
244
logger .exception (err )
242
245
# TODO: figure out why the logger isn't working after tru-lens starts. For now use print(). # noqa: E501
243
- print (f"{ err } Exception { e } " ) # noqa: T201
246
+ print (f"{ err } Exception { e } " )
244
247
finally :
245
248
self .update_progress (query_change = 1 )
246
249
You can’t perform that action at this time.
0 commit comments