deallocate_model Subroutine

private pure elemental subroutine deallocate_model(this)

Type Bound

ChatCompletion

Arguments

Type IntentOptional Attributes Name
class(ChatCompletion), intent(inout) :: this

Called by

proc~~deallocate_model~2~~CalledByGraph proc~deallocate_model~2 foropenai_ChatCompletion::ChatCompletion%deallocate_model proc~deallocate_chatcompletion foropenai_ChatCompletion::ChatCompletion%deallocate_ChatCompletion proc~deallocate_chatcompletion->proc~deallocate_model~2 program~test_chatcompletion test_ChatCompletion program~test_chatcompletion->proc~deallocate_chatcompletion

Source Code

   elemental pure subroutine deallocate_model(this)
      class(ChatCompletion), intent(inout) :: this
      if (allocated(this%model)) deallocate(this%model)
   end subroutine deallocate_model