Updating the default Anthropic Officlal Claude 3 max_tokens to 4096

fix bug
This commit is contained in:
Caixiaopig 2024-04-05 09:45:57 -05:00 committed by GitHub
parent 09463bc584
commit 3d96e810b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,7 +52,7 @@ class AnthropicConfig:
def __init__( def __init__(
self, self,
max_tokens: Optional[int] = None, # You can pass in a value yourself or use the default value 4096 max_tokens: Optional[int] = 4096, # You can pass in a value yourself or use the default value 4096
stop_sequences: Optional[list] = None, stop_sequences: Optional[list] = None,
temperature: Optional[int] = None, temperature: Optional[int] = None,
top_p: Optional[int] = None, top_p: Optional[int] = None,