mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-23 19:24:11 +08:00
docs: azure default temperature (#11829)
* change-azure-openai-default-temperature-to-1.0 * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) * [autofix.ci] apply automated fixes (attempt 3/3) * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
@ -32,7 +32,7 @@ For more information, see [Language model components](/components-models).
|
||||
| Deployment Name | String | Input parameter. Specifies the name of the deployment. |
|
||||
| API Version | String | Input parameter. Specifies the version of the Azure OpenAI API to be used. |
|
||||
| API Key | SecretString | Input parameter. Your Azure OpenAI API key. |
|
||||
| Temperature | Float | Input parameter. Specifies the sampling temperature. Defaults to `0.7`. |
|
||||
| Temperature | Float | Input parameter. Specifies the sampling temperature. Defaults to `1.0`. |
|
||||
| Max Tokens | Integer | Input parameter. Specifies the maximum number of tokens to generate. Defaults to `1000`. |
|
||||
| Input Value | String | Input parameter. Specifies the input text for text generation. |
|
||||
| Stream | Boolean | Input parameter. Specifies whether to stream the response from the model. Default to `false`. |
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -126,7 +126,7 @@
|
||||
},
|
||||
"AzureOpenAIModel": {
|
||||
"versions": {
|
||||
"0.3.0": "cc8d003556d8"
|
||||
"0.3.0": "2ba26202203e"
|
||||
}
|
||||
},
|
||||
"AzureOpenAIEmbeddings": {
|
||||
|
||||
@ -56,7 +56,7 @@ class AzureChatOpenAIComponent(LCModelComponent):
|
||||
SliderInput(
|
||||
name="temperature",
|
||||
display_name="Temperature",
|
||||
value=0.7,
|
||||
value=1.0,
|
||||
range_spec=RangeSpec(min=0, max=2, step=0.01),
|
||||
info="Controls randomness. Lower values are more deterministic, higher values are more creative.",
|
||||
advanced=True,
|
||||
|
||||
Reference in New Issue
Block a user