Skip to content

Commit

Permalink
modified preset_prompt_kwargs to prompt_kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
PhiBrandon committed Jul 4, 2024
1 parent 3144bfa commit e4f9650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion use_cases/simple_qa_anthropic.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def __init__(self):
self.generator = Generator(
model_client=AnthropicAPIClient(),
model_kwargs={"model": "claude-3-opus-20240229", "max_tokens": 1000},
preset_prompt_kwargs={
prompt_kwargs={
"task_desc_str": "You are a helpful assistant and with a great sense of humor."
},
)
Expand Down

0 comments on commit e4f9650

Please sign in to comment.