tellang commited on
Commit
7fe0b62
·
verified ·
1 Parent(s): 180e15c

docs: yeji-* 리포지토리명 통일 및 링크 업데이트

Browse files
Files changed (1) hide show
  1. README.md +42 -226
README.md CHANGED
@@ -1,255 +1,71 @@
1
- <div align="center">
2
-
3
- # YEJI Logic Docs
4
-
5
- [![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
6
- [![HuggingFace](https://img.shields.io/badge/HuggingFace-Dataset-yellow.svg)](https://huggingface.co/datasets/tellang/yeji-logic-docs)
7
- [![Type](https://img.shields.io/badge/Type-Documentation-purple.svg)](#)
8
- [![Language](https://img.shields.io/badge/Language-Korean-orange.svg)](#)
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
- | ![Type](https://img.shields.io/badge/Type-Documentation-purple) | Reference |
35
- | ![Domains](https://img.shields.io/badge/Domains-4-blue) | BaZi, Jami, Tarot, IChing |
36
- | ![Format](https://img.shields.io/badge/Format-Markdown-green) | MD |
37
- | ![Purpose](https://img.shields.io/badge/Purpose-RAG%20%7C%20Reference-orange) | 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/yeji-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
- | ![Algorithm](https://img.shields.io/badge/-Algorithm-blue) | Calculation logic | Implementation |
192
- | ![Rule](https://img.shields.io/badge/-Rule-green) | Interpretation rules | RAG retrieval |
193
- | ![Reference](https://img.shields.io/badge/-Reference-orange) | Term definitions | System prompt |
194
- | ![Example](https://img.shields.io/badge/-Example-purple) | 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
- [![Meta](https://img.shields.io/badge/YEJI-Meta-informational)](https://huggingface.co/datasets/tellang/yeji-meta)
224
- [![BaZi Rules](https://img.shields.io/badge/YEJI-BaZi%20Rules-success)](https://huggingface.co/datasets/tellang/yeji-bazi-rules)
225
- [![I Ching](https://img.shields.io/badge/YEJI-I%20Ching-yellow)](https://huggingface.co/datasets/tellang/yeji-iching)
226
- [![Jami](https://img.shields.io/badge/YEJI-Jami-purple)](https://huggingface.co/datasets/tellang/yeji-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/yeji-logic-docs}
241
- }
242
  ```
243
 
244
- ---
245
-
246
- <div align="center">
247
-
248
- **Part of YEJI Project**
249
-
250
- [![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
251
- [![HuggingFace](https://img.shields.io/badge/%F0%9F%A4%97-HuggingFace-yellow.svg)](https://huggingface.co/tellang)
252
-
253
- *Last Updated: 2026-01-16*
254
 
255
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: mit
3
+ task_categories:
4
+ - text-generation
5
+ language:
6
+ - ko
7
+ tags:
8
+ - fortune-telling
9
+ - documentation
10
+ - reference
11
+ size_categories:
12
+ - n<1K
13
  ---
14
 
 
 
 
 
 
15
  <div align="center">
16
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  ```
18
+ ┌──────────────────────────────────────────────────────────────────────────────┐
19
+ │ ● ● yeji@huggingface: ~/logic-docs │
20
+ ├──────────────────────────────────────────────────────────────────────────────┤
21
+ │ │
22
+ │ ██╗ ██╗███████╗ ██╗██╗ ██╗ ██████╗ ██████╗ ██╗ ██████╗ │
23
+ │ ╚██╗ ██╔╝██╔════╝ ██║██║ ██║ ██╔═══██╗██╔════╝ ██║██╔════╝ │
24
+ │ ╚████╔╝ █████╗ ██║██║ ██║ ██║ ██║██║ ███╗██║██║ │
25
+ │ ╚██╔╝ ██╔══╝ ██ ██║██║ ██║ ██║ ██║██║ ██║██║██║ │
26
+ │ ██║ ███████╗╚█████╔╝██║ ███████╗╚██████╔╝╚██████╔╝██║╚██████╗ │
27
+ │ ╚═╝ ╚══════╝ ╚════╝ ╚═╝ ╚══════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═════╝ │
28
+ │ │
29
+ │ Fortune-Telling Logic & Algorithm Documentation │
30
+ │ │
31
+ └──────────────────────────────────────────────────────────────────────────────┘
 
 
 
 
 
32
  ```
33
 
34
+ <a href="https://huggingface.co/spaces/tellang/yeji-captcha">
35
+ <img src="https://img.shields.io/badge/%5B%20%5D%20YES%2C%20I'M%20A%20ROBOT-Click%20to%20Verify-00ff88?style=for-the-badge&logo=robot&logoColor=white" alt="YES, I AM A ROBOT"/>
36
+ </a>
37
 
38
+ <sub>🤖 Crafted BY AI, FOR AI, SERVING HUMANS</sub>
 
 
 
 
 
 
 
 
39
 
40
  ---
41
 
42
+ [![Domains](https://img.shields.io/badge/DOMAINS-4-00ff88?style=flat-square)]()
43
+ [![Type](https://img.shields.io/badge/TYPE-DOCUMENTATION-ff00ff?style=flat-square)]()
44
+ [![License](https://img.shields.io/badge/LICENSE-MIT-ff6600?style=flat-square)](LICENSE)
 
 
 
 
 
 
 
45
 
46
  </div>
47
 
48
  ---
49
 
50
+ ## `$ tree ./`
51
 
52
  ```
53
+ BaZi Logic | Jami Logic | Tarot Logic | I Ching Logic
 
 
 
 
 
 
 
 
 
 
 
54
  ```
55
 
56
  ---
57
 
 
 
58
  <div align="center">
59
 
60
+ ```
61
+ ┌──────────────────────────────────────────────────────────────────────────────┐
62
+ │ 🤖 YEJI PROJECT - YES, I AM A ROBOT │
63
+ │ Crafted BY AI, FOR AI, SERVING HUMANS │
64
+ └──────────────────────────────────────────────────────────────────────────────┘
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  ```
66
 
67
+ <a href="https://huggingface.co/spaces/tellang/yeji-captcha">
68
+ <img src="https://img.shields.io/badge/🤖_VERIFY_ROBOT_STATUS-Click_Here-00ff88?style=for-the-badge" alt="Verify"/>
69
+ </a>
 
 
 
 
 
 
 
70
 
71
  </div>