feat: интеграция smeta-railway + усиленный промпт (5/6 точность)
- /smeta монтируется в контейнер (ro) — полная база ГЭСН, НР/СП, коэффициенты - Dockerfile: добавлены faiss-cpu, pyyaml, pydantic, openai, rank-bm25 - Промпт: обязательный Python-запуск из /smeta для сметных вопросов - Запрет ответов из общих знаний (могут быть устаревшими) - Запрет упоминания книг/учебников - Представление как профессиональный сметчик Тесты: НР=109% ✓, СП=65% ✓, К_движение=1.4 ✓, К_окно=1.81 ✓, К_ВЛ=1.2 ✓ Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
+4
-3
@@ -1,17 +1,18 @@
|
||||
FROM node:22-slim
|
||||
|
||||
# Python + libs for file processing
|
||||
# Python + libs for file processing + smeta-railway deps
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
python3 python3-pip python3-venv && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN pip3 install --break-system-packages --no-cache-dir \
|
||||
openpyxl python-docx pymupdf pandas
|
||||
openpyxl python-docx pymupdf pandas \
|
||||
faiss-cpu pyyaml pydantic typer openai rank-bm25
|
||||
|
||||
# Claude Code CLI
|
||||
RUN npm install -g @anthropic-ai/claude-code
|
||||
|
||||
# Worker user with same UID as host mcp-user (for .claude auth files)
|
||||
# Worker user with same UID as host mcp-user
|
||||
RUN useradd -m -s /bin/bash -u 1002 worker
|
||||
USER worker
|
||||
WORKDIR /data
|
||||
|
||||
Reference in New Issue
Block a user