Skip to content

Commit

Permalink
update params as per docuentation
Browse files Browse the repository at this point in the history
  • Loading branch information
aashsach committed Mar 29, 2024
1 parent 6a0634d commit f5837ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/providers/bedrock/chatComplete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,13 +306,13 @@ export const BedrockMistralChatCompleteConfig: ProviderConfig = {
max: 5,
},
top_p: {
param: 'p',
param: 'top_p',
default: 0.75,
min: 0,
max: 1,
},
top_k: {
param: 'k',
param: 'top_k',
default: 0,
max: 200,
},
Expand Down
5 changes: 2 additions & 3 deletions src/providers/bedrock/complete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,15 +142,14 @@ export const BedrockMistralCompleteConfig: ProviderConfig = {
max: 5,
},
top_p: {
param: 'p',
param: 'top_p',
default: 0.75,
min: 0,
max: 1,
},
top_k: {
param: 'k',
param: 'top_k',
default: 0,
max: 200,
},
stop: {
param: 'end_sequences',
Expand Down

0 comments on commit f5837ef

Please sign in to comment.