“자료를 넣으면 지식이 된다. 질문하면 문맥이 답한다.”
현대의 업무/학습 환경에서는 수많은 학습 자료(PDF, 강의 녹음, 텍스트 파일 등)가 디지털화되어 존재하지만,
이를 체계적으로 정리하고 활용하는 데에는 여전히 사람의 수작업이 필요합니다.
또한 많은 AI 도구가 클라우드 기반이라 기밀 데이터/개인정보를 올리기 어렵다는 현실적인 제약이 있습니다
Brain-Trace는 이러한 문제를 해결하기 위해 기획된 온디바이스 AI 기반 기밀 데이터 관리 애플리케이션입니다.
사용자가 PDF, 텍스트, 음성 파일을 업로드하면 Llama가 개념(노드)과 관계(엣지)를 추출해 Neo4j 지식그래프에 저장합니다.
또한 생성된 노드 텍스트를 KoE5로 임베딩하여 Qdrant(Vector DB)에 저장해, 이후 의미 기반 탐색이 가능하도록 준비합니다.
이후 사용자가 자연어로 질문하면, 내부적으로 온디바이스 LLM을 사용하여 KoE5로 임베딩하고, Qdrant에서 유사 노드/문맥 후보를 검색합니다. 검색된 노드를 시작점(seed)으로 Cypher 쿼리를 작성하여 Neo4j에서 주변 관계를 확장 탐색해 관련 지식 서브그래프를 구성한 뒤, 그 그래프 내용을 근거로 Llama가 최종 추론형 답변을 생성합니다.
또한 모든 프로세스는 로컬 디바이스에서 처리되므로,
클라우드 의존 없이 완전한 오프라인 환경에서도 작동하며,
개인정보 보호 및 민감한 연구자료의 안전한 처리가 가능합니다.
📌 결과적으로, Brain-Trace는 단순한 문서 분석 도구를 넘어
"내 손안의 두 번째 뇌(Second Brain)"로서 작동하는
지식 구조화 + 문맥 질문 응답 + 보안 강화의 종합 AI 시스템입니다.
< 지식 축적 파이프라인 >
[PDF/메모/음성 업로드]
↓
[전처리 · 청킹 · STT(Whisper)]
↓
[Llama: 개념(노드) · 관계(엣지) 추출]
↓
[Neo4j: 지식그래프 저장]
↓
[KoE5: 노드/문맥 임베딩 생성]
↓
[Qdrant: 벡터DB 저장]
- - - - - - - - - - - - - - - - -
< 질의응답(Graph-RAG) 파이프라인 >
[사용자 질문(자연어)]
↓
[KoE5: 질문 임베딩]
↓
[Qdrant: 유사 노드/문맥 seed 검색]
↓
[Neo4j: seed 기반 관계 확장 탐색 (서브그래프 구성)]
↓
[Llama: 그래프 문맥 기반 답변 생성]
↓
[UI: 근거 노드/관계 하이라이트 & 그래프 시각화]
| 항목 | 기술 |
|---|---|
| 데스크톱 앱 | Electron |
| 프론트엔드 | React, Vite |
| 백엔드 | Python, FastAPI |
| 데이터베이스 | SQLite |
| 그래프 DB | Neo4j(Knowledge Graph, Embedded) |
| 벡터 DB | Qdrant (Semantic Search / Seed Retrieval) |
| AI 모델 | Llama 3, KoE5(임베딩), Whisper(STT) |
| Graph-RAG 파이프라인 | KoE5 임베딩 → Qdrant 검색 → Neo4j 확장 탐색 → LLM 응답 생성 |
| On-device 가속 | ONNX Export, AIMET Quantization, QNN Binary (BYOM), Snapdragon X Elite NPU |
| 개발 도구 | Git, VS Code |
FastAPI 기반 REST API는 아래와 같은 Swagger UI 형태로 구성되어 있습니다.
로컬에서는
http://localhost:8000/docs에서 직접 확인하실 수 있습니다.
| Method | P | R | F1 |
|---|---|---|---|
| Community-GraphRAG (Local) | 67.2 | 64.89 | 64.6 |
| 일반 RAG | 66.34 | 63.99 | 63.88 |
출처: arXiv:2502.11371
| 이름 | 역할 | 담당 업무 |
|---|---|---|
| 정웅 | 팀장 / Full-stack & AI | 프로젝트 총괄, 프론트엔드 개발, 백엔드 로직 설계 및 API 연동, AI 및 Graph DB 연동 |
| 김동혁 | Back-End | FastAPI 기반 API 개발, 검색/답변/지식그래프 생성 로직 개발, Graph DB & SQLite 설계 |
| 안예찬 | Full-stack | 패널 및 소스 뷰어 개발, 로컬 DB 연동, 백엔드 API 구현 등 전체 시스템 UI/서버 통합 개발 |
| 유정균 | AI | AI 모델 양자화 및 경량화 |
Copyright (c) 2025 Brain-Trace Team
All rights reserved.
This code is provided for academic, non-commercial use only.
Redistribution and use in source and binary forms, with or without modification,
are permitted for academic non-commercial use provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.
This software is provided by the authors "as is" and any express or implied warranties,
including, but not limited to, the implied warranties of merchantability and fitness
for a particular purpose are disclaimed. In no event shall the authors be liable
for any direct, indirect, incidental, special, exemplary, or consequential damages
(including, but not limited to, procurement of substitute goods or services;
loss of use, data, or profits; or business interruption) however caused and on
any theory of liability, whether in contract, strict liability, or tort (including
negligence or otherwise) arising in any way out of the use of this software,
even if advised of the possibility of such damage.
“자료를 넣으면 지식이 된다. 질문하면 문맥이 답한다.”
현대의 업무/학습 환경에서는 수많은 학습 자료(PDF, 강의 녹음, 텍스트 파일 등)가 디지털화되어 존재하지만,
이를 체계적으로 정리하고 활용하는 데에는 여전히 사람의 수작업이 필요합니다.
또한 많은 AI 도구가 클라우드 기반이라 기밀 데이터/개인정보를 올리기 어렵다는 현실적인 제약이 있습니다
Brain-Trace는 이러한 문제를 해결하기 위해 기획된 온디바이스 AI 기반 기밀 데이터 관리 애플리케이션입니다.
사용자가 PDF, 텍스트, 음성 파일을 업로드하면 Llama가 개념(노드)과 관계(엣지)를 추출해 Neo4j 지식그래프에 저장합니다.
또한 생성된 노드 텍스트를 KoE5로 임베딩하여 Qdrant(Vector DB)에 저장해, 이후 의미 기반 탐색이 가능하도록 준비합니다.
이후 사용자가 자연어로 질문하면, 내부적으로 온디바이스 LLM을 사용하여 KoE5로 임베딩하고, Qdrant에서 유사 노드/문맥 후보를 검색합니다. 검색된 노드를 시작점(seed)으로 Cypher 쿼리를 작성하여 Neo4j에서 주변 관계를 확장 탐색해 관련 지식 서브그래프를 구성한 뒤, 그 그래프 내용을 근거로 Llama가 최종 추론형 답변을 생성합니다.
또한 모든 프로세스는 로컬 디바이스에서 처리되므로,
클라우드 의존 없이 완전한 오프라인 환경에서도 작동하며,
개인정보 보호 및 민감한 연구자료의 안전한 처리가 가능합니다.
📌 결과적으로, Brain-Trace는 단순한 문서 분석 도구를 넘어
"내 손안의 두 번째 뇌(Second Brain)"로서 작동하는
지식 구조화 + 문맥 질문 응답 + 보안 강화의 종합 AI 시스템입니다.
< 지식 축적 파이프라인 >
[PDF/메모/음성 업로드]
↓
[전처리 · 청킹 · STT(Whisper)]
↓
[Llama: 개념(노드) · 관계(엣지) 추출]
↓
[Neo4j: 지식그래프 저장]
↓
[KoE5: 노드/문맥 임베딩 생성]
↓
[Qdrant: 벡터DB 저장]
- - - - - - - - - - - - - - - - -
< 질의응답(Graph-RAG) 파이프라인 >
[사용자 질문(자연어)]
↓
[KoE5: 질문 임베딩]
↓
[Qdrant: 유사 노드/문맥 seed 검색]
↓
[Neo4j: seed 기반 관계 확장 탐색 (서브그래프 구성)]
↓
[Llama: 그래프 문맥 기반 답변 생성]
↓
[UI: 근거 노드/관계 하이라이트 & 그래프 시각화]
| 항목 | 기술 |
|---|---|
| 데스크톱 앱 | Electron |
| 프론트엔드 | React, Vite |
| 백엔드 | Python, FastAPI |
| 데이터베이스 | SQLite |
| 그래프 DB | Neo4j(Knowledge Graph, Embedded) |
| 벡터 DB | Qdrant (Semantic Search / Seed Retrieval) |
| AI 모델 | Llama 3, KoE5(임베딩), Whisper(STT) |
| Graph-RAG 파이프라인 | KoE5 임베딩 → Qdrant 검색 → Neo4j 확장 탐색 → LLM 응답 생성 |
| On-device 가속 | ONNX Export, AIMET Quantization, QNN Binary (BYOM), Snapdragon X Elite NPU |
| 개발 도구 | Git, VS Code |
FastAPI 기반 REST API는 아래와 같은 Swagger UI 형태로 구성되어 있습니다.
로컬에서는
http://localhost:8000/docs에서 직접 확인하실 수 있습니다.
| Method | P | R | F1 |
|---|---|---|---|
| Community-GraphRAG (Local) | 67.2 | 64.89 | 64.6 |
| 일반 RAG | 66.34 | 63.99 | 63.88 |
출처: arXiv:2502.11371
| 이름 | 역할 | 담당 업무 |
|---|---|---|
| 정웅 | 팀장 / Full-stack & AI | 프로젝트 총괄, 프론트엔드 개발, 백엔드 로직 설계 및 API 연동, AI 및 Graph DB 연동 |
| 김동혁 | Back-End | FastAPI 기반 API 개발, 검색/답변/지식그래프 생성 로직 개발, Graph DB & SQLite 설계 |
| 안예찬 | Full-stack | 패널 및 소스 뷰어 개발, 로컬 DB 연동, 백엔드 API 구현 등 전체 시스템 UI/서버 통합 개발 |
| 유정균 | AI | AI 모델 양자화 및 경량화 |
Copyright (c) 2025 Brain-Trace Team
All rights reserved.
This code is provided for academic, non-commercial use only.
Redistribution and use in source and binary forms, with or without modification,
are permitted for academic non-commercial use provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.
This software is provided by the authors "as is" and any express or implied warranties,
including, but not limited to, the implied warranties of merchantability and fitness
for a particular purpose are disclaimed. In no event shall the authors be liable
for any direct, indirect, incidental, special, exemplary, or consequential damages
(including, but not limited to, procurement of substitute goods or services;
loss of use, data, or profits; or business interruption) however caused and on
any theory of liability, whether in contract, strict liability, or tort (including
negligence or otherwise) arising in any way out of the use of this software,
even if advised of the possibility of such damage.