File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 1313from ragas .executor import Executor
1414from ragas .llms import LlamaIndexLLMWrapper
1515from ragas .validation import EVALMODE_TO_COLUMNS , validate_evaluation_modes
16+ from ragas .run_config import RunConfig
1617
1718if t .TYPE_CHECKING :
1819 from llama_index .core .base .embeddings .base import (
@@ -48,6 +49,7 @@ def evaluate(
4849 embeddings : t .Optional [LlamaIndexEmbeddings ] = None ,
4950 raise_exceptions : bool = True ,
5051 column_map : t .Optional [t .Dict [str , str ]] = None ,
52+ run_config : t .Optional [RunConfig ] = None ,
5153) -> Result :
5254 column_map = column_map or {}
5355
@@ -67,6 +69,7 @@ def evaluate(
6769 desc = "Running Query Engine" ,
6870 keep_progress_bar = True ,
6971 raise_exceptions = raise_exceptions ,
72+ run_config = run_config ,
7073 )
7174
7275 # get query
You can’t perform that action at this time.
0 commit comments