LLMAI Terminal Demo
The LLMAI Terminal is the shared chat interface used by both demo projects (LLMAI_Arcade and LLMAI_LiveLink). It showcases real-time text and voice communication through a clean, desktop-style interface.
Used In:
• LLMAI_Arcade — AI controls the Rocketeer game through function calling
• LLMAI_LiveLink — AI controls a MetaHuman character with lip-sync and gestures
Perfect for: Understanding AI integration, testing voice features, learning LLM capabilities, developing cutting edge LLM functionality in Unreal Engine.
💬 Real-time Chat | 🎤 Voice Communication | 🎮 Game Integration
LLMAI Terminal Interface Overview
🎯 Terminal Features Overview
🚀 Getting Started
Prerequisites
Before trying this demo, you need to enable the LLMAI plugin
Required Setup: The plugin must be installed and configured first. See the Plugin Installation Guide for:
- Installing the LLMAI plugin
- Enabling it in your project
- Configuring AI service (OpenAI API key OR LocalAI)
- Setting configuration options
Note: You can use either OpenAI (cloud) or the LocalAI distribution (available separately) for offline operation.
Launch the Demo
- Open the Level: Navigate to
Content/LLMAITerminal/Levels/LVL_LLMAITerminal.umap
- Play the Level: Click Play in Editor or use Alt+P
- Connect to AI: The connection dialog will appear automatically
✨ Features Showcase
💬 Text Communication
Professional Chat Interface: Clean, modern chat bubbles with user/AI distinction
Real-time Responses: See AI responses stream in real-time character by character
Message History: Scrollable conversation history with timestamps
System Messages: Clear status updates and connection information
🎤 Voice Communication
One-Click Voice Mode: Toggle voice communication with the microphone button
Voice Activity Detection: Automatic speech detection - just start talking!
Natural Conversations: Experience low-latency voice interactions
Visual Feedback: See when you're speaking and when AI is responding
🔧 System Integration
Connection Management: Easy connect/disconnect with status indicators
Debug Interface: Toggle the log panel to see detailed system information
Error Handling: Graceful error messages and automatic recovery
Performance Monitoring: Real-time connection and response metrics
🖥️ Interface Guide
Connection Dialog
The connection dialog is used to connect to your selected AI provider and configure your session:
Configuration Options
Connecting: Once you've selected your desired options, click the Connect button. When the connection is established, it will automatically show the chat interface.
Chat Interface Overview
The main chat interface provides all the tools you need for AI communication:
Interface Components
- Chat Messages History: Displays all messages between "Player1" and "Chatbot" with full conversation context
- Text Input Field: Enter your text message at the bottom of the chat interface
- Press Enter or click the Send button to send your message
- Messages appear in real-time with streaming responses
- Voice Mode Toggle: Turn voice communication on and off at any time
- Enables microphone input and voice output through default speakers
- Provides natural voice conversation capabilities
- Log Toggle: Access the Log Interface toggle button at bottom-left (also available during conversation)
- Close Button: Located at top-right to disconnect from chat and automatically end voice mode
🎮 How to Use
Text Chat
- Type your message in the input field at the bottom
- Press Enter or click the Send button
- Watch the response - The response is streamed in real-time from the AI to the chat area
- Continue the conversation naturally back and forth with historical context maintained
Voice Mode
- Click the Voice Mode button to enable voice mode
- Start speaking and your voice will be streamed to the AI
- AI will respond with streaming text and voice output in real-time
- Continue talking - you can naturally interrupt the AI at any time
- Click the Voice Mode button again to return to text-only mode
Log Interface
Log Toggle: Toggle the in-game log to show LLMAI and terminal events
Demo-Specific Features
The Terminal interface is used by both demo projects, each with different AI capabilities:
LLMAI_Arcade Demo
Say "Launch Rocketeer" and the AI will use a function call to start the arcade game.
Refer to the Rocketeer Game Documentation for detailed information.
LLMAI_LiveLink Demo
Enable voice mode to see real-time lip-sync on the MetaHuman character. Try commands like "Wave hello", "Move to the left", or "Jump!"
Refer to the LiveLink Demo Details for gesture and movement functions.
💡 What to Try
Basic Conversations
- "Hello, how are you today?" - Start with simple greetings
- "What can you help me with?" - Discover AI capabilities
- "Tell me about Unreal Engine" - Explore knowledge areas
- "Can you help me with game development?" - Get technical assistance
- "Launch Rocketeer" - Try the game integration feature
🛠 Technical Highlights
Blueprint Architecture
The terminal demonstrates professional Blueprint implementation patterns:
- Component-Based Design: Clean separation of concerns
- Event-Driven Communication: Responsive UI updates
- Error Handling: Graceful failure recovery
- Performance Optimization: Efficient message handling
🆘 Troubleshooting
Refer to the included FAQ for detailed information.
This terminal demonstration provides a complete foundation for understanding AI integration in Unreal Engine and serves as an excellent starting point for your own AI-powered applications.
🎯 Experience the future of AI integration in Unreal Engine with real-time conversation capabilities!