Skip to content

Commit 54e7979

Browse files
author
waleed
committed
cleanup
1 parent 692aa28 commit 54e7979

69 files changed

Lines changed: 503 additions & 1589 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/docs/content/docs/de/blocks/router.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Wählen Sie ein KI-Modell für die Routing-Entscheidung:
105105
**Lokale Modelle**: Jedes Modell, das auf Ollama läuft
106106

107107
<div className="w-full max-w-2xl mx-auto overflow-hidden rounded-lg">
108-
<Video src="router-model-dropdown.mp4" width={500} height={350} />
108+
<Video src="models.mp4" width={500} height={350} />
109109
</div>
110110

111111
**Empfehlung**: Verwenden Sie Modelle mit starken Reasoning-Fähigkeiten wie GPT-4o oder Claude 3.7 Sonnet für genauere Routing-Entscheidungen.

apps/docs/content/docs/de/execution/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Alle öffentlichen Einstiegspunkte—API, Chat, Zeitplan, Webhook und manuelle A
9696

9797
<div className='flex justify-center my-6'>
9898
<Image
99-
src='/static/execution/deployment-versions-light.png'
99+
src='/static/execution/deployment-versions.png'
100100
alt='Tabelle mit Deployment-Versionen'
101101
width={500}
102102
height={280}

apps/docs/content/docs/de/tools/generic_webhook.mdx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ description: Empfangen Sie Webhooks von jedem Dienst durch Konfiguration eines
55
---
66

77
import { BlockInfoCard } from "@/components/ui/block-info-card"
8+
import { Image } from '@/components/ui/image'
89

