Update llm.md

This commit is contained in:
Zach 2025-03-21 12:54:56 -04:00 committed by GitHub
parent fdb445c26c
commit 05cd05efe2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 4 deletions

View File

@ -33,11 +33,13 @@ Here, we provide some minimal example implementations:
from anthropic import Anthropic
client = Anthropic(api_key="YOUR_API_KEY_HERE")
response = client.messages.create(
model="claude-2",
messages=[{"role": "user", "content": prompt}],
max_tokens=100
model="claude-3-7-sonnet-20250219",
max_tokens=3000,
messages=[
{"role": "user", "content": prompt}
]
)
return response.content
return response.content[0].text
```
3. Google (Generative AI Studio / PaLM API)