Skip to content

Commit 3458c12

Browse files
committed
updated documentation
1 parent 0863683 commit 3458c12

File tree

5 files changed

+15
-8
lines changed

5 files changed

+15
-8
lines changed

README.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,10 @@ Invoke-AmazonTextModel -Message 'Explain zero-point energy.' -ModelID amazon.tit
108108
```powershell
109109
#------------------------------------------------------------------------------------------------
110110
# Sends a text message to the on-demand Anthropic model in the specified AWS region and returns the response.
111-
Invoke-AnthropicModel -Message 'Explain zero-point energy.' -ModelID 'anthropic.claude-3-haiku-20240307-v1:0' -Credential $awsCredential -Region 'us-west-2'
111+
Invoke-AnthropicModel -Message 'Explain zero-point energy.' -ModelID 'anthropic.claude-3-5-haiku-20241022-v1:0' -Credential $awsCredential -Region 'us-west-2'
112112
#------------------------------------------------------------------------------------------------
113113
# Sending a media file to an Anthropic model and retrieving the response
114-
Invoke-AnthropicModel -Message 'What can you tell me about this picture?' -ModelID 'anthropic.claude-3-sonnet-20240229-v1:0' -MediaPath 'C:\images\tanagra.jpg' -Credential $awsCredential -Region 'us-west-2'
114+
Invoke-AnthropicModel -Message 'What can you tell me about this picture?' -ModelID 'anthropic.claude-3-5-sonnet-20241022-v2:0' -MediaPath 'C:\images\tanagra.jpg' -Credential $awsCredential -Region 'us-west-2'
115115
#------------------------------------------------------------------------------------------------
116116
```
117117

@@ -140,6 +140,9 @@ Invoke-CohereCommandRModel -Message 'Explain zero-point energy.' -ModelID 'coher
140140
# Sends a text message to the on-demand Meta model in the specified AWS region and returns the response.
141141
Invoke-MetaModel -Message 'Explain zero-point energy.' -ModelID 'meta.llama3-8b-instruct-v1:0' -Credential $awsCredential -Region 'us-west-2'
142142
#------------------------------------------------------------------------------------------------
143+
# Sending a media file to a Meta model and retriveing the response
144+
Invoke-MetaModel -ImagePrompt 'Describe this image in two sentences.' -ModelID 'meta.llama3-2-11b-instruct-v1:0' -MediaPath 'C:\path\to\image.jpg' -Credential $awsCredential -Region 'us-west-2'
145+
#------------------------------------------------------------------------------------------------
143146
```
144147

145148
##### Mistral AI models
@@ -171,7 +174,7 @@ Invoke-StabilityAIImageModel -ImagesSavePath 'C:\images' -ImagePrompt 'Create a
171174
```powershell
172175
#------------------------------------------------------------------------------------------------
173176
# Returns the message context history for the specified model.
174-
Get-ModelContext -ModelID 'anthropic.claude-3-sonnet-20240229-v1:0'
177+
Get-ModelContext -ModelID 'anthropic.claude-3-5-sonnet-20241022-v2:0'
175178
#------------------------------------------------------------------------------------------------
176179
# Estimates the cost of using the model with 1000 input tokens and 1000 output tokens.
177180
Get-ModelCostEstimate -InputTokenCount 1000 -OutputTokenCount 1000 -ModelID 'cohere.command-r-plus-v1:0'

docs/CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3434
- Updated pricing for all models
3535
- Build changes:
3636
- Updated bootstrap AWS modules from `4.1.621` to `4.1.700`
37+
- Switched `wf_Linux` and `wf_Windows` from CodeBuild actions to GitHub Actions runners due to performance issues with CB.
3738

3839
## [0.15.0]
3940

docs/Invoke-MetaModel.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Sends a text message to the on-demand Meta model in the specified AWS region wit
8888

8989
### EXAMPLE 5
9090
```
91-
Invoke-MetaModel -ImagePrompt -ImagePrompt 'Describe this image in two sentences.' -ModelID 'meta.llama3-2-11b-instruct-v1:0' -MediaPath 'C:\path\to\image.jpg' -Credential $awsCredential -Region 'us-west-2'
91+
Invoke-MetaModel -ImagePrompt 'Describe this image in two sentences.' -ModelID 'meta.llama3-2-11b-instruct-v1:0' -MediaPath 'C:\path\to\image.jpg' -Credential $awsCredential -Region 'us-west-2'
9292
```
9393

