set_assistant_response Subroutine

private pure elemental subroutine set_assistant_response(this, assistant_response)

Type Bound

Translation

Arguments

Type IntentOptional Attributes Name
class(Translation), intent(inout) :: this
character(len=*), intent(in) :: assistant_response

Source Code

   elemental pure subroutine set_assistant_response(this, assistant_response)
      class(Translation), intent(inout) :: this
      character(len=*),   intent(in)    :: assistant_response
      this%assistant_response = trim(assistant_response)
   end subroutine set_assistant_response