View Categories

Examples

2 Docs

Secure code execution of Smolagents

Last Updated: जनवरी 11, 2025

If you’re new to building agents, make sure to first read the intro to agents and the guided tour of smolagents. Code agents Multiple research papers have shown that having the LLM write its actions (the tool calls) in code is much better than the current standard format for tool calling, which is across the industry different shades of “writing actions...

Text-to-SQL Example

Last Updated: जनवरी 11, 2025

In this tutorial, we’ll see how to implement an agent that leverages SQL using smolagents. Let’s start with the golden question: why not keep it simple and use a standard text-to-SQL pipeline? A standard text-to-sql pipeline is brittle, since the generated SQL query can be incorrect. Even worse, the query could be incorrect, but not raise...

hi_INHindi