Quick Start Guide - Anthropic Claude Plugin for UE5

1. Basic Setup

  1. Install plugin in your UE5 project
  2. Add your Anthropic API key in the green section of your blueprint
  3. Ready to create AI interactions!

2. Creating Messages

Simple Message:

Make Anthropic Message → Send Claude Text Message
  • Drag out in blueprint
  • Search "Make Anthropic Message"
  • Connect text to message pin

With System Context:

Make Anthropic Message (System) → ADD Node
Make Anthropic Message (User)   → ADD Node → Send Message
  • Create two message nodes
  • Combine them with ADD node
  • Connect to send node

3. Sending Options

Quick Response (Non-Streaming)

Make Anthropic Message → Send Claude Text Message → Process Response
  • Best for single responses
  • Complete response at once
  • Connect response pin to your logic

Real-Time Response (Streaming)

Make Anthropic Message → Send Streaming Message → Handle Stream
  • Best for real-time dialogue
  • Responses come word by word
  • Connect streaming pins to UI updates

4. Key Settings

Setting Description
Temperature 0.0 (focused) to 1.0 (creative), default 0.7
System Message Optional context setting
Message Text Your main query/prompt

5. Tips

  • Use Multi Chat Line for formatted messages
  • ADD node combines multiple messages
  • Handle streaming responses as they arrive
  • Process complete responses after finished

That's it! You're ready to use Claude AI in your UE5 project. Need more details on any part?

Blueprint Nodes

Message Creation Nodes

Make Anthropic Message

  • Purpose: Creates a basic message for Claude
  • Input Pins:
    • Message (String) - Your text input
  • Output Pins:
    • Message Object - Formatted message

Set Multi Chat Line Message

  • Purpose: Handles multi-line or complex formatted messages
  • Input Pins:
    • Text (String) - Your multi-line message
  • Output Pins:
    • Message Object - Formatted multi-line message

ADD Node

  • Purpose: Combines multiple messages
  • Input Pins:
    • Multiple message input pins (adds dynamically)
  • Output Pins:
    • Combined Message Object

Message Sending Nodes

Send Streaming Message

  • Purpose: Real-time streaming responses
  • Input Pins:
    • Target - Connect to message object
    • Temperature (Float) - 0.0 to 1.0
    • Message Text - Connect from message object
    • System Message (Optional) - Context setting
  • Output Pins:
    • Streaming response (multiple parts)
    • Status updates

Send Claude Text Message

  • Purpose: Single complete response
  • Input Pins:
    • Target - Connect to message object
    • Temperature (Float) - 0.0 to 1.0
    • Message Text - Connect from message object
    • System Message (Optional) - Context setting
  • Output Pins:
    • Complete response text
    • Success/failure status

Basic Setup Patterns

Simple Query

Make Anthropic Message → Send Claude Text Message → Response
  1. Add "Make Anthropic Message" node
  2. Connect string input to Message pin
  3. Add "Send Claude Text Message" node
  4. Connect Message Object to Target
  5. Set Temperature (default 0.7)

Streaming Response

Make Anthropic Message → Send Streaming Message → Stream Output
  1. Add "Make Anthropic Message" node
  2. Connect to "Send Streaming Message"
  3. Connect stream output to handling logic

System + User Message

Make Anthropic Message (System) ↘
                                ADD → Send Message → Response
Make Anthropic Message (User)  ↗
  1. Create system context message
  2. Create user message
  3. Connect both to ADD node
  4. Connect ADD output to Send Message

Temperature Settings Guide

Value Use Case
0.0 Most deterministic responses
0.7 Balanced (recommended default)
1.0 Most creative responses

Message Formatting

Single Line Example

Message: "What is the weather like?"

Multi-Line Example

Line 1: Character description
Line 2: Current situation
Line 3: Desired response format

System Message Example

"You are a helpful assistant with expertise in [specific domain]."

Node Execution Flow

  1. Message creation nodes process first
  2. ADD node combines messages (if used)
  3. Send Message node executes
  4. Response handling processes results
0
0
0
s2smodern