Skip to content

Latest commit

 

History

History
90 lines (75 loc) · 1.5 KB

Invoke-GoogleGenerateContent.md

File metadata and controls

90 lines (75 loc) · 1.5 KB

external help file: powershai-help.xml schema: 2.0.0 powershai: true

Invoke-GoogleGenerateContent

SYNOPSIS

Endpoint: https://ai.google.dev/api/generate-content Stream: https://ai.google.dev/api/generate-content#method:-models.streamgeneratecontent

SYNTAX

Invoke-GoogleGenerateContent [[-messages] <Object>] [[-model] <Object>] [[-StreamCallback] <Object>] [[-RawParams] <Object>] [[-Tools] 
<Object>] [<CommonParameters>]

PARAMETERS

-messages

Parameter Set: (All)
Type: Object
Aliases: 
Accepted Values: 
Required: false
Position: 1
Default Value: @()
Accept pipeline input: false
Accept wildcard characters: false

-model

Parameter Set: (All)
Type: Object
Aliases: 
Accepted Values: 
Required: false
Position: 2
Default Value: gemini-1.5-flash
Accept pipeline input: false
Accept wildcard characters: false

-StreamCallback

Parameter Set: (All)
Type: Object
Aliases: 
Accepted Values: 
Required: false
Position: 3
Default Value: 
Accept pipeline input: false
Accept wildcard characters: false

-RawParams

Parameter Set: (All)
Type: Object
Aliases: 
Accepted Values: 
Required: false
Position: 4
Default Value: @{}
Accept pipeline input: false
Accept wildcard characters: false

-Tools

Parameter Set: (All)
Type: Object
Aliases: 
Accepted Values: 
Required: false
Position: 5
Default Value: 
Accept pipeline input: false
Accept wildcard characters: false