Skip to content

Commit 86af1ef

Browse files
Merge pull request #2391 from redis/DOC-5943
Update agent builder text
2 parents a65188b + 3456f18 commit 86af1ef

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

assets/css/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1074,7 +1074,7 @@ a[href*="#no-click"], img[src*="#no-click"] {
10741074
background-color: #ddd;
10751075
}
10761076

1077-
/* Redis AI Agent Builder Styles */
1077+
/* AI Agent Builder Styles */
10781078

10791079
.agent-builder-container {
10801080
@apply max-w-4xl mx-auto p-6 bg-white rounded-lg border border-redis-pen-800 shadow-lg;

content/develop/ai/agent-builder/_index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
---
2-
Title: Redis AI Agent Builder
2+
Title: AI agent builder
33
alwaysopen: false
44
categories:
55
- docs
66
- develop
77
- ai
88
description: Build custom AI agents powered by Redis with our interactive code generator
9-
linkTitle: Agent Builder
9+
linkTitle: Agent builder
1010
hideListLinks: true
1111
weight: 50
1212
---
1313

1414

15-
Agents use Redis for data storage, vector search, and conversation memory. The interactive builder generates production-ready code in your preferred programming language.
15+
Agents use Redis for data storage, vector search, and conversation memory. The interactive builder generates code in your preferred programming language with your choice of model.
1616

1717
## Get started
1818

layouts/shortcodes/agent-builder.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.11.1/highlight.min.js"></script>
33
<script src="https://cdn.jsdelivr.net/npm/[email protected]/marked.min.js"></script>
44

5-
<!-- Redis AI Agent Builder Shortcode -->
5+
<!-- AI Agent Builder Shortcode -->
66
<div id="redis-agent-builder" class="agent-builder-container">
77
<div class="agent-builder-header">
8-
<h3 class="text-2xl font-semibold text-redis-ink-900 mb-2">Build Your Redis AI Agent</h3>
8+
<h3 class="text-2xl font-semibold text-redis-ink-900 mb-2">Build Your AI Agent</h3>
99
<p class="text-redis-pen-600 mb-6">Tell us what you want to build and we'll generate the code for you</p>
1010
</div>
1111

@@ -20,7 +20,7 @@ <h3 class="text-2xl font-semibold text-redis-ink-900 mb-2">Build Your Redis AI A
2020
</svg>
2121
</div>
2222
<div class="message-content">
23-
<p>Hi! I'll help you build a Redis AI agent. Let's start with what type of agent you want to create.</p>
23+
<p>Hi! I'll help you build an AI agent. Let's start with what type of agent you want to create.</p>
2424
<div class="suggestion-chips">
2525
<button class="suggestion-chip" data-suggestion="recommendation">🛍️ Recommendation Engine</button>
2626
<button class="suggestion-chip" data-suggestion="conversational">💬 Conversational Assistant</button>

static/js/agent-builder.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Redis AI Agent Builder JavaScript
2+
* AI Agent Builder JavaScript
33
* Handles chat interface and code generation
44
*/
55

@@ -410,7 +410,7 @@
410410

411411
// Handle special responses from coming soon message
412412
if (input === 'wait') {
413-
addMessage('Thanks for checking out the Redis AI Agent Builder. Come back when your preferred language is supported!', 'bot');
413+
addMessage('Thanks for checking out the AI Agent Builder. Come back when your preferred language is supported!', 'bot');
414414
return;
415415
}
416416

@@ -480,7 +480,7 @@
480480
const config = CONFIG.models[selectedModel];
481481

482482
addMessage(`Perfect! ${config.description}`, 'bot');
483-
addMessage('🎉 I have everything I need! Generating your Redis AI agent code...', 'bot');
483+
addMessage('🎉 I have everything I need! Generating your AI agent code...', 'bot');
484484

485485
// Generate code
486486
setTimeout(() => {
@@ -498,7 +498,7 @@
498498
function generateAndDisplayCode() {
499499
const code = generateAgentCode(conversationState.selections);
500500

501-
addMessage('✅ Your Redis AI agent code is ready! You can copy or download it below.', 'bot');
501+
addMessage('✅ Your AI agent code is ready! You can copy or download it below.', 'bot');
502502

503503
// Show code section
504504
displayGeneratedCode(code, conversationState.selections);
@@ -560,7 +560,7 @@
560560
}
561561

562562
function getGenericPythonCode(formData) {
563-
return `# ${formData.agentName} - Redis AI Agent
563+
return `# ${formData.agentName} - AI Agent
564564
# Generated for ${CONFIG.agentTypes[formData.agentType].description}
565565
566566
import redis
@@ -597,7 +597,7 @@ if __name__ == "__main__":
597597
}
598598

599599
function getGenericJavaScriptCode(formData) {
600-
return `// ${formData.agentName} - Redis AI Agent
600+
return `// ${formData.agentName} - AI Agent
601601
// Generated for ${CONFIG.agentTypes[formData.agentType].description}
602602
603603
const redis = require('redis');
@@ -640,7 +640,7 @@ module.exports = ${formData.agentName.replace(/\s+/g, '')};`;
640640
}
641641

642642
function getGenericJavaCode(formData) {
643-
return `// ${formData.agentName} - Redis AI Agent
643+
return `// ${formData.agentName} - AI Agent
644644
// Generated for ${CONFIG.agentTypes[formData.agentType].description}
645645
646646
import redis.clients.jedis.Jedis;
@@ -680,7 +680,7 @@ public class ${formData.agentName.replace(/\s+/g, '')} {
680680
}
681681

682682
function getGenericCSharpCode(formData) {
683-
return `// ${formData.agentName} - Redis AI Agent
683+
return `// ${formData.agentName} - AI Agent
684684
// Generated for ${CONFIG.agentTypes[formData.agentType].description}
685685
686686
using StackExchange.Redis;

0 commit comments

Comments
 (0)