25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
694B

  1. @echo off
  2. rem Semantic index maintenance, run inside the "axonasp" container.
  3. rem
  4. rem scripts\embed.cmd status counts per status, model and collection
  5. rem scripts\embed.cmd run embed every pending/failed memory and chunk (resets failed attempts first)
  6. rem scripts\embed.cmd reindex mark every active memory and current chunk pending, then run
  7. rem (after changing EmbeddingModel/EmbeddingDimensions, or to rebuild the vector store)
  8. setlocal
  9. set CMD=%1
  10. if "%CMD%"=="" set CMD=status
  11. docker exec -u axonasp -e SERVER_WEB_ROOT=/opt/axonasp/site -e "EMBED_ACTION=%CMD%" axonasp ./axonasp-cli -r /opt/axonasp/site/scripts/embed.asp
  12. exit /b %errorlevel%

Powered by TurnKey Linux.