File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 11## [ Unreleased]
2+ - Bump anthropic gem
3+ - Default Langchain::LLM::Anthropic chat model is "claude-3-5-sonnet-20240620" now
24
35## [ 0.17.1] - 2024-10-07
46- Move Langchain::Assistant::LLM::Adapter-related classes to separate files
Original file line number Diff line number Diff line change 4242 public_suffix (>= 2.0.2 , < 6.0 )
4343 afm (0.2.2 )
4444 ai21 (0.2.1 )
45- anthropic (0.3.0 )
45+ anthropic (0.3.2 )
4646 event_stream_parser (>= 0.3.0 , < 2.0.0 )
4747 faraday (>= 1 )
4848 faraday-multipart (>= 1 )
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ module Langchain::LLM
55 # Wrapper around Anthropic APIs.
66 #
77 # Gem requirements:
8- # gem "anthropic", "~> 0.3.0 "
8+ # gem "anthropic", "~> 0.3.2 "
99 #
1010 # Usage:
1111 # anthropic = Langchain::LLM::Anthropic.new(api_key: ENV["ANTHROPIC_API_KEY"])
@@ -14,7 +14,7 @@ class Anthropic < Base
1414 DEFAULTS = {
1515 temperature : 0.0 ,
1616 completion_model_name : "claude-2.1" ,
17- chat_completion_model_name : "claude-3-sonnet-20240229 " ,
17+ chat_completion_model_name : "claude-3-5- sonnet-20240620 " ,
1818 max_tokens_to_sample : 256
1919 } . freeze
2020
You can’t perform that action at this time.
0 commit comments