Uses of Class
com.azure.search.documents.indexes.models.CommonModelParameters
Packages that use CommonModelParameters
Package
Description
Package containing the data models for SearchServiceClient.
-
Uses of CommonModelParameters in com.azure.search.documents.indexes.models
Methods in com.azure.search.documents.indexes.models that return CommonModelParametersModifier and TypeMethodDescriptionstatic CommonModelParametersCommonModelParameters.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of CommonModelParameters from the JsonReader.ChatCompletionSkill.getCommonModelParameters()Get the commonModelParameters property: Common language model parameters that customers can tweak.CommonModelParameters.setFrequencyPenalty(Float frequencyPenalty) Set the frequencyPenalty property: A float in the range [-2,2] that reduces or increases likelihood of repeated tokens.CommonModelParameters.setMaxTokens(Integer maxTokens) Set the maxTokens property: Maximum number of tokens to generate.Set the model property: The name of the model to use (e.g., 'gpt-4o', etc.).CommonModelParameters.setPresencePenalty(Float presencePenalty) Set the presencePenalty property: A float in the range [-2,2] that penalizes new tokens based on their existing presence.Set the seed property: Random seed for controlling deterministic outputs.Set the stop property: List of stop sequences that will cut off text generation.CommonModelParameters.setTemperature(Float temperature) Set the temperature property: Sampling temperature.Methods in com.azure.search.documents.indexes.models with parameters of type CommonModelParametersModifier and TypeMethodDescriptionChatCompletionSkill.setCommonModelParameters(CommonModelParameters commonModelParameters) Set the commonModelParameters property: Common language model parameters that customers can tweak.