mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-12 12:37:55 +00:00
(improvement)(launcher)Introduce supersonic-env.bat to incorporate LLM-related configs. (#1021)
This commit is contained in:
@@ -3,6 +3,7 @@ setlocal
|
|||||||
chcp 65001
|
chcp 65001
|
||||||
|
|
||||||
call supersonic-common.bat %*
|
call supersonic-common.bat %*
|
||||||
|
call %sbinDir%/../conf/supersonic-env.bat %*
|
||||||
|
|
||||||
set "command=%~1"
|
set "command=%~1"
|
||||||
set "service=%~2"
|
set "service=%~2"
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
|
||||||
|
rem Replace with your LLM configs
|
||||||
|
rem Note: The default API key `demo` is provided by langchain4j community
|
||||||
|
rem which limits 1000 tokens per request.
|
||||||
|
set OPENAI_API_BASE=http://langchain4j.dev/demo/openai/v1
|
||||||
|
set OPENAI_API_KEY=demo
|
||||||
|
set OPENAI_MODEL_NAME=gpt-3.5-turbo
|
||||||
|
set OPENAI_TEMPERATURE=0.0
|
||||||
|
set OPENAI_TIMEOUT=PT60S
|
||||||
Reference in New Issue
Block a user