अभी शुरू करें
Code Interpreter Tools

Codeinterpreter Execute Code

Aident Loadout के माध्यम से Code Interpreter Tools के साथ Codeinterpreter Execute Code का उपयोग करें। चलाने से पहले इनपुट, आउटपुट, सेटअप, मूल्य और जोखिम देखें।

राइट Actionजोखिम स्तर 2/5Aident द्वारा प्रबंधित एक्सेस

प्रदाता विवरण

Execute python code in a sandbox and return any result, stdout, stderr, and error. Use /home/user folder to write/read files. Try to not use plt.show() as the code is executed remotely. Use files for image/chart output instead.

मूल्य और सीमाएँ

मूल्य
मुफ़्त Action
एकीकृत भुगतान
इस मुफ़्त Action के लिए आवश्यक नहीं

इनपुट

  • timeoutinteger
    The timeout in seconds for the execution of the code.
  • keep_aliveinteger
    The number of seconds to keep the sandbox alive after execution. Default is 300 seconds (5 minutes). Can be between 0 and 3600.
  • sandbox_idstring
    The ID of the sandbox to execute the code in. Try to find an existing sandbox ID from context in order to access the previous modification session. In case not found, this value might be omitted, a new sandbox will be created.
  • code_to_executestring
    आवश्यक
    The python code to execute in a single cell. If a file is to be saved, it should be saved under /home/user/ directory. At the end of the code, a success message print is good to have.

देखा जा सकने वाला आउटपुट

  • data
    आवश्यक
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    आवश्यक
    Whether or not the action execution was successful or not

इस Action का उपयोग करने वाली Skills

संबंधित उपयोग के मामले

अभी कोई सत्यापित संबंधित उपयोग मामला लिंक नहीं है।

आधिकारिक स्रोत

प्रदाता स्रोत