You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
swarms/workshop_oct_12/anthropic_example.py

17 lines
276 B

import os
from swarm_models import Anthropic
from dotenv import load_dotenv
load_dotenv()
model = Anthropic(
anthropic_api_key=os.getenv("ANTHROPIC_API_KEY"),
temperature=0.1,
)
model.run(
"Where is the best state to open up a c corp with the lowest taxes"
)