set_prompt Subroutine

private pure elemental subroutine set_prompt(this, prompt)

Type Bound

Transcription

Arguments

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

Called by

proc~~set_prompt~~CalledByGraph proc~set_prompt foropenai_Transcription::Transcription%set_prompt proc~create_transcription foropenai_Transcription::Transcription%create_transcription proc~create_transcription->proc~set_prompt program~test_transcription test_Transcription program~test_transcription->proc~create_transcription

Source Code

   elemental pure subroutine set_prompt(this, prompt)
      class(Transcription), intent(inout) :: this
      character(len=*),     intent(in)    :: prompt
      this%prompt = trim(prompt)
   end subroutine set_prompt