Files
freemo e03fd2956d
CI / benchmark-publish (pull_request) Has been skipped
CI / build (pull_request) Successful in 18s
CI / lint (pull_request) Failing after 18s
CI / helm (pull_request) Successful in 24s
CI / typecheck (pull_request) Failing after 52s
CI / security (pull_request) Failing after 53s
CI / coverage (pull_request) Has been skipped
CI / benchmark-regression (pull_request) Has been skipped
CI / unit_tests (pull_request) Failing after 1m48s
CI / docker (pull_request) Has been skipped
CI / quality (pull_request) Successful in 3m42s
CI / e2e_tests (pull_request) Failing after 13m56s
CI / integration_tests (pull_request) Failing after 21m12s
CI / status-check (pull_request) Failing after 2s
test(actors): fix actor examples missing provider fields and incorrect name
Add missing provider: field to all actor examples in examples/actors/.
Fix llm_with_tools.yaml actor name from assistants/file_analyzer to
local/assistants-file_analyzer (custom actors must use local/ namespace
and cannot contain two slashes).

Add validate-all command to helper_actor_examples.py that uses ActorLoader
to validate all examples via business logic checks. Add integration test
Validate All Actor Examples Import Without Errors to actor_examples.robot
that confirms every example in examples/actors/ can be imported without
errors.

ISSUES CLOSED: #1504
2026-04-02 23:31:25 +00:00

80 lines
1.9 KiB
YAML

# Simple Graph Actor - Sequential Processing
# Demonstrates a simple 3-node graph with linear execution
name: workflows/document_processor
type: graph
description: Simple document processing workflow (extract → analyze → summarize)
version: "1.0"
# LLM model
provider: openai
model: gpt-3.5-turbo
# Graph topology
route:
nodes:
# Node 1: Extract text from document
- id: extractor
type: tool
name: Text Extractor
description: Extracts text from various document formats
config:
tool_name: documents/extract_text
parameters:
formats:
- pdf
- docx
- txt
# Node 2: Analyze content
- id: analyzer
type: agent
name: Content Analyzer
description: Analyzes document structure and content
config:
model: gpt-3.5-turbo
prompt: |
Analyze the document content and identify:
- Main topics and themes
- Key entities (people, places, organizations)
- Sentiment and tone
- Document structure
tools:
- analysis/extract_entities
- analysis/sentiment_analysis
# Node 3: Generate summary
- id: summarizer
type: agent
name: Summarizer
description: Creates concise summary of document
config:
model: gpt-3.5-turbo
prompt: |
Create a concise summary of the document including:
- Main points (3-5 bullet points)
- Key findings
- Actionable insights
Keep it under 200 words.
# Linear edges
edges:
- from_node: extractor
to_node: analyzer
- from_node: analyzer
to_node: summarizer
# Entry and exit
entry_node: extractor
exit_nodes:
- summarizer
# Context settings
context_view: executor
memory:
enabled: true
max_messages: 10
context:
max_context_tokens: 4000