r"""Gets the name of the function from the OpenAI tool schema. Returns: str: The name of the function.
(self)
| 498 | self.openai_tool_schema["function"] = openai_function_schema |
| 499 | |
| 500 | def get_function_name(self) -> str: |
| 501 | r"""Gets the name of the function from the OpenAI tool schema. |
| 502 | |
| 503 | Returns: |
| 504 | str: The name of the function. |
| 505 | """ |
| 506 | self.validate_openai_tool_schema(self.openai_tool_schema) |
| 507 | return self.openai_tool_schema["function"]["name"] |
| 508 | |
| 509 | def set_function_name(self, name: str) -> None: |
| 510 | r"""Sets the name of the function in the OpenAI tool schema. |
no test coverage detected