Class AIModelStage

    • Method Detail

      • poweredBy

        public TemperatureStage poweredBy​(bg.codexio.ai.openai.api.models.ModelType modelType)
        Parameters:
        modelType - ModelType usually implemented by
        • GPT 3.5:
          • GPT35TurboModel
          • GPT35Turbo1106Model
          • GPT35Turbo16kModel
        • GPT 4
          • GPT40Model
          • GPT40VisionPreviewModel
          • GPT4032kModel
          • GPT401106Model
        Supplying other models such as DallE30 may result into an error, when the API responds.
        Returns:
        TemperatureStage to configure the temperature.
      • poweredByGPT35

        public TemperatureStage poweredByGPT35()
        Configures the AI Model to be GPT35TurboModel
        Returns:
        TemperatureStage to configure the temperature.