Uses of Class
bg.codexio.ai.openai.api.sdk.chat.MessageStage
Packages that use MessageStage
-
Uses of MessageStage in bg.codexio.ai.openai.api.sdk.chat
Methods in bg.codexio.ai.openai.api.sdk.chat that return MessageStageModifier and TypeMethodDescriptionProvides knowledge the AI Model should operate withTemperatureStage.creativeAs(bg.codexio.ai.openai.api.payload.creativity.Creativity creativity) Configures temperatureTemperatureStage.deterministic()Configures all parameters to be mostly deterministic.MessageStage.developer()Provides context to AI Model to act as a generic software developer.Provides context to AI Model to act as a software developer of some kind.ManualConfigurationStage.done()After things are configured, go ahead.TemperatureStage.imaginative()You may receive a lot of irrelevancy.
Highly creative parameters with less deterministic properties.TemperatureStage.inventive()Configures all parameters to be balanced between creativity and determinism.MessageStage.noExcuses()Provides context to AI Model to not excuse when pointed wrong.MessageStage.noRepetition()Provides context to AI Model to not repeat old suggestions.TemperatureStage.predictable()Configures all parameters to be mostly deterministic, but also a little bit creative.TemperatureStage.randomized()You may receive total non-sense in the answers .
Configures all parameters to the highest creativity with little to none determinism and a lot of repetitions.TemperatureStage.scaleRepetitionToCreativity(bg.codexio.ai.openai.api.payload.creativity.Creativity creativity) Configures temperature and additionally configures topP, frequencyPenalty and presencePenalty by applying approximation for topP and inverse function for the penalties.MessageStage.traveller()Provides context to AI Model to act as a travel advisor.MessageStage.withContext(String messageContext) Provides context to the AI Model.protected MessageStageMessageStage.withRoledMessage(String role, String message)