Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

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.