-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
class WebSearch(
Tool[WebSearchRequest, list[SearchResult | ImageResult]],
name="web_search",
description="Perform a search query to find web pages.",
):
...In my own codebase I have created this custom system above to define tools. I randomly came across your project on 𝕏 and thought it was great but this way of setting name and description could make it better. I also have the output as a generic which is serialized with pydantic instead of ToolOk(output=str(...)).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels