mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-04-29 12:34:28 +08:00
(improvement)(launcher)Introduce supersonic-env.sh to incorporate LLM-related configs.
This commit is contained in:
10
launchers/standalone/src/main/resources/supersonic-env.sh
Normal file
10
launchers/standalone/src/main/resources/supersonic-env.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Replace with your LLM configs
|
||||
# Note: The default API key `demo` is provided by langchain4j community
|
||||
# which limits 1000 tokens per request.
|
||||
OPENAI_API_BASE=https://api.openai.com/v1
|
||||
OPENAI_API_KEY=demo
|
||||
OPENAI_MODEL_NAME=gpt-3.5-turbo
|
||||
OPENAI_TEMPERATURE=0.0
|
||||
OPENAI_TIMEOUT=PT60S
|
||||
Reference in New Issue
Block a user