31 lines
588 B
Batchfile
31 lines
588 B
Batchfile
@echo off
|
|
chcp 65001 >nul
|
|
title AiRust Learn Topics
|
|
|
|
if "%1"=="" (
|
|
echo Usage: learn-topics topics.txt
|
|
echo.
|
|
echo Create a text file with one topic per line, then run this.
|
|
echo Already-learned topics are skipped automatically.
|
|
echo.
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
if not exist "%1" (
|
|
echo File not found: %1
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
echo Starting AiRust topic learning...
|
|
echo File: %1
|
|
echo If power dies, just run again — already-completed topics are skipped.
|
|
echo.
|
|
|
|
cargo run -- learn-topics "%1"
|
|
|
|
echo.
|
|
echo Done. Check output\random_new_knowledge.jsonl
|
|
pause
|