We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ade95c7 commit d7f744bCopy full SHA for d7f744b
generative_ai/function_calling/test_function_calling.py
@@ -92,8 +92,8 @@ def test_parallel_function_calling() -> None:
92
assert response is not None
93
94
95
-def test_function_declaration_as_func() -> None:
96
- func_declaration = declare_function_from_function.function_declaration_as_func()
+def test_function_declaration_from_func() -> None:
+ func_declaration = declare_function_from_function.function_declaration_from_func()
97
tools = Tool(function_declarations=[func_declaration])
98
model = GenerativeModel(model_name="gemini-1.5-pro-002", tools=[tools])
99
chat_session = model.start_chat()
0 commit comments