Class TemperatureStage


  • public class TemperatureStage
    extends TranslationConfigurationStage
    Configures the temperature or in other words, the creativity of the model. This is usually related to temperature parameter.
    • Method Detail

      • creativeAs

        public FormatStage creativeAs​(bg.codexio.ai.openai.api.payload.creativity.Creativity creativity)
        Configures temperature
        Parameters:
        creativity - Creativity
        Returns:
        FormatStage to add prompts
      • deterministic

        public FormatStage deterministic()
        Configures temperature to Creativity.TRULY_DETERMINISTIC
        Returns:
        FormatStage to add prompts
      • randomized

        public FormatStage randomized()
        Configures temperature to Creativity.I_HAVE_NO_IDEA_WHAT_I_AM_TALKING
        Returns:
        FormatStage to add prompts