You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -370,7 +370,7 @@ Who is the best captain in Star Trek?[/INST]
370
370
{
371
371
$invokeMetaModelSplat=@{
372
372
Message='The line must be drawn here! This far, no further!'
373
-
ModelID='meta.llama2-13b-chat-v1'
373
+
ModelID='meta.llama3-2-90b-instruct-v1:0'
374
374
MaxTokens=100
375
375
AccessKey='ak'
376
376
SecretKey='sk'
@@ -388,7 +388,7 @@ Who is the best captain in Star Trek?[/INST]
388
388
BeforeEach {
389
389
$Global:pwshBedrockModelContext=@(
390
390
[PSCustomObject]@{
391
-
ModelId='meta.llama2-13b-chat-v1'
391
+
ModelId='meta.llama3-2-90b-instruct-v1:0'
392
392
Context='test'
393
393
}
394
394
)
@@ -503,7 +503,7 @@ Who is the best captain in Star Trek?[/INST]
503
503
It 'should return the full object if ReturnFullObject is provided' {
504
504
$invokeMetaModelSplat=@{
505
505
Message='With the first link, the chain is forged. The first speech censured, the first thought forbidden, the first freedom denied, chains us all irrevocably.'
506
-
ModelID='meta.llama2-13b-chat-v1'
506
+
ModelID='meta.llama3-2-90b-instruct-v1:0'
507
507
ReturnFullObject=$true
508
508
AccessKey='ak'
509
509
SecretKey='sk'
@@ -519,7 +519,7 @@ Who is the best captain in Star Trek?[/INST]
519
519
It 'should return a message when all parameters are provided' {
520
520
$invokeMetaModelSplat=@{
521
521
Message='Shaka, when the walls fell.'
522
-
ModelID='meta.llama2-13b-chat-v1'
522
+
ModelID='meta.llama3-2-90b-instruct-v1:0'
523
523
NoContextPersist=$true
524
524
SystemPrompt='You are a Star Trek trivia expert.'
525
525
MaxTokens=100
@@ -537,7 +537,7 @@ Who is the best captain in Star Trek?[/INST]
537
537
It 'should run all expected subcommands' {
538
538
$invokeMetaModelSplat=@{
539
539
Message='Bonjour, mon Capitaine!'
540
-
ModelID='meta.llama2-13b-chat-v1'
540
+
ModelID='meta.llama3-2-90b-instruct-v1:0'
541
541
NoContextPersist=$true
542
542
AccessKey='ak'
543
543
SecretKey='sk'
@@ -617,15 +617,15 @@ Who is the best captain in Star Trek?[/INST]
617
617
Mock -CommandName Invoke-BDRRModel {
618
618
$response
619
619
$Region| Should -BeExactly 'us-west-2'
620
-
$ModelID| Should -BeExactly 'meta.llama2-13b-chat-v1'
620
+
$ModelID| Should -BeExactly 'us.meta.llama3-2-90b-instruct-v1:0'
621
621
$AccessKey| Should -BeExactly 'ak'
622
622
$SecretKey| Should -BeExactly 'sk'
623
623
$ContentType| Should -BeExactly 'application/json'
624
624
$Body| Should -BeOfType [byte]
625
625
} -Verifiable
626
626
$invokeMetaModelSplat=@{
627
627
Message='Good tea, nice house.'
628
-
ModelID='meta.llama2-13b-chat-v1'
628
+
ModelID='meta.llama3-2-90b-instruct-v1:0'
629
629
AccessKey='ak'
630
630
SecretKey='sk'
631
631
Region='us-west-2'
@@ -640,7 +640,7 @@ Who is the best captain in Star Trek?[/INST]
640
640
Mock -CommandName Invoke-BDRRModel {
641
641
$response
642
642
$Region| Should -BeExactly 'us-west-2'
643
-
$ModelID| Should -BeExactly 'meta.llama2-13b-chat-v1'
643
+
$ModelID| Should -BeExactly 'us.meta.llama3-2-90b-instruct-v1:0'
644
644
$Credential| Should -Not-BeNullOrEmpty
645
645
$EndpointUrl| Should -BeExactly 'string'
646
646
$NetworkCredential| Should -Not-BeNullOrEmpty
@@ -650,7 +650,7 @@ Who is the best captain in Star Trek?[/INST]
650
650
} -Verifiable
651
651
$invokeMetaModelSplat=@{
652
652
Message="My Dear Doctor, they're all true. 'Even the lies?' Especially the lies"
653
-
ModelID='meta.llama2-13b-chat-v1'
653
+
ModelID='meta.llama3-2-90b-instruct-v1:0'
654
654
Credential=$awsCred
655
655
EndpointUrl='string'
656
656
NetworkCredential=$networkCred
@@ -695,7 +695,7 @@ Who is the best captain in Star Trek?[/INST]
0 commit comments