@@ -39,6 +39,19 @@ Invoke-ConverseAPI -ModelID <String> [-Message <String>] [-DocumentPath <String[
3939 [-SessionToken <String>] [<CommonParameters>]
4040```
4141
42+ ### MessageS3VideoSet
43+
44+ ``` powershell
45+ Invoke-ConverseAPI -ModelID <String> [-Message <String>] -S3Location <String> [-S3BucketOwner <String>]
46+ [-ReturnFullObject] [-NoContextPersist] [-MaxTokens <Int32>] [-StopSequences <String[]>]
47+ [-Temperature <Single>] [-TopP <Single>] [-SystemPrompt <String>] [-Tools <PSObject[]>] [-ToolChoice <String>]
48+ [-ToolName <String>] [-GuardrailID <String>] [-GuardrailVersion <String>] [-GuardrailTrace <String>]
49+ [-AdditionalModelRequestField <PSObject>] [-AdditionalModelResponseFieldPath <String[]>] [-AccessKey <String>]
50+ [-Credential <AWSCredentials>] [-EndpointUrl <String>] [-NetworkCredential <PSCredential>]
51+ [-ProfileLocation <String>] [-ProfileName <String>] [-Region <Object>] [-SecretKey <String>]
52+ [-SessionToken <String>] [<CommonParameters>]
53+ ```
54+
4255### MessageVideoSet
4356
4457``` powershell
@@ -192,6 +205,23 @@ The model will describe the video in the video file.
192205
193206### EXAMPLE 8
194207
208+ ``` powershell
209+ $invokeConverseAPISplat = @{
210+ Message = 'Please describe the video in the attached video.'
211+ S3Location = 's3://mybucket/myvideo.mp4'
212+ ModelID = 'amazon.nova-pro-v1:0'
213+ ReturnFullObject = $true
214+ Credential = $awsCredential
215+ Region = 'us-west-2'
216+ }
217+ Invoke-ConverseAPI @invokeConverseAPISplat
218+ ```
219+
220+ Sends a video vision message to the on-demand specified model via the Converse API.
221+ The model will describe the video in the S3 location.
222+
223+ ### EXAMPLE 9
224+
195225``` powershell
196226$invokeConverseAPISplat = @{
197227 Message = 'Provide a one sentence summary of the document.'
@@ -206,7 +236,7 @@ Invoke-ConverseAPI @invokeConverseAPISplat
206236Sends a document message to the on-demand specified model via the Converse API.
207237The model will provide a one sentence summary of the document.
208238
209- ### EXAMPLE 9
239+ ### EXAMPLE 10
210240
211241``` powershell
212242$tools = [PSCustomObject]@{
@@ -241,7 +271,7 @@ A tool is provided to answer the user's question.
241271Additional parameters are provided to require the use of the tool and to specify the tool to use.
242272This will prompt the model to return a tool-based response.
243273
244- ### EXAMPLE 10
274+ ### EXAMPLE 11
245275
246276``` powershell
247277$tools = [PSCustomObject]@{
@@ -307,7 +337,7 @@ The message to be sent to the model.
307337
308338` ` ` yaml
309339Type : String
310- Parameter Sets : MessageOnlySet, MessageDocumentSet, MessageVideoSet, MessageImageSet
340+ Parameter Sets : MessageOnlySet, MessageDocumentSet, MessageS3VideoSet, MessageVideoSet, MessageImageSet
311341Aliases :
312342
313343Required : False
@@ -351,6 +381,38 @@ Accept pipeline input: False
351381Accept wildcard characters : False
352382` ` `
353383
384+ ### -S3Location
385+
386+ The location of a video object in an Amazon S3 bucket.
387+
388+ ` ` ` yaml
389+ Type : String
390+ Parameter Sets : MessageS3VideoSet
391+ Aliases :
392+
393+ Required : True
394+ Position : Named
395+ Default value : None
396+ Accept pipeline input : False
397+ Accept wildcard characters : False
398+ ` ` `
399+
400+ ### -S3BucketOwner
401+
402+ If the bucket belongs to another AWS account, specify that accounts ID.
403+
404+ ` ` ` yaml
405+ Type : String
406+ Parameter Sets : MessageS3VideoSet
407+ Aliases :
408+
409+ Required : False
410+ Position : Named
411+ Default value : None
412+ Accept pipeline input : False
413+ Accept wildcard characters : False
414+ ` ` `
415+
354416### -DocumentPath
355417
356418File path to local document.
0 commit comments