Google PaLM (Independent Publisher) (Preview)
Google Palm offers advanced text generation and manipulation capabilities
This connector is available in the following products and regions:
Service | Class | Regions |
---|---|---|
Logic Apps | Standard | All Logic Apps regions except the following: - Azure Government regions - Azure China regions - US Department of Defense (DoD) |
Power Automate | Premium | All Power Automate regions except the following: - US Government (GCC) - US Government (GCC High) - China Cloud operated by 21Vianet - US Department of Defense (DoD) |
Power Apps | Premium | All Power Apps regions except the following: - US Government (GCC) - US Government (GCC High) - China Cloud operated by 21Vianet - US Department of Defense (DoD) |
Contact | |
---|---|
Name | Priyaranjan KS , Vidya Sagar Alti [Tata Consultancy Services] |
URL | https://www.tcs.com/ |
Priyaranjan.Sathyavrathan@tcs.com |
Connector Metadata | |
---|---|
Publisher | Priyaranjan KS , Vidya Sagar Alti [Tata Consultancy Services] |
Website | https://ai.google/discover/palm2/ |
Privacy policy | https://policies.google.com/privacy?hl=en |
Categories | AI |
Creating a connection
The connector supports the following authentication types:
Default | Parameters for creating connection. | All regions | Not shareable |
Default
Applicable: All regions
Parameters for creating connection.
This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.
Name | Type | Description | Required |
---|---|---|---|
API Key | securestring | The API Key for this api | True |
Throttling Limits
Name | Calls | Renewal Period |
---|---|---|
API calls per connection | 100 | 60 seconds |
Actions
Count Message Tokens |
Counts the number of tokens in the provided message prompt. |
Count Text Tokens |
Counts the number of tokens in the provided text prompt. |
Generate Message |
Generates a response from the model given an input message prompt. |
Generate Text |
Generates text based on a provided prompt, with optional constraints like safety settings and stop sequences. |
Get Model |
Retrieves the details of a specific model. |
List Models |
Retrieves the list of available models. |
Text Embedding |
Turns the provided free-form input text into an embedding. |
Count Message Tokens
Counts the number of tokens in the provided message prompt.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
API Version
|
APIVersion | True | string |
Required.API version to use for the endpoint. Examples:v1beta2,v1beta3. |
Model Name
|
model | True | string |
Required. The model's resource name.Eg: chat-bison-001 . Call List Models to see the list of supported models |
content
|
content | True | string |
Required. The content of the message. |
Returns
- response
- object
Count Text Tokens
Counts the number of tokens in the provided text prompt.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
API Version
|
APIVersion | True | string |
Required.API version to use for the endpoint. Examples:v1beta3. |
Model Name
|
model | True | string |
Required. The model's resource name. Eg: text-bison-001 .Call List Models to see the list of supported models |
Text
|
text | True | string |
Required.The text prompt to analyze. |
Returns
- response
- object
Generate Message
Generates a response from the model given an input message prompt.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
API Version
|
APIVersion | True | string |
Required.API version to use for the endpoint. Examples:v1beta2,v1beta3. |
Model Name
|
model | True | string |
Required. The name of the Model to use for generating the completion. Example: chat-bison-001. |
content
|
content | True | string |
Required. The textual input given to model as prompt |
Temperature
|
temperature | number |
Optional. Controls the randomness of the output. |
|
Top P
|
topP | number |
Optional. Maximum cumulative probability of tokens to consider when sampling. |
|
Top K
|
topK | integer |
Optional. Maximum number of tokens to consider when sampling. |
Returns
- response
- object
Generate Text
Generates text based on a provided prompt, with optional constraints like safety settings and stop sequences.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
API Version
|
APIVersion | True | string |
Required.API version to use for the endpoint. Examples:v1beta2,v1beta3. |
Model Type
|
modelType | True | string |
Required. The type of the model to use for text generation. Examples: 'models', 'tunedModels'. |
Model Name
|
modelName | True | string |
Required. The name of the model to use for generating the completion. Examples: text-bison-001, sentence-translator-u3b7m. |
Prompt
|
text | True | string |
Required. The input text given to the model as a prompt. |
Temperature
|
temperature | number |
Optional. Controls the randomness of the output. |
|
Candidate Count
|
candidateCount | integer |
Optional. Number of generated responses to return. |
|
Max Output Tokens
|
maxOutputTokens | integer |
Optional. Maximum number of tokens to include in a candidate. |
|
Top P
|
topP | number |
Optional. Maximum cumulative probability of tokens to consider when sampling. |
|
Top K
|
topK | integer |
Optional. Maximum number of tokens to consider when sampling. |
|
Safety Settings
|
Safety Settings | object |
Optional. Safety settings to block unsafe content |
|
Stop Sequences
|
stopSequences | array of string |
Optional. Character sequences that will stop output generation. |
Returns
- response
- object
Get Model
Retrieves the details of a specific model.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
API Version
|
APIVersion | True | string |
Required.API version to use for the endpoint. Examples:v1beta2,v1beta3. |
Model Name
|
name | True | string |
Required. The resource name of the model. Eg: text-bison-001,chat-bison-001 |
Returns
- response
- object
List Models
Retrieves the list of available models.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
API Version
|
APIVersion | True | string |
Required.API version to use for the endpoint. Examples:v1beta2,v1beta3. |
Page Size
|
pageSize | integer |
Optional.The maximum number of Models to return (per page). |
|
Page Token
|
pageToken | string |
Optional.A page token, received from a previous models.list call. |
Returns
- response
- object
Text Embedding
Turns the provided free-form input text into an embedding.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
API Version
|
APIVersion | True | string |
Required.API version to use for the endpoint. Examples:v1beta2,v1beta3. |
Model Name
|
model | True | string |
Required. The name of the Model to use for generating the embedding. Eg: embedding-gecko-001. |
Text
|
text | True | string |
Required. The free-form input text that the model will turn into an embedding. |
Returns
Name | Path | Type | Description |
---|---|---|---|
value
|
embedding.value | array of number |
The numerical representation of the text in the embedding space. |
Definitions
object
This is the type 'object'.