mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
Update Google Generative AI Conversation max tokens to 3000 (#148625)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
parent
2dca78efbb
commit
1920edd712
@ -25,7 +25,7 @@ RECOMMENDED_TOP_P = 0.95
|
|||||||
CONF_TOP_K = "top_k"
|
CONF_TOP_K = "top_k"
|
||||||
RECOMMENDED_TOP_K = 64
|
RECOMMENDED_TOP_K = 64
|
||||||
CONF_MAX_TOKENS = "max_tokens"
|
CONF_MAX_TOKENS = "max_tokens"
|
||||||
RECOMMENDED_MAX_TOKENS = 1500
|
RECOMMENDED_MAX_TOKENS = 3000
|
||||||
CONF_HARASSMENT_BLOCK_THRESHOLD = "harassment_block_threshold"
|
CONF_HARASSMENT_BLOCK_THRESHOLD = "harassment_block_threshold"
|
||||||
CONF_HATE_BLOCK_THRESHOLD = "hate_block_threshold"
|
CONF_HATE_BLOCK_THRESHOLD = "hate_block_threshold"
|
||||||
CONF_SEXUAL_BLOCK_THRESHOLD = "sexual_block_threshold"
|
CONF_SEXUAL_BLOCK_THRESHOLD = "sexual_block_threshold"
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
'dangerous_block_threshold': 'BLOCK_MEDIUM_AND_ABOVE',
|
'dangerous_block_threshold': 'BLOCK_MEDIUM_AND_ABOVE',
|
||||||
'harassment_block_threshold': 'BLOCK_MEDIUM_AND_ABOVE',
|
'harassment_block_threshold': 'BLOCK_MEDIUM_AND_ABOVE',
|
||||||
'hate_block_threshold': 'BLOCK_MEDIUM_AND_ABOVE',
|
'hate_block_threshold': 'BLOCK_MEDIUM_AND_ABOVE',
|
||||||
'max_tokens': 1500,
|
'max_tokens': 3000,
|
||||||
'prompt': 'Speak like a pirate',
|
'prompt': 'Speak like a pirate',
|
||||||
'recommended': False,
|
'recommended': False,
|
||||||
'sexual_block_threshold': 'BLOCK_MEDIUM_AND_ABOVE',
|
'sexual_block_threshold': 'BLOCK_MEDIUM_AND_ABOVE',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user