Skip to content

Conversation

TheFloatingString
Copy link
Contributor

adding some type hinting for the runner functions

TheFloatingString and others added 8 commits June 10, 2025 11:04
* origin:
  [BFCL] Fix prompt concatenation bug in Qwen template (ShishirPatil#1068)
  [BFCL] Multi-turn TravelAPI book_flight() Fix (ShishirPatil#966)
  _get_item() can not handle the "." directory in path string (ShishirPatil#1060)
  Add support for llama-3.1-nemotron-ultra-253b-v1 to BFCL (ShishirPatil#1032)
  [BFCL] Omit Reasoning Content from Chat History for Function-Calling Models (ShishirPatil#1064)
  [BFCL] Add support for Ling-Lite-V1.5  (ShishirPatil#1056)
  [BFCL] Added support for DeepSeek-R1-0528 and DeepSeek-V3-0324 (ShishirPatil#1063)
  [BFCL] Add type hinting (ShishirPatil#1058)
@@ -33,8 +34,14 @@ def get_handler(model_name):


def multi_turn_runner(
handler, model_result, prompt, possible_answer, model_name, test_category, score_dir
):
handler: str,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

handler should be of type BaseHandler (from berkeley-function-call-leaderboard/bfcl_eval/model_handler/base_handler.py)

handler: str,
model_result: list[dict],
prompt: list[dict],
possible_answer: list[dict],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

possible_answer should be a list of list of strings for multi turn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants