Skip to content

Commit

Permalink
Remove unneeded client param
Browse files Browse the repository at this point in the history
  • Loading branch information
idvorkin committed Oct 29, 2024
1 parent bd85e24 commit 19c12dd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/claude.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import ell # type: ignore
import anthropic

@ell.simple(model="claude-3-5-sonnet-20241022", client=anthropic.Anthropic(), max_tokens=100)
@ell.simple(model="claude-3-5-sonnet-20241022", max_tokens=100)
def hello_from_claude():
"""You are an AI assistant. Your task is to respond to the user's message with a friendly greeting."""
return "Say hello to the world!!!"
Expand Down

0 comments on commit 19c12dd

Please sign in to comment.