- KB RAG 전체 파이프라인: 업로드, 파싱(xlsx/pdf/docx/text), 임베딩, Qdrant 인덱싱 - KB 관리 UI(14번 탭): 로그인, 문서 목록, 업로드, 삭제, 재인덱스 - OllamaController: 한글 시스템 프롬프트, plant_context.md 외부 파일화, SSE tool_start/tool_result 이벤트 - 프론트: 툴 실행 카드, KB 인용 링크, 표 자동 렌더, 추천 질문 칩 - nl2sql_worker: history_table.recorded_at 사용, tag_metadata 응답 개선 - DB: KB 테이블 5개 DDL + 시드, pgcrypto 확장
42 lines
1.1 KiB
TOML
42 lines
1.1 KiB
TOML
[project]
|
|
name = "iiot-rag-mcp"
|
|
version = "0.1.0"
|
|
description = "ExperionCrawler Unified MCP Server — RAG + NL2SQL"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"mcp[cli]>=1.0.0",
|
|
"fastapi>=0.115.0",
|
|
"uvicorn>=0.34.0",
|
|
"qdrant-client>=1.9.0",
|
|
"sentence-transformers>=3.0.0",
|
|
"openai>=1.0.0",
|
|
"httpx>=0.27.0",
|
|
"psycopg[binary]>=3.1.0",
|
|
# P&ID 파싱
|
|
"ezdxf>=1.3.0",
|
|
# ARM64 환경 지원: paddlepaddle 3.x는 ARM64 wheel 미지원
|
|
# 2.6.0~2.9.x는 소스 빌드 가능
|
|
"paddlepaddle>=2.6.0,<3.0.0",
|
|
# paddleocr 2.7.0+는 paddlepaddle 3.3.1을 요구하며 ARM64 wheel 미지원
|
|
# 2.6.0은 paddlepaddle 2.x를 지원하여 ARM64 설치 가능
|
|
"paddleocr>=2.6.0,<2.7.0",
|
|
"pymupdf>=1.24.0",
|
|
"scikit-learn>=1.3.0",
|
|
"numpy>=1.24.0",
|
|
"Pillow>=10.0.0",
|
|
# KB 문서 파싱
|
|
"openpyxl>=3.1.0",
|
|
"python-docx>=1.1.0",
|
|
"pdfplumber>=0.11.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
iiot-rag-mcp = "server:main"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
only-include = ["server.py", "index_opc_docs.py"]
|