9494
Sends an image prompt to the Vision-Instruct Meta model in the specified AWS region and returns the response.

docs/index.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,10 @@ Invoke-AmazonTextModel -Message 'Explain zero-point energy.' -ModelID amazon.tit
8989
```powershell
9090
#------------------------------------------------------------------------------------------------
9191
# Sends a text message to the on-demand Anthropic model in the specified AWS region and returns the response.
92-
Invoke-AnthropicModel -Message 'Explain zero-point energy.' -ModelID 'anthropic.claude-3-haiku-20240307-v1:0' -Credential $awsCredential -Region 'us-west-2'
92+
Invoke-AnthropicModel -Message 'Explain zero-point energy.' -ModelID 'anthropic.claude-3-5-haiku-20241022-v1:0' -Credential $awsCredential -Region 'us-west-2'
9393
#------------------------------------------------------------------------------------------------
9494
# Sending a media file to an Anthropic model and retrieving the response
95-
Invoke-AnthropicModel -Message 'What can you tell me about this picture?' -ModelID 'anthropic.claude-3-sonnet-20240229-v1:0' -MediaPath 'C:\images\tanagra.jpg' -Credential $awsCredential -Region 'us-west-2'
95+
Invoke-AnthropicModel -Message 'What can you tell me about this picture?' -ModelID 'anthropic.claude-3-5-sonnet-20241022-v2:0' -MediaPath 'C:\images\tanagra.jpg' -Credential $awsCredential -Region 'us-west-2'
9696
#------------------------------------------------------------------------------------------------
9797
```
9898

@@ -121,6 +121,9 @@ Invoke-CohereCommandRModel -Message 'Explain zero-point energy.' -ModelID 'coher
121121
# Sends a text message to the on-demand Meta model in the specified AWS region and returns the response.
122122
Invoke-MetaModel -Message 'Explain zero-point energy.' -ModelID 'meta.llama3-8b-instruct-v1:0' -Credential $awsCredential -Region 'us-west-2'
123123
#------------------------------------------------------------------------------------------------
124+
# Sending a media file to a Meta model and retriveing the response
125+
Invoke-MetaModel -ImagePrompt 'Describe this image in two sentences.' -ModelID 'meta.llama3-2-11b-instruct-v1:0' -MediaPath 'C:\path\to\image.jpg' -Credential $awsCredential -Region 'us-west-2'
126+
#------------------------------------------------------------------------------------------------
124127
```
125128

126129
##### Mistral AI models
@@ -152,7 +155,7 @@ Invoke-StabilityAIImageModel -ImagesSavePath 'C:\images' -ImagePrompt 'Create a
152155
```powershell
153156
#------------------------------------------------------------------------------------------------
154157
# Returns the message context history for the specified model.
155-
Get-ModelContext -ModelID 'anthropic.claude-3-sonnet-20240229-v1:0'
158+
Get-ModelContext -ModelID 'anthropic.claude-3-5-sonnet-20241022-v2:0'
156159
#------------------------------------------------------------------------------------------------
157160
# Estimates the cost of using the model with 1000 input tokens and 1000 output tokens.
158161
Get-ModelCostEstimate -InputTokenCount 1000 -OutputTokenCount 1000 -ModelID 'cohere.command-r-plus-v1:0'

src/pwshBedrock/Public/Invoke-MetaModel.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
3535
Sends a text message to the on-demand Meta model in the specified AWS region with a system prompt and a maximum token limit of 2000.
3636
.EXAMPLE
37-
Invoke-MetaModel -ImagePrompt -ImagePrompt 'Describe this image in two sentences.' -ModelID 'meta.llama3-2-11b-instruct-v1:0' -MediaPath 'C:\path\to\image.jpg' -Credential $awsCredential -Region 'us-west-2'
37+
Invoke-MetaModel -ImagePrompt 'Describe this image in two sentences.' -ModelID 'meta.llama3-2-11b-instruct-v1:0' -MediaPath 'C:\path\to\image.jpg' -Credential $awsCredential -Region 'us-west-2'
3838
3939
Sends an image prompt to the Vision-Instruct Meta model in the specified AWS region and returns the response.
4040
.PARAMETER Message

0 commit comments

Comments
 (0)