swarms/playground/models/anthropic_example.py

9 lines
179 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))