⚠️ Login required to run notebook and create podsLogin
🧾
Tax

Tax Filings

[1] Setup
import mantr

# Create memory pod for tax filings
pod = mantr.create_pod("tax-filings")
print(f"Created pod: {pod.id}")
[2] Ingest & Parse
# Sample 1: Ingest document with Karak extraction
result = pod.ingest("""
Tax advisor filed Form 1120 for fiscal year 2025 claiming $2.5M in R&D credits.
""")

print(f"Extracted {len(result.memories)} Karak roles")
[3] Retrieve Context
# Retrieve context using Karak-based query
context = mantr.walk(
    query="Tax advisor",
    pod="tax-filings",
    seek_karak="kartā"  # Find the agent/subject
)

print(context)

Karak Roles Reference

kartā
Agent/Subject
WHO
karma
Object
WHAT
karaṇa
Instrument
WITH WHAT
sampradāna
Recipient
TO WHOM
apādāna
Source
FROM WHERE
adhikaraṇa
Location/Time
WHERE/WHEN
sambandha
Relation
WHOSE
kriyā
Action
VERB