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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<div align="center">
|
| 2 |
+
|
| 3 |
+
# YEJI Logic Docs
|
| 4 |
+
|
| 5 |
+
[](LICENSE)
|
| 6 |
+
[](https://huggingface.co/datasets/tellang/FateFusion-Logic-Docs)
|
| 7 |
+
[](#)
|
| 8 |
+
[](#)
|
| 9 |
+
|
| 10 |
+
**Fortune-Telling Logic & Algorithm Documentation**
|
| 11 |
+
|
| 12 |
+
<img src="https://img.shields.io/badge/BaZi-Logic-blue.svg" alt="BaZi"/>
|
| 13 |
+
<img src="https://img.shields.io/badge/Jami-Logic-green.svg" alt="Jami"/>
|
| 14 |
+
<img src="https://img.shields.io/badge/Tarot-Logic-red.svg" alt="Tarot"/>
|
| 15 |
+
<img src="https://img.shields.io/badge/IChing-Logic-purple.svg" alt="IChing"/>
|
| 16 |
+
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
[Overview](#-overview) | [Contents](#-contents) | [Usage](#-usage) | [Related](#-related)
|
| 20 |
+
|
| 21 |
+
</div>
|
| 22 |
+
|
| 23 |
+
---
|
| 24 |
+
|
| 25 |
+
## Overview
|
| 26 |
+
|
| 27 |
+
> **YEJI Logic Docs**는 점술 도메인별 로직 및 알고리즘 문서 모음입니다.
|
| 28 |
+
> AI 시스템 구축 시 참조 문서로 활용됩니다.
|
| 29 |
+
|
| 30 |
+
<div align="center">
|
| 31 |
+
|
| 32 |
+
| Feature | Value |
|
| 33 |
+
|:--------|------:|
|
| 34 |
+
|  | Reference |
|
| 35 |
+
|  | BaZi, Jami, Tarot, IChing |
|
| 36 |
+
|  | MD |
|
| 37 |
+
|  | AI Training |
|
| 38 |
+
|
| 39 |
+
</div>
|
| 40 |
+
|
| 41 |
+
---
|
| 42 |
+
|
| 43 |
+
## Contents
|
| 44 |
+
|
| 45 |
+
### BaZi (사주팔자) Logic
|
| 46 |
+
|
| 47 |
+
<table>
|
| 48 |
+
<tr>
|
| 49 |
+
<td><img src="https://img.shields.io/badge/-Five%20Elements-blue"/></td>
|
| 50 |
+
<td>오행 상생상극 로직</td>
|
| 51 |
+
</tr>
|
| 52 |
+
<tr>
|
| 53 |
+
<td><img src="https://img.shields.io/badge/-Sipsin-green"/></td>
|
| 54 |
+
<td>십신 판단 알고리즘</td>
|
| 55 |
+
</tr>
|
| 56 |
+
<tr>
|
| 57 |
+
<td><img src="https://img.shields.io/badge/-GeokGuk-orange"/></td>
|
| 58 |
+
<td>격국 분류 기준</td>
|
| 59 |
+
</tr>
|
| 60 |
+
<tr>
|
| 61 |
+
<td><img src="https://img.shields.io/badge/-Shensha-red"/></td>
|
| 62 |
+
<td>신살 판단 규칙</td>
|
| 63 |
+
</tr>
|
| 64 |
+
<tr>
|
| 65 |
+
<td><img src="https://img.shields.io/badge/-Yongsin-purple"/></td>
|
| 66 |
+
<td>용신 취용 로직</td>
|
| 67 |
+
</tr>
|
| 68 |
+
</table>
|
| 69 |
+
|
| 70 |
+
### Jami (자미두수) Logic
|
| 71 |
+
|
| 72 |
+
<table>
|
| 73 |
+
<tr>
|
| 74 |
+
<td><img src="https://img.shields.io/badge/-Palace%20Setup-blue"/></td>
|
| 75 |
+
<td>십이궁 배치 알고리즘</td>
|
| 76 |
+
</tr>
|
| 77 |
+
<tr>
|
| 78 |
+
<td><img src="https://img.shields.io/badge/-Star%20Placement-green"/></td>
|
| 79 |
+
<td>주성/보조성 안치 로직</td>
|
| 80 |
+
</tr>
|
| 81 |
+
<tr>
|
| 82 |
+
<td><img src="https://img.shields.io/badge/-Transformation-orange"/></td>
|
| 83 |
+
<td>사화(四化) 적용 규칙</td>
|
| 84 |
+
</tr>
|
| 85 |
+
<tr>
|
| 86 |
+
<td><img src="https://img.shields.io/badge/-Decade%20Fortune-purple"/></td>
|
| 87 |
+
<td>대한/소한 계산 로직</td>
|
| 88 |
+
</tr>
|
| 89 |
+
</table>
|
| 90 |
+
|
| 91 |
+
### Tarot Logic
|
| 92 |
+
|
| 93 |
+
<table>
|
| 94 |
+
<tr>
|
| 95 |
+
<td><img src="https://img.shields.io/badge/-Major%20Arcana-gold"/></td>
|
| 96 |
+
<td>메이저 아르카나 22장 의미</td>
|
| 97 |
+
</tr>
|
| 98 |
+
<tr>
|
| 99 |
+
<td><img src="https://img.shields.io/badge/-Minor%20Arcana-silver"/></td>
|
| 100 |
+
<td>마이너 아르카나 56장 해석</td>
|
| 101 |
+
</tr>
|
| 102 |
+
<tr>
|
| 103 |
+
<td><img src="https://img.shields.io/badge/-Spreads-blue"/></td>
|
| 104 |
+
<td>스프레드 배치 및 해석법</td>
|
| 105 |
+
</tr>
|
| 106 |
+
<tr>
|
| 107 |
+
<td><img src="https://img.shields.io/badge/-Combinations-green"/></td>
|
| 108 |
+
<td>카드 조합 해석 로직</td>
|
| 109 |
+
</tr>
|
| 110 |
+
</table>
|
| 111 |
+
|
| 112 |
+
### I Ching (주역) Logic
|
| 113 |
+
|
| 114 |
+
<table>
|
| 115 |
+
<tr>
|
| 116 |
+
<td><img src="https://img.shields.io/badge/-Hexagrams-purple"/></td>
|
| 117 |
+
<td>64괘 구조 및 의미</td>
|
| 118 |
+
</tr>
|
| 119 |
+
<tr>
|
| 120 |
+
<td><img src="https://img.shields.io/badge/-Trigrams-blue"/></td>
|
| 121 |
+
<td>8괘(팔괘) 기본 의미</td>
|
| 122 |
+
</tr>
|
| 123 |
+
<tr>
|
| 124 |
+
<td><img src="https://img.shields.io/badge/-Liuyao-green"/></td>
|
| 125 |
+
<td>육효 점복 로직 (납갑법)</td>
|
| 126 |
+
</tr>
|
| 127 |
+
<tr>
|
| 128 |
+
<td><img src="https://img.shields.io/badge/-Changes-orange"/></td>
|
| 129 |
+
<td>변효 해석 규칙</td>
|
| 130 |
+
</tr>
|
| 131 |
+
</table>
|
| 132 |
+
|
| 133 |
+
---
|
| 134 |
+
|
| 135 |
+
## Usage
|
| 136 |
+
|
| 137 |
+
### RAG System
|
| 138 |
+
|
| 139 |
+
```python
|
| 140 |
+
from datasets import load_dataset
|
| 141 |
+
|
| 142 |
+
# Load logic documents
|
| 143 |
+
ds = load_dataset("tellang/FateFusion-Logic-Docs")
|
| 144 |
+
|
| 145 |
+
# Store in vector DB for RAG
|
| 146 |
+
for doc in ds['train']:
|
| 147 |
+
# Add to ChromaDB, Pinecone, etc.
|
| 148 |
+
pass
|
| 149 |
+
```
|
| 150 |
+
|
| 151 |
+
### System Prompt Reference
|
| 152 |
+
|
| 153 |
+
```python
|
| 154 |
+
# Load specific domain logic
|
| 155 |
+
bazi_logic = ds['train'].filter(lambda x: x['domain'] == 'bazi')
|
| 156 |
+
jami_logic = ds['train'].filter(lambda x: x['domain'] == 'jami')
|
| 157 |
+
|
| 158 |
+
# Use as system prompt context
|
| 159 |
+
system_prompt = f"""
|
| 160 |
+
당신은 점술 전문가입니다.
|
| 161 |
+
다음 로직을 참조하여 해석하세요:
|
| 162 |
+
|
| 163 |
+
[사주 로직]
|
| 164 |
+
{bazi_logic[0]['content']}
|
| 165 |
+
|
| 166 |
+
[자미두수 로직]
|
| 167 |
+
{jami_logic[0]['content']}
|
| 168 |
+
"""
|
| 169 |
+
```
|
| 170 |
+
|
| 171 |
+
### Knowledge Base
|
| 172 |
+
|
| 173 |
+
```python
|
| 174 |
+
# Build knowledge base for Q&A
|
| 175 |
+
knowledge_base = {}
|
| 176 |
+
for doc in ds['train']:
|
| 177 |
+
domain = doc['domain']
|
| 178 |
+
if domain not in knowledge_base:
|
| 179 |
+
knowledge_base[domain] = []
|
| 180 |
+
knowledge_base[domain].append(doc['content'])
|
| 181 |
+
```
|
| 182 |
+
|
| 183 |
+
---
|
| 184 |
+
|
| 185 |
+
## Document Types
|
| 186 |
+
|
| 187 |
+
<div align="center">
|
| 188 |
+
|
| 189 |
+
| Type | Description | Use Case |
|
| 190 |
+
|:-----|:------------|:---------|
|
| 191 |
+
|  | Calculation logic | Implementation |
|
| 192 |
+
|  | Interpretation rules | RAG retrieval |
|
| 193 |
+
|  | Term definitions | System prompt |
|
| 194 |
+
|  | Sample interpretations | Few-shot learning |
|
| 195 |
+
|
| 196 |
+
</div>
|
| 197 |
+
|
| 198 |
+
---
|
| 199 |
+
|
| 200 |
+
## Integration with YEJI Ecosystem
|
| 201 |
+
|
| 202 |
+
```
|
| 203 |
+
┌──────────────────┐
|
| 204 |
+
│ YEJI Logic Docs │
|
| 205 |
+
│ (Reference) │
|
| 206 |
+
└────────┬─────────┘
|
| 207 |
+
│
|
| 208 |
+
┌───────────────────┼───────────────────┐
|
| 209 |
+
│ │ │
|
| 210 |
+
▼ ▼ ▼
|
| 211 |
+
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
|
| 212 |
+
│ RAG System │ │ System Prompt │ │ Fine-tuning │
|
| 213 |
+
│ (Retrieval) │ │ (Context) │ │ (Training) │
|
| 214 |
+
└─────────────────┘ └─────────────────┘ └─────────────────┘
|
| 215 |
+
```
|
| 216 |
+
|
| 217 |
+
---
|
| 218 |
+
|
| 219 |
+
## Related Datasets
|
| 220 |
+
|
| 221 |
+
<div align="center">
|
| 222 |
+
|
| 223 |
+
[](https://huggingface.co/datasets/tellang/fatefusion-meta)
|
| 224 |
+
[](https://huggingface.co/datasets/tellang/fatefusion-bazi-rules)
|
| 225 |
+
[](https://huggingface.co/datasets/tellang/fatefusion-iching)
|
| 226 |
+
[](https://huggingface.co/datasets/tellang/FateFusion-Jami-Consultation)
|
| 227 |
+
|
| 228 |
+
</div>
|
| 229 |
+
|
| 230 |
+
---
|
| 231 |
+
|
| 232 |
+
## Citation
|
| 233 |
+
|
| 234 |
+
```bibtex
|
| 235 |
+
@dataset{yeji_logic_docs_2026,
|
| 236 |
+
title={YEJI Logic Docs: Fortune-Telling Algorithm Documentation},
|
| 237 |
+
author={tellang},
|
| 238 |
+
year={2026},
|
| 239 |
+
publisher={Hugging Face},
|
| 240 |
+
url={https://huggingface.co/datasets/tellang/FateFusion-Logic-Docs}
|
| 241 |
+
}
|
| 242 |
+
```
|
| 243 |
+
|
| 244 |
+
---
|
| 245 |
+
|
| 246 |
+
<div align="center">
|
| 247 |
+
|
| 248 |
+
**Part of YEJI Project**
|
| 249 |
+
|
| 250 |
+
[](LICENSE)
|
| 251 |
+
[](https://huggingface.co/tellang)
|
| 252 |
+
|
| 253 |
+
*Last Updated: 2026-01-16*
|
| 254 |
+
|
| 255 |
+
</div>
|