Skip to content

Commit

Permalink
Show mixing and matching Drivers in custom example
Browse files Browse the repository at this point in the history
  • Loading branch information
collindutter committed Sep 12, 2024
1 parent c6d2f9e commit c7f2bb0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/griptape-framework/structures/src/drivers_config_7.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

from griptape.configs import Defaults
from griptape.configs.drivers import DriversConfig
from griptape.drivers import AnthropicPromptDriver
from griptape.drivers import AnthropicPromptDriver, OpenAiEmbeddingDriver
from griptape.structures import Agent

Defaults.drivers_config = DriversConfig(
prompt_driver=AnthropicPromptDriver(
model="claude-3-sonnet-20240229",
api_key=os.environ["ANTHROPIC_API_KEY"],
)
),
embedding_driver=OpenAiEmbeddingDriver(),
)


Expand Down

0 comments on commit c7f2bb0

Please sign in to comment.