Skip to content

anthropic_drivers_config

AnthropicDriversConfig

Bases: DriversConfig

Source code in griptape/configs/drivers/anthropic_drivers_config.py
@define
class AnthropicDriversConfig(DriversConfig):
    @lazy_property()
    def prompt_driver(self) -> AnthropicPromptDriver:
        return AnthropicPromptDriver(model="claude-3-5-sonnet-20240620")

prompt_driver()

Source code in griptape/configs/drivers/anthropic_drivers_config.py
@lazy_property()
def prompt_driver(self) -> AnthropicPromptDriver:
    return AnthropicPromptDriver(model="claude-3-5-sonnet-20240620")