swarms/playground/models/anthropic_example.py

10 lines
180 B

from swarms.models.anthropic import Anthropic
model = Anthropic(anthropic_api_key="")
task = "What is quantum field theory? What are 3 books on the field?"
print(model(task))