Tools

Python Interpreter

In this section we are going to illustrate how to use Python Interpreter tool in Cybertron

  • It is a tool which evaluates python code in a sandbox environment.

How to use

  • Go to New Assistant Config
  • Name your assistant
  • Select Python Interpreter from the Tools list
    Python Interpreter config
    Python Interpreter config
  • Press Save

Examples

  • Prompt to generate python function and run it generate a python function to add two numbers and run it

    Example 1
    Example 1
  • Prompt to generate advanced code in Python and run it generate python which have class for Student and function to calculate Average marks and run it

    Example 2
    Example 2
Previous
Google Search