Activities
latest
false
- Overview
- Act! 365
- ActiveCampaign
- Adobe Acrobat Sign
- Adobe PDF Services
- Amazon Bedrock
- Amazon Connect
- Amazon Polly
- Amazon SageMaker - Preview
- Amazon SES
- Amazon Transcribe
- Anthropic Claude
- Asana
- AWeber
- Azure Maps
- BambooHR
- Box
- Release notes
- About the Box activity package
- Project compatibility
- Add Shared Link to File
- Add Shared Link to Folder
- Search for Content
- Cancel Sign Request
- List Sign Requests
- Create Sign Request
- Resend Sign Request
- Copy File
- Delete File
- Download File
- Get File Info
- Get Folder Items
- Upload File
- Copy Folder
- Create Folder
- Delete Folder
- Delete Record
- Get Record
- Insert Record
- Replace Record
- List All Records
- Brevo
- Calendly
- Campaign Monitor
- Cisco Webex Teams
- Citrix ShareFile
- Clearbit
- Confluence Cloud - Preview
- Constant Contact
- Coupa
- Customer.io
- Datadog
- Deputy - Preview
- Discord - Preview
- DocuSign
- Drip
- Dropbox
- Dropbox Business
- Egnyte - Preview
- Epic FHIR R4 - Preview
- Eventbrite
- Exchangerates
- Expensify
- Facebook
- Freshservice
- Freshbooks
- Freshdesk
- GetResponse
- GitHub
- Google Maps
- Google Speech-to-Text - Preview
- Google Text-to-Speech
- Google Vertex
- Google Vision - Preview
- GoToWebinar
- Release Notes
- About the GoToWebinar activity package
- Project Compatibility
- API References
- Delete Webinar
- Get Webinar
- Get Webinar Meeting Times
- Get Webinar Registrant
- Get Webinar Start URL
- List Account Webinars
- List All In Session Webinars
- List All Webinar Attendees
- List All Webinar Registrants
- List All Webinars
- Quick Create Webinar
- Quick Update Webinar
- Search Recording Assets
- Delete Record
- Get Record
- Insert Record
- List All Records
- List Records
- Greenhouse
- Hootsuite
- HTTP Webhook
- Hubspot CRM - Preview
- About the Hubspot CRM activity package
- Project Compatibility
- Invoke Operation
- Update File
- Upload File
- Delete Record
- Get Record
- Insert Record
- List All Records
- List Records
- Update Record
- Upsert Record
- Find First Record
- Create Association
- Get Company
- Create Company
- Update Company
- Get Contact
- Create Contact
- Update Contact
- Get Deal
- Archive Deal
- Get Product
- Create Product
- Update Product
- Hubspot Marketing - Preview
- About the Hubspot Marketing activity package
- Project Compatibility
- Invoke Operation
- Delete Record
- Get Record
- Insert Record
- List All Records
- Update Record
- Replace Record
- Get Company
- Create Company
- Update Company
- Get Contact
- Create Contact
- Update Contact
- Update File
- Upload File
- Add Contact to List
- Create List
- Get Contact List
- List All Contact Lists
- List All Contacts in a List
- Update List
- Technical References
- IBM WatsonX
- iContact
- Insightly CRM - Preview
- Intercom
- Jira
- Keap
- Klaviyo
- LinkedIn
- Mailchimp
- MailerLite
- Mailgun
- Marketo
- Microsoft Azure OpenAI
- Microsoft Dynamics CRM
- Microsoft Sentiment
- Microsoft Teams
- Release Notes
- About the Microsoft Teams activity package
- Project Compatibility
- Create Channel
- Invite Member to Channel
- List All Channels
- Send Individual Chat Message
- Reply to a Channel Message
- Send Channel Message
- Send Group Chat Message
- Delete Record
- Get Record
- Insert Record
- List All Records
- Update Record
- Get Channel by Name
- Get Individual Chat
- Get Team by Name
- Invite User to Team
- List All Channel Messages
- List All Chat Messages
- List All Team Members
- Microsoft Translator
- Microsoft Vision
- Miro
- Okta
- OpenAI
- Oracle Eloqua
- Oracle NetSuite
- Release Notes
- About the Oracle NetSuite activity package
- Project Compatibility
- Delete Record
- Get Record
- Insert Record
- List All Records
- Update Record
- Create Basic Company Customer
- Create Basic Company Vendor
- Create Basic Contact
- Create Basic Individual Customer
- Create Basic Individual Vendor
- Create Basic Support Case
- Update Basic Company Customer
- Update Basic Company Vendor
- Update Basic Contact
- Update Basic Individual Customer
- Update Basic Individual Vendor
- Update Basic Support Case
- Customer Created
- Customer Updated
- Record Created
- Record Updated
- Support Case Raised
- Support Case Updated
- Vendor Created
- Vendor Updated
- Paypal
- PDFMonkey
- Pinecone
- QuickBooks Online
- Quip
- Salesforce
- Salesforce Marketing Cloud
- Release Notes
- About the Salesforce Marketing Cloud activity package
- Project Compatibility
- Salesforce Marketing Cloud Scope
- Invoke Operation
- Delete Record
- Get Record
- Insert Record
- Update Record
- List Records
- List All Records
- Create Campaign
- Delete Campaign
- Get Campaign
- List All Campaigns
- Create Contact
- Delete Contact
- List All Contacts
- Update Contact
- Create Journey (Basic)
- Delete Journey
- Get Journey
- List All Journeys
- Update Journey
- Create List (Basic)
- Delete List
- Get List
- List All Lists
- Update List
- SAP Build Process Automation - Preview
- SAP Cloud for Customer
- SAP Concur
- SendGrid
- ServiceNow
- Release Notes
- About the ServiceNow activity package
- Project Compatibility
- Troubleshooting
- Create New Incident
- Create Incident Task
- List All Incidents
- Update Incident
- Add Attachment
- Download Attachment
- Get Incident Task
- Get Attachment
- List All Attachments
- List All Incident Tasks
- Update Incident Task
- When an Event Happens
- Delete Attachment
- Delete Record
- Get Record
- Insert Record
- List All Records
- Update Record
- Incident Created
- Incident Updated
- Incident Task Created
- Incident Task Updated
- Record Created
- Record Updated
- Shopify
- Slack - Preview
- About the Slack activity package
- Project Compatibility
- Create Channel
- Invite Users to Channel
- List All Channels
- Remove User from Channel
- Get File Info
- Send File to Channel
- Send Message to Channel
- Send Message to User
- Send Reply
- Send Button Response
- Add or Replace Users of User Group
- Create User Group
- Get User by Email
- List All User Groups
- List All Users
- Set Channel Topic
- Join Channel
- Archive Channel
- Create Group Direct Message
- Get Channel Info
- Button Clicked
- SmartRecruiters
- Smartsheet
- Release notes
- About the Smartsheet activity package
- Project compatibility
- Attach URL to Sheet
- Add Column
- Update Column
- Add Row
- Update Row
- Get Sheet
- List All Sheets
- Attach File to Comment
- Search Everything
- Update Sheet
- Create Sheet from Template
- Send Sheet Via Email
- List All Folders
- Download Attachment
- Attach File to Row
- Attach URL to Row
- Attach File to Sheet
- List All Workspaces
- List All Attachments
- Delete Row
- Download Sheet
- Search Sheets
- Insert Record
- Get Record
- List All Records
- Delete Record
- Snowflake
- Stripe
- Sugar Enterprise
- Sugar Professional
- Sugar Sell
- Sugar Serve
- TangoCard
- Todoist
- Trello
- Twilio
- UiPath GenAI Activities - Preview
- X (formerly Twitter)
- WooCommerce
- Workable
- Workday
- Youtube
- Zendesk
- Zoho Campaigns - Preview
- Zoho Desk
- Zoho Mail - Preview
- Zoom
- ZoomInfo
Generate Text Completion
Integration Service Activities
Last updated Apr 23, 2024
Generate Text Completion
UiPath.MicrosoftAzureOpenAI.IntegrationService.Activities.GenerateTextCompletion
Given a prompt and other inputs such as the Model ID, etc., generates a text completion response
- ConnectionId - The connection established in Integration Service.
Access the drop-down to choose, add or manage connections. This field
supports only strings or
String
variables. - Prompt - The prompt you want to use for the generation of the text completion.
Options
- Model - The model name or
ID utilized for the generation of the text completions.
Note: This activity enables users to select any GPT-3 model that has been deployed into your Azure instance. If you don’t see a model in the dropdown, please reach out to your Azure Administrator and ensure that they have deployed the model to production.
- Max Tokens - The maximum number of tokens to generate in the completion. The token count of your prompt plus max_tokens cannot exceed the model’s context length. Most models have a context length of 2048 tokens (except for the newest models, which support 4096). You can read more on tokens here.
- N - The number of completion choices you want the AI to return. The
minimum value of this field is
1
. Default value is1
. - Temperature - The value of the sampling temperature to use. Higher values
means the model takes more risks. Try
0.9
for more creative responses or completions, and0
(also called argmax sampling) for ones with a well-defined or more exact answer. The general recommendation is to alter, from the default value, this or the Nucleus Sample Value, but not both values. Defaults to1
. - Top P - A number between 0 and 1. The lower the number, the fewer tokens
are considered. Defaults to
1
. - Stream - Specifies whether to stream back partial progress. If set,
tokens are sent as data-only server-sent events as they become available, with
the stream terminated by a
data:[DONE]
message. Defaults tofalse
. - Log Probs - Include the log probabilities on the
logprob
's most likely tokens, as well as the chosen tokens. For example, iflogprobs
is 5, the API returns a list of the 5 most likely tokens. The API always returns thelogprob
of the sampled token, so there may be up tologprobs+1
elements in the response. The maximum value forlogprobs
is 5. Defaults tonull
. - Echo - In addition to completion, if this field is set to
true
, echoes back the prompt. Default value isfalse
. - Stop - Up to 4 sequences where the API stops generating further tokens.
The returned text does not contain the stop sequence. Defaults to
null
. - Presence Penalty - A number between -2.0 and 2.0. Positive values
penalize new tokens based on whether they appear in the text so far, increasing
the model’s likelihood to talk about new topics. Defaults to
0
. - Frequency Penalty - Number between -2.0 and 2.0. Positive values penalize
new tokens based on their existing frequency in the text so far, decreasing the
model’s likelihood to repeat the same line verbatim. Defaults to
0
. - Best Of - Generates
best_of
completions server-side and returns thebest
(the one with the highest log probability per token). Results cannot be streamed. When used with N,best_of
controls the number of candidate completions and N specifies how many to return -best_of
must be greater than N. Defaults to1
.
Output
- Response - The full
GenerateTextCompletion
object that includes:-
Choices - or responses from the model. You can set the total number of responses that you want back from the model using the ‘N’ field in the additional options of the activity which defaults to 1. This will return as an array with the first object starting at 0. Ex. Referencing a single object in an array within a ‘For Each’ control:
Response.Choices(0).Text
.For information on other parts of the Text Completion response object, please see this page.
-
- Top Generated Text - The top generated text completion string. If you are interested in only returning a single response (ie. N=1, which is the default), this will be the output you most likely will want to use. It is a ‘Text’ data type which is easy to assign a variable to and use directly in other activities/text inputs.