Skip to main content

Generate a response with Claude (Large context)

Wrk Product avatar
Written by Wrk Product
Updated over 3 weeks ago

Use Claude to generate human-like responses to a given prompt or question. Maximum response length is 50,000 tokens. Accepted file formats: PNG, JPEG, WEBP, GIF and PDF. To stay under the 32 MB request limit for both the prompt and files, please compress large PDFs.Outcomes: SuccessThis Wrk Action uses AI-generated content. Like all AI content, use with caution; information may be outdated, incomplete, or inaccurate.

Application

  • Anthropic

Inputs (what you have)

Name

Description

Data Type

Required?

Example

Prompt

The prompt to generate completions for. Input will be truncated if it exceeds the limit set by the API

Text (Long)

Yes

Model

Select the Claude model to use for generating the response

Text (Short)

Yes

System message

The message which sets the context and expectations for a conversation with the AI

Text (Long)

No

Temperature

Sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic

Number with decimals

No

File input 1

The file to be provided to the AI

File

No

File input 2

A second file to be provided to the AI

File

No

File input 3

A third file to be provided to the AI

File

No

Return response as JSON?

If set to true, the response of the AI will return valid JSON

True/False

No

Outputs (what you get)

Name

Description

Data Type

Required?

Example

Generated text

Text content created by artificial intelligence

Text (Long)

No

Outcomes

Name

Description

Success

This status is selected if the job has successfully completed.

Requirements

  • N/A

Did this answer your question?