910
<BlockInfoCard
1011
type="generic_webhook"
@@ -23,6 +24,16 @@ import { BlockInfoCard } from "@/components/ui/block-info-card"
2324
</svg>`}
2425
/>
2526

27+
<div className="flex justify-center">
28+
<Image
29+
src="/static/blocks/webhook.png"
30+
alt="Webhook Block Configuration"
31+
width={500}
32+
height={400}
33+
className="my-6"
34+
/>
35+
</div>
36+
2637
## Übersicht
2738

2839
Der Generic Webhook-Block ermöglicht es Ihnen, Webhooks von jedem externen Dienst zu empfangen. Dies ist ein flexibler Auslöser, der jede JSON-Nutzlast verarbeiten kann und sich daher ideal für die Integration mit Diensten eignet, die keinen dedizierten Sim-Block haben.

apps/docs/content/docs/de/triggers/schedule.mdx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Der Zeitplan-Block löst Workflows automatisch nach einem wiederkehrenden Zeitpl
1111

1212
<div className="flex justify-center">
1313
<Image
14-
src="/static/schedule.png"
14+
src="/static/blocks/schedule.png"
1515
alt="Zeitplan-Block"
1616
width={500}
1717
height={400}
@@ -45,10 +45,6 @@ Konfigurieren Sie, wann Ihr Workflow ausgeführt wird, mit den Dropdown-Optionen
4545

4646
## Zeitpläne konfigurieren
4747

48-
<div className="mx-auto w-full overflow-hidden rounded-lg">
49-
<Video src="configure-schedule.mp4" width={700} height={450} />
50-
</div>
51-
5248
Wenn ein Workflow geplant ist:
5349
- Wird der Zeitplan **aktiv** und zeigt die nächste Ausführungszeit an
5450
- Klicken Sie auf die Schaltfläche **"Geplant"**, um den Zeitplan zu deaktivieren
@@ -58,7 +54,7 @@ Wenn ein Workflow geplant ist:
5854

5955
<div className="flex justify-center">
6056
<Image
61-
src="/static/schedule-disabled.png"
57+
src="/static/blocks/schedule-3.png"
6258
alt="Deaktivierter Zeitplan"
6359
width={500}
6460
height={350}

apps/docs/content/docs/de/triggers/webhook.mdx

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ title: Webhooks
44

55
import { Callout } from 'fumadocs-ui/components/callout'
66
import { Tab, Tabs } from 'fumadocs-ui/components/tabs'
7+
import { Image } from '@/components/ui/image'
78
import { Video } from '@/components/ui/video'
89

910
Webhooks ermöglichen externen Diensten die Ausführung von Workflows durch das Senden von HTTP-Anfragen an Ihren Workflow. Sim unterstützt zwei Ansätze für webhook-basierte Auslöser.
@@ -12,8 +13,14 @@ Webhooks ermöglichen externen Diensten die Ausführung von Workflows durch das
1213

1314
Der generische Webhook-Block erstellt einen flexiblen Endpunkt, der beliebige Payloads empfangen und Ihren Workflow auslösen kann:
1415

15-
<div className="mx-auto w-full overflow-hidden rounded-lg">
16-
<Video src="webhooks-1.mp4" width={700} height={450} />
16+
<div className="flex justify-center">
17+
<Image
18+
src="/static/blocks/webhook.png"
19+
alt="Generic Webhook Configuration"
20+
width={700}
21+
height={450}
22+
className="my-6"
23+
/>
1724
</div>
1825

1926
### Funktionsweise

apps/docs/content/docs/en/blocks/agent.mdx

Lines changed: 39 additions & 164 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@ title: Agent
33
---
44

55
import { Callout } from 'fumadocs-ui/components/callout'
6-
import { Step, Steps } from 'fumadocs-ui/components/steps'
76
import { Tab, Tabs } from 'fumadocs-ui/components/tabs'
87
import { Image } from '@/components/ui/image'
9-
import { Video } from '@/components/ui/video'
108

11-
The Agent block serves as the interface between your workflow and Large Language Models (LLMs). It executes inference requests against various AI providers, processes natural language inputs according to defined instructions, and generates structured or unstructured outputs for downstream consumption.
9+
The Agent block connects your workflow to Large Language Models (LLMs). It processes natural language inputs, calls external tools, and generates structured or unstructured outputs.
1210

1311
<div className="flex justify-center">
1412
<Image
@@ -18,26 +16,7 @@ The Agent block serves as the interface between your workflow and Large Language
1816
height={400}
1917
className="my-6"
2018
/>
21-
</div>
22-
23-
## Overview
24-
25-
The Agent block enables you to:
26-
27-
<Steps>
28-
<Step>
29-
<strong>Process natural language</strong>: Analyze user input and generate contextual responses
30-
</Step>
31-
<Step>
32-
<strong>Execute AI-powered tasks</strong>: Perform content analysis, generation, and decision-making
33-
</Step>
34-
<Step>
35-
<strong>Call external tools</strong>: Access APIs, databases, and services during processing
36-
</Step>
37-
<Step>
38-
<strong>Generate structured output</strong>: Return JSON data that matches your schema requirements
39-
</Step>
40-
</Steps>
19+
</div>
4120

4221
## Configuration Options
4322

@@ -63,71 +42,39 @@ The user prompt represents the primary input data for inference processing. This
6342

6443
The Agent block supports multiple LLM providers through a unified inference interface. Available models include:
6544

66-
**OpenAI Models**: GPT-5, GPT-4o, o1, o3, o4-mini, gpt-4.1 (API-based inference)
67-
**Anthropic Models**: Claude 3.7 Sonnet (API-based inference)
68-
**Google Models**: Gemini 2.5 Pro, Gemini 2.0 Flash (API-based inference)
69-
**Alternative Providers**: Groq, Cerebras, xAI, DeepSeek (API-based inference)
70-
**Local Deployment**: Ollama-compatible models (self-hosted inference)
71-
72-
<div className="mx-auto w-3/5 overflow-hidden rounded-lg">
73-
<Video src="models.mp4" width={500} height={350} />
74-
</div>
45+
- **OpenAI**: GPT-5, GPT-4o, o1, o3, o4-mini, gpt-4.1
46+
- **Anthropic**: Claude 3.7 Sonnet
47+
- **Google**: Gemini 2.5 Pro, Gemini 2.0 Flash
48+
- **Other Providers**: Groq, Cerebras, xAI, DeepSeek
49+
- **Local Models**: Ollama-compatible models
7550

7651
### Temperature
7752

78-
Control the creativity and randomness of responses:
79-
80-
<Tabs items={['Low (0-0.3)', 'Medium (0.3-0.7)', 'High (0.7-2.0)']}>
81-
<Tab>
82-
More deterministic, focused responses. Best for factual tasks, customer support, and
83-
situations where accuracy is critical.
84-
</Tab>
85-
<Tab>
86-
Balanced creativity and focus. Suitable for general purpose applications that require both
87-
accuracy and some creativity.
88-
</Tab>
89-
<Tab>
90-
More creative, varied responses. Ideal for creative writing, brainstorming, and generating
91-
diverse ideas.
92-
</Tab>
93-
</Tabs>
94-
95-
<div className="mt-4 text-sm text-gray-600 dark:text-gray-400">
96-
The temperature range (0-1 or 0-2) varies depending on the selected model.
97-
</div>
53+
Controls response randomness and creativity:
54+
55+
- **Low (0-0.3)**: Deterministic and focused. Best for factual tasks and accuracy.
56+
- **Medium (0.3-0.7)**: Balanced creativity and focus. Good for general use.
57+
- **High (0.7-2.0)**: Creative and varied. Ideal for brainstorming and content generation.
9858

9959
### API Key
10060

10161
Your API key for the selected LLM provider. This is securely stored and used for authentication.
10262

10363
### Tools
10464

105-
Tools extend the agent's capabilities through external API integrations and service connections. The tool system enables function calling, allowing the agent to execute operations beyond text generation.
106-
107-
**Tool Integration Process**:
108-
1. Access the Tools configuration section within the Agent block
109-
2. Select from 60+ pre-built integrations or define custom functions
110-
3. Configure authentication parameters and operational constraints
111-
112-
<div className="mx-auto w-3/5 overflow-hidden rounded-lg">
113-
<Video src="tools.mp4" width={500} height={350} />
114-
</div>
65+
Extend agent capabilities with external integrations. Select from 60+ pre-built tools or define custom functions.
11566

116-
**Available Tool Categories**:
67+
**Available Categories:**
11768
- **Communication**: Gmail, Slack, Telegram, WhatsApp, Microsoft Teams
11869
- **Data Sources**: Notion, Google Sheets, Airtable, Supabase, Pinecone
11970
- **Web Services**: Firecrawl, Google Search, Exa AI, browser automation
120-
- **Development**: GitHub, Jira, Linear repository and issue management
71+
- **Development**: GitHub, Jira, Linear
12172
- **AI Services**: OpenAI, Perplexity, Hugging Face, ElevenLabs
12273

123-
**Tool Execution Control**:
124-
- **Auto**: Model determines tool invocation based on context and necessity
125-
- **Required**: Tool must be called during every inference request
126-
- **None**: Tool definition available but excluded from model context
127-
128-
<div className="mx-auto w-3/5 overflow-hidden rounded-lg">
129-
<Video src="granular-tool-control.mp4" width={500} height={350} />
130-
</div>
74+
**Execution Modes:**
75+
- **Auto**: Model decides when to use tools based on context
76+
- **Required**: Tool must be called in every request
77+
- **None**: Tool available but not suggested to model
13178

13279
### Response Format
13380

@@ -177,101 +124,29 @@ Use a `Memory` block with a consistent `id` (for example, `chat`) to persist mes
177124

178125
See the [`Memory`](/tools/memory) block reference for details.
179126

180-
## Inputs and Outputs
181-
182-
<Tabs items={['Configuration', 'Variables', 'Results']}>
183-
<Tab>
184-
<ul className="list-disc space-y-2 pl-6">
185-
<li>
186-
<strong>System Prompt</strong>: Instructions defining agent behavior and role
187-
</li>
188-
<li>
189-
<strong>User Prompt</strong>: Input text or data to process
190-
</li>
191-
<li>
192-
<strong>Model</strong>: AI model selection (OpenAI, Anthropic, Google, etc.)
193-
</li>
194-
<li>
195-
<strong>Temperature</strong>: Response randomness control (0-2)
196-
</li>
197-
<li>
198-
<strong>Tools</strong>: Array of available tools for function calling
199-
</li>
200-
<li>
201-
<strong>Response Format</strong>: JSON Schema for structured output
202-
</li>
203-
</ul>
204-
</Tab>
205-
<Tab>
206-
<ul className="list-disc space-y-2 pl-6">
207-
<li>
208-
<strong>agent.content</strong>: Agent's response text or structured data
209-
</li>
210-
<li>
211-
<strong>agent.tokens</strong>: Token usage statistics object
212-
</li>
213-
<li>
214-
<strong>agent.tool_calls</strong>: Array of tool execution details
215-
</li>
216-
<li>
217-
<strong>agent.cost</strong>: Estimated API call cost (if available)
218-
</li>
219-
</ul>
220-
</Tab>
221-
<Tab>
222-
<ul className="list-disc space-y-2 pl-6">
223-
<li>
224-
<strong>Content</strong>: Primary response output from the agent
225-
</li>
226-
<li>
227-
<strong>Metadata</strong>: Usage statistics and execution details
228-
</li>
229-
<li>
230-
<strong>Access</strong>: Available in blocks after the agent
231-
</li>
232-
</ul>
233-
</Tab>
234-
</Tabs>
127+
## Outputs
128+
129+
- **`<agent.content>`**: Agent's response text
130+
- **`<agent.tokens>`**: Token usage statistics
131+
- **`<agent.tool_calls>`**: Tool execution details
132+
- **`<agent.cost>`**: Estimated API call cost
235133

236134
## Example Use Cases
237135

238-
### Customer Support Automation
239-
240-
<div className="mb-4 rounded-md border p-4">
241-
<h4 className="font-medium">Scenario: Handle customer inquiries with database access</h4>
242-
<ol className="list-decimal pl-5 text-sm">
243-
<li>User submits a support ticket via the API block</li>
244-
<li>Agent checks orders/subscriptions in Postgres and searches the knowledge base for guidance</li>
245-
<li>If escalation is needed, the Agent creates a Linear issue with relevant context</li>
246-
<li>Agent drafts a clear email reply</li>
247-
<li>Gmail sends the reply to the customer</li>
248-
<li>Conversation is saved to Memory to maintain history for future messages</li>
249-
</ol>
250-
</div>
251-
252-
### Multi-Model Content Analysis
253-
254-
<div className="mb-4 rounded-md border p-4">
255-
<h4 className="font-medium">Scenario: Analyze content with different AI models</h4>
256-
<ol className="list-decimal pl-5 text-sm">
257-
<li>Function block processes uploaded document</li>
258-
<li>Agent with GPT-4o performs technical analysis</li>
259-
<li>Agent with Claude analyzes sentiment and tone</li>
260-
<li>Function block combines results for final report</li>
261-
</ol>
262-
</div>
263-
264-
### Tool-Powered Research Assistant
265-
266-
<div className="mb-4 rounded-md border p-4">
267-
<h4 className="font-medium">Scenario: Research assistant with web search and document access</h4>
268-
<ol className="list-decimal pl-5 text-sm">
269-
<li>User query received via input</li>
270-
<li>Agent searches web using Google Search tool</li>
271-
<li>Agent accesses Notion database for internal docs</li>
272-
<li>Agent compiles comprehensive research report</li>
273-
</ol>
274-
</div>
136+
**Customer Support Automation** - Handle inquiries with database and tool access
137+
```
138+
API (Ticket) → Agent (Postgres, KB, Linear) → Gmail (Reply) → Memory (Save)
139+
```
140+
141+
**Multi-Model Content Analysis** - Analyze content with different AI models
142+
```
143+
Function (Process) → Agent (GPT-4o Technical) → Agent (Claude Sentiment) → Function (Report)
144+
```
145+
146+
**Tool-Powered Research Assistant** - Research with web search and document access
147+
```
148+
Input → Agent (Google Search, Notion) → Function (Compile Report)
149+
```
275150

276151
## Best Practices
277152

0 commit comments

Comments
 (0)