Interface CodeInterpreterInvocationInput.Builder

    • Method Detail

      • code

        CodeInterpreterInvocationInput.Builder code​(String code)

        The code for the code interpreter to use.

        Parameters:
        code - The code for the code interpreter to use.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • files

        CodeInterpreterInvocationInput.Builder files​(Collection<String> files)

        Files that are uploaded for code interpreter to use.

        Parameters:
        files - Files that are uploaded for code interpreter to use.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • files

        CodeInterpreterInvocationInput.Builder files​(String... files)

        Files that are uploaded for code interpreter to use.

        Parameters:
        files - Files that are uploaded for code interpreter to use.
        Returns:
        Returns a reference to this object so that method calls can be chained together.