You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Decorator-based tools offer a clean, ergonomic approach. Define a function with clear type hints and (optional) docstring; decorate it with `@conversation.tool`. Registered tools can be passed to the LLM and invoked via tool calls.
57
+
Decorator-based tools offer a clean, ergonomic approach. Define a function with clear type hints and detail docstring, this is important for the LLM to understand how or when to invoke the tool;
58
+
decorate it with `@conversation.tool`. Registered tools can be passed to the LLM and invoked via tool calls.
0 commit comments