Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅ 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
you can remove this file (also the PR you recently merged will make sure this won't be added to future toolkits, so thanks!)
| version = "0.1.0" | ||
| description = "Allow the agent to interact with a Mastodon server" | ||
| requires-python = ">=3.10" | ||
| dependencies = [ |
There was a problem hiding this comment.
don't forget to add httpx as a dependency!
| ) | ||
| async def post_status( | ||
| context: ToolContext, | ||
| status: Annotated[str, "The status to post"], |
There was a problem hiding this comment.
suggestion: might be worth mentioning that a 'status' is the text content of a user's post. Idk, worth a shot! Personally I thought status was 'online', 'offline', etc., so adding that context could be helpful.
| ] = 20, | ||
| ) -> Annotated[dict, "The statuses from Mastodon"]: | ||
| """ | ||
| Search for recent statuses by keywords and phrases. |
There was a problem hiding this comment.
this would be a good place to explain the relationship between keywords & phrases. Are they AND'd, OR'd? Does it match if only one keyword matches, or does it need all?
Also, you mentioned that this toolkit used X as inspiration. X is one of our oldest toolkits, but I recall having the keywords/phrases was something I regretted because language models were really bad at understanding the difference between the two (I think the X toolkit might even be older than the eval framework!). It'd be super exciting to see if you're able to come up with a new & improved way to search for statuses
This adds the Mastodon toolkit to Arcade. It is intended to match the functionality of Arcade's existing X toolkit, offering similar tools