activities
latest
false
Integration Service Activities
Last updated Oct 21, 2024

Get Text Completion Using Anthropic

UiPath.Bedrock.IntegrationService.Activities.TextCompletionUsingAnthropic

Description

Generates a text completion response based on a given prompt using an Anthropic model.

Project compatibility

Windows | Cross-platform

Configuration

  • Connection ID - The connection established in Integration Service. Access the dropdown menu to choose, add, or manage connections.

  • Model - The model you want to use for the text completion generation.
  • Prompt - The prompt to use for the text completion generation.
Manage Properties

Use the Manage Properties wizard to configure or use any of the object's standard or custom fields. You can select fields to add them to the activity canvas. The added standard or custom fields are available in the Properties panel (in Studio Desktop) or under Show additional properties (in Studio Web).

Additional properties
  • Max tokens to sample - The maximum number of tokens allowed to generate before stopping. By default, this field is set to 256.
  • Stop sequences - Sequences that cause the model to stop generating completion text.
  • Temperature - The amount of randomness injected into the response. This field accepts ranges between 0 and 1. Use a temperature closer to 0 for analytical / multiple choice, and closer to 1 for creative and generative tasks. By default, this field is set to 0.
  • Top k - Only sample from the top K options for each subsequent token. Used to remove "long tail" low probability responses. By default, this field is set to 5.
  • Top P - A number between 0 and 1. The lower the number, the fewer tokens are used. By default, this field is set to 1.
Output
  • Completion - Top generated text completion. Automatically generated output variable.
  • Text completion response object - The full response object for the text completion. Automatically generated output variable.
  • Description
  • Project compatibility
  • Configuration

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.