TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

smolagents: A simple library to build AI agents

11 点作者 victormustar5 个月前

2 条评论

Imanari5 个月前
From the text_to_sql example: [0]<p>My question: &quot;Which waiter got second most total money from tips? create a jpeg with a bar chart of the total tips for each waiter.&quot;<p>Step 0 included a correct sql query. Step 1 included python code with matplotlib, which failed because matplotlib was not in the allowed imports. The system then pivoted to another python script which printed a bar plot with ## characters.<p>Final answer: The waiter with the second most total tips is Corey Johnson<p>Bar Chart of Total Tips for Each Waiter:<p>Michael Watts ################################################## (5.67)<p>Corey Johnson ########## (1.2)<p>Margaret James ######## (1.0)<p>[0] - <a href="https:&#x2F;&#x2F;github.com&#x2F;huggingface&#x2F;smolagents&#x2F;blob&#x2F;main&#x2F;docs&#x2F;source&#x2F;en&#x2F;examples&#x2F;text_to_sql.md">https:&#x2F;&#x2F;github.com&#x2F;huggingface&#x2F;smolagents&#x2F;blob&#x2F;main&#x2F;docs&#x2F;sou...</a>
lunarcave5 个月前
Congrats on the launch. I actually really like how the agency level x capability is displayed on the page. Too many text in &#x2F; text out abstractions being mislabeled as “agents” these days.