| Resource | Link | |----------|------| | Official Docs | https://docs.lenka.ai/e57 | | SDK Repository (GitHub) | https://github.com/lenka-ai/sdk | | API Reference (OpenAPI 3.1) | https://api.lenka.ai/v1/openapi.json | | Community Forum | https://community.lenka.ai | | Video Walk‑through (YouTube) | https://youtu.be/LenkaE57Guide | | Compliance Whitepaper | https://lenka.ai/compliance/e57 | | Support Ticket Portal | https://support.lenka.ai (24 h SLA for Pro tier) |
response = client.analyze(
image_path="screenshot.png",
tasks=["ocr", "caption"]
)
print(response.caption) # "User dashboard showing pending invoices."
print(response.ocr) # "Invoice #": "12345", "Due": "2026‑04‑30"
Note: This feature requires a Pro plan and the
lenka-imageadd‑on. public agent e57 lenka
If you are cataloging the file:
scenario =
"incident_type": "phishing",
"severity": "high",
"affected_users": 124,
"timestamp": "2026-04-10T14:23:00Z"
rules = [
"action":"notify_security", "condition":"severity == 'high'",
"action":"quarantine_account", "condition":"affected_users > 100",
"action":"run_intel_lookup", "condition":"incident_type in ['phishing','malware']"
]
decision = client.decide(scenario, rules)
print(decision.best_action) # → "notify_security"