TAXIA

Korean Tax AI Library with Graph-RAG

RAG (Retrieval-Augmented Generation) + Graph-RAG library for Korean tax consultation and question-answering.

All answers are provided with clear legal citations and complete audit trail support.

PyPI Python Tests License GitHub

Current Status: v1.0.0 Official Release ✅

All development phases completed (Phase 0-7)

What is TAXIA?

TAXIA is a production-ready AI library designed specifically for Korean tax law consultation. It combines:

Key Features

1. Mandatory Citations

Every answer includes at least 2 legal citations: - Law articles - Enforcement decrees - Enforcement rules - Official interpretations

2. Complete Audit Trail

3. Production Ready

4. Korean Tax Law Coverage

Installation

pip install taxia-core

Quick Example

from taxia import TaxiaEngine

# Initialize engine
engine = TaxiaEngine()

# Ask a question
result = engine.answer("What is the corporate tax filing deadline?")

# Access results
print(result.answer)
# "The corporate tax filing deadline is within 3 months from the end of the fiscal year."

print(result.citations)
# ["Corporate Tax Act Article 60", "Enforcement Decree Article 132"]

print(result.trace_id)
# "trace-2025-01-23-abc123"

Architecture

┌─────────────────────────────────────┐
│         User Interface              │
│  CLI / REST API / Python SDK        │
└─────────────┬───────────────────────┘
              │
       ┌──────▼──────┐
       │ TaxiaEngine │
       └──────┬──────┘
              │
    ┌─────────┼─────────┐
    │         │         │
┌───▼───┐ ┌──▼───┐ ┌──▼────┐
│Qdrant │ │Neo4j │ │ LLM   │
│Vector │ │Graph │ │Claude │
└───────┘ └──────┘ └───────┘

Use Cases

Tax Consultation Automation

Automate responses to common tax questions with full legal backing.

Compliance Checking

Verify tax compliance requirements with citation trails.

Research Assistant

Quick lookup of tax law provisions across years.

Chatbot Backend

Power tax consultation chatbots with reliable answers.

Components

Core Engine

Retrieval

LLM Integration

API & CLI

Data Distribution

Tax law data distributed via Hugging Face:

Repository: xaikorea/taxia-data

Requirements

Development Status

Component Status
Core Engine ✅ Complete
Vector Search ✅ Complete
Graph-RAG ✅ Complete
LLM Integration ✅ Complete
CLI Tools ✅ Complete
REST API ✅ Complete
Tests ✅ 40+ passing
Documentation ✅ Complete
PyPI Release ✅ v1.0.1
GitHub Pages ✅ Live

License

Apache 2.0 - See LICENSE

Citation

@software{taxia2025,
  title={TAXIA: Korean Tax AI Library with Graph-RAG},
  author={XAI Korea},
  year={2025},
  url={https://github.com/xaikorea/taxia}
}