Wykonywanie kodu w piaskownicy

Sandboxed code execution for assistants · id codeexecution · aliases: code interpreter, code execution tool, sandboxed execution, interpreter kodu, piaskownica kodu

Narzędzie pozwalające modelowi uruchamiać wygenerowany kod (zwykle Python lub powłokę) w izolowanym kontenerze i odczytywać wyniki oraz pliki.

A tool letting a model run generated code (usually Python or a shell) in an isolated container and read back outputs and files.

In one sentence

Asystent może napisać krótki program, uruchomić go w odizolowanym miejscu i użyć prawdziwego wyniku zamiast liczyć „na oko”.

The assistant can write a short program, run it somewhere isolated, and use the real result instead of estimating.

Problem it solves

Modele językowe mylą się w obliczeniach i nie potrafią same przetworzyć dużego arkusza ani narysować wykresu.

Language models make calculation mistakes and cannot process a large spreadsheet or draw a chart on their own.

What it does

Daje asystentowi kalkulator i warsztat w zamkniętym pokoju: może eksperymentować, ale niczego poza nim nie zepsuje.

It gives the assistant a calculator and workshop in a locked room: it can experiment without breaking anything outside.

Everyday example

Wrzucasz wyciąg z konta, a asystent liczy wydatki w kategoriach, rysuje wykres i zwraca plik z tabelą.

You upload a bank statement, and the assistant totals spending by category, draws a chart and returns a table file.

This concerns you if you…

Sources