rename tool calling helpers to use 'tool' instead of 'function'

This commit is contained in:
Michael Poluektov
2024-08-11 14:56:16 +01:00
parent 2efcda837c
commit 790bdcf9fc
2 changed files with 7 additions and 7 deletions

View File

@@ -121,6 +121,6 @@ def search_query_generation_template(
return template
def tools_function_calling_generation_template(template: str, tools_specs: str) -> str:
def tool_calling_generation_template(template: str, tools_specs: str) -> str:
template = template.replace("{{TOOLS}}", tools_specs)
return template