updated
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
@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
|
||||
Reference in New Issue
Block a user