set_top_p Subroutine

private pure elemental subroutine set_top_p(this, top_p)

Type Bound

ChatCompletion

Arguments

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

Called by

proc~~set_top_p~~CalledByGraph proc~set_top_p foropenai_ChatCompletion::ChatCompletion%set_top_p proc~set_chatcompletion_data foropenai_ChatCompletion::ChatCompletion%set_ChatCompletion_data proc~set_chatcompletion_data->proc~set_top_p proc~conversation foropenai_ChatCompletion::ChatCompletion%conversation proc~conversation->proc~set_chatcompletion_data program~test_chatcompletion test_ChatCompletion program~test_chatcompletion->proc~set_chatcompletion_data

Source Code

   elemental pure subroutine set_top_p(this, top_p)
      class(ChatCompletion), intent(inout) :: this
      real,                  intent(in)    :: top_p
      this%top_p = top_p
   end subroutine set_top_p