Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
π
π
π
Powered by
Hall
Inactive
Updated 9 months ago
0
Follow
can we pass `stop_sequence` to Anthropic
can we pass `stop_sequence` to Anthropic
Inactive
0
Follow
e
enginirmata π²
9 months ago
Β·
can we pass
stop_sequence
to Anthropic LLM?
TypeError: Messages.create() got an unexpected keyword argument 'stop_sequence'
L
e
8 comments
Share
Open in Discord
L
Logan M
9 months ago
Does anthropic support a stop sequence in their api?
e
enginirmata π²
9 months ago
yes sir
e
enginirmata π²
9 months ago
https://github.com/search?q=repo%3Aanthropics%2Fanthropic-sdk-python%20stop_sequence&type=code
e
enginirmata π²
9 months ago
for tool using
Attachment
L
Logan M
9 months ago
oh claude
e
enginirmata π²
9 months ago
ah seems like additional_kwargs: { stop_sequences: ['</function_calls>'] } worked!
e
enginirmata π²
9 months ago
plural
L
Logan M
9 months ago
yes, that was going to be my suggestion π
Add a reply
Sign up and join the conversation on Discord
Join on Discord