| openai_code_interpreter_tool | R Documentation |
Give the model an OpenAI-hosted Python sandbox.
openai_code_interpreter_tool(container = list(type = "auto"))
container |
Container spec. Defaults to |
A plain list ready to drop into tools = list(...).
## Not run:
generate_text(
model,
"Solve 3x + 11 = 14 step by step.",
tools = list(openai_code_interpreter_tool())
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.