46 Commits

Author SHA1 Message Date
Simon Willison
8c08d567c5 claude-3-5-sonnet-20240620 supports PDF, closes #30 2024-12-17 11:48:24 -08:00
Simon Willison
c62bf247fa Release 0.10
Refs #29
0.10
2024-12-01 16:07:47 -08:00
Simon Willison
896cd6200b Depend on LLM 0.19, refs #29 2024-12-01 16:03:44 -08:00
Simon Willison
ec5b3bddfd Release 0.10a0
Refs #29, https://github.com/simonw/llm/issues/610
0.10a0
2024-11-19 20:30:40 -08:00
Simon Willison
fd898ff2b5 Use response.set_usage(), closes #29
Refs https://github.com/simonw/llm/issues/610
2024-11-19 20:29:25 -08:00
Simon Willison
1e6ffefa18 Release 0.9
Refs  #25, #20, #24
Refs simonw/llm#507
Refs simonw/llm#613
0.9
2024-11-17 12:56:11 -08:00
Simon Willison
480fe27dc0 Depend on LLM >= 0.18 2024-11-17 12:53:42 -08:00
Simon Willison
b1bab19a74 Release 0.9a0
Refs #25
Refs https://github.com/simonw/llm/issues/507
Refs https://github.com/simonw/llm/pull/613
0.9a0
2024-11-13 19:37:04 -08:00
Simon Willison
8dc778592f Async models
* Tip about pytest --record-mode once

Plus mechanism for setting API key during tests with PYTEST_ANTHROPIC_API_KEY

* Async support for Claude models

Closes #25
Refs https://github.com/simonw/llm/issues/507
Refs https://github.com/simonw/llm/pull/613

* Depend on llm>=0.18a0, refs #25
2024-11-13 19:36:11 -08:00
Kalin Fetvadjiev
40b7dca88d Document the api key environment variable (#24) 2024-11-13 19:07:09 -08:00
Simon Willison
7c5067e9c9 Fix for bug where attachments ignored prompt, refs #20 0.8 2024-11-04 10:43:06 -08:00
Simon Willison
59289b9e86 Release 0.8
Refs #16, #22
2024-11-04 10:37:18 -08:00
Simon Willison
b5b19b7644 Upgrade to new Anthropic SDK, supports Python 3.13
Refs #16
2024-11-04 10:33:05 -08:00
Simon Willison
6c3e2fb0b6 Claude 3.5 Haiku, closes #23 2024-11-04 10:30:29 -08:00
Simon Willison
5bdddf7dbb Update to my latest branch for workaround 2024-11-01 12:53:47 -07:00
Simon Willison
94456fdf8e Release 0.7
Refs #22
0.7
2024-11-01 11:48:36 -07:00
Simon Willison
ec3aa1295d PDF attachment support for Claude 3.5 Sonnet, refs #22 2024-11-01 11:46:38 -07:00
Simon Willison
e065c6d48c Fix typo in README
Refs #19
2024-10-29 10:14:11 -07:00
Simon Willison
924a9aa381 Document temporary workaround for Python 3.13
Refs #16
2024-10-29 10:13:10 -07:00
Simon Willison
cfb9364373 Release 0.6
Refs #19
0.6
2024-10-28 19:41:41 -07:00
Simon Willison
f8479fa942 Document image support
Refs #19
0.6a0
2024-10-28 18:51:48 -07:00
Simon Willison
ec139c8f18 Don't test against 3.13 yet, refs #16 2024-10-28 18:46:02 -07:00
Simon Willison
91a16bab0f Drop Python 3.8, add Python 3.13 2024-10-28 18:30:53 -07:00
Simon Willison
adcc254072 Release 0.6a0
Refs #19, https://github.com/simonw/llm/issues/587
2024-10-28 18:30:19 -07:00
Simon Willison
97f2aeeec6 Image attachment support
Refs #19

Refs https://github.com/simonw/llm/issues/587
2024-10-28 18:29:16 -07:00
Simon Willison
1aa490cf9a Release 0.5
Refs #17
0.5
2024-10-22 09:29:36 -07:00
Simon Willison
dc6e182330 claude-3.5-sonnet-latest alias, refs #17 2024-10-22 09:28:17 -07:00
Simon Willison
ceb51d5e2f New 3.5 sonnet model, -latest aliases for Opus and Sonnet
Refs #17
2024-10-22 09:24:38 -07:00
Simon Willison
18d562a730 Release 0.4.1
Refs #11
0.4.1
2024-08-30 16:10:45 -07:00
Simon Willison
eebab0446b No need for the custom header, refs #11 2024-08-30 16:08:18 -07:00
Simon Willison
9192bf6d48 max_tokens of 8192 on claude-3.5-sonnet-long, closes #11 2024-08-30 13:01:39 -07:00
Simon Willison
15f31a0717 claude-3.5-sonnet-long, refs #11 2024-08-30 12:02:57 -07:00
Simon Willison
3f0bd4d803 Link to API key console 2024-08-22 20:09:54 -07:00
Simon Willison
6d84f04a72 Better alias, claude-3.5-sonnet - plus README update
Closes #7
0.4
2024-06-20 11:31:26 -07:00
Simon Willison
d8140ae6bb Release 0.4
Refs #7
2024-06-20 11:26:57 -07:00
Simon Willison
8dbe06a699 Add claude-3-5-sonnet-20240620, refs #7
Also fix broken test
2024-06-20 11:26:11 -07:00
Simon Willison
891198235a Drop llm-claude dependency, closes #6 2024-06-18 17:01:53 -07:00
Simon Willison
a973cab4a8 Release 0.3
Refs #3
0.3
2024-03-13 14:05:41 -07:00
Simon Willison
e658385d95 Applied Black 2024-03-13 14:05:20 -07:00
Simon Willison
46680241ae Added claude-3-haiku, closes #3 2024-03-13 14:05:05 -07:00
Simon Willison
6e8e047371 Release 0.2
Refs #2
0.2
2024-03-07 16:13:01 -05:00
jvmncs
3a2c3fcc0d feat: add sampling options (#2)
* make test more reproducible

* add sampling options ClaudeMessages.Options
2024-03-07 16:08:31 -05:00
Simon Willison
98b8cafa69 Drop 3.8, add 3.12
Refs #1
0.1
2024-03-04 07:43:16 -08:00
Simon Willison
60ca85234f Fixed bug in TOML, refs #1 2024-03-04 07:40:12 -08:00
Simon Willison
9171686314 Added first test, using pytest-recording - refs #1 2024-03-04 07:38:39 -08:00
Simon Willison
f75f18e5f2 Initial working prototype, refs #1 2024-03-04 07:26:18 -08:00