Skip to content

Commit

Permalink
Update server to turn of evaluator
Browse files Browse the repository at this point in the history
  • Loading branch information
MohammadrezaPourreza committed Nov 15, 2023
1 parent 0297e5a commit b8dc51f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dataherald/api/fastapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def scan_db(
@override
def answer_question(
self,
run_evaluator: bool = False,
run_evaluator: bool = True,
generate_csv: bool = False,
question_request: QuestionRequest = None,
) -> Response:
Expand Down Expand Up @@ -192,7 +192,7 @@ def answer_question(
@override
def answer_question_with_timeout(
self,
run_evaluator: bool = False,
run_evaluator: bool = True,
generate_csv: bool = False,
question_request: QuestionRequest = None,
) -> Response:
Expand Down
2 changes: 1 addition & 1 deletion dataherald/server/fastapi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def scan_db(

def answer_question(
self,
run_evaluator: bool = True,
run_evaluator: bool = False,
generate_csv: bool = False,
question_request: QuestionRequest = None,
) -> Response:
Expand Down

0 comments on commit b8dc51f

Please sign in to comment.