fix: replace workflow hardcoding chat model for knowledge recall (#233)
This commit is contained in:
@@ -101,7 +101,7 @@ export EMBEDDING_TYPE="ark"
|
||||
export OPENAI_EMBEDDING_BASE_URL="" # (string) OpenAI base_url
|
||||
export OPENAI_EMBEDDING_MODEL="" # (string) OpenAI embedding model
|
||||
export OPENAI_EMBEDDING_API_KEY="" # (string) OpenAI api_key
|
||||
export OPENAI_EMBEDDING_BY_AZURE=true # (bool) OpenAI by_azure
|
||||
export OPENAI_EMBEDDING_BY_AZURE=false # (bool) OpenAI by_azure
|
||||
export OPENAI_EMBEDDING_API_VERSION="" # OpenAI azure api version
|
||||
export OPENAI_EMBEDDING_DIMS=1024 # (int) 向量维度
|
||||
export OPENAI_EMBEDDING_REQUEST_DIMS=1024
|
||||
@@ -140,17 +140,18 @@ export MODEL_ID_0="" # model name for connection
|
||||
export MODEL_API_KEY_0="" # model api key
|
||||
export MODEL_BASE_URL_0="" # model base url
|
||||
|
||||
# Model for knowledge nl2sql, messages2query (rewrite), image annotation
|
||||
# Model for knowledge nl2sql, messages2query (rewrite), image annotation, workflow knowledge recall
|
||||
# add prefix to assign specific model, downgrade to default config when prefix is not configured:
|
||||
# 1. nl2sql: NL2SQL_ (e.g. NL2SQL_BUILTIN_CM_TYPE)
|
||||
# 2. messages2query: M2Q_ (e.g. M2Q_BUILTIN_CM_TYPE)
|
||||
# 3. image annotation: IA_ (e.g. IA_BUILTIN_CM_TYPE)
|
||||
# 1. nl2sql: NL2SQL_ (e.g. NL2SQL_BUILTIN_CM_TYPE)
|
||||
# 2. messages2query: M2Q_ (e.g. M2Q_BUILTIN_CM_TYPE)
|
||||
# 3. image annotation: IA_ (e.g. IA_BUILTIN_CM_TYPE)
|
||||
# 4. workflow knowledge recall: WKR_ (e.g. WKR_BUILTIN_CM_TYPE)
|
||||
# supported chat model type: openai / ark / deepseek / ollama / qwen / gemini
|
||||
export BUILTIN_CM_TYPE="ark"
|
||||
# type openai
|
||||
export BUILTIN_CM_OPENAI_BASE_URL=""
|
||||
export BUILTIN_CM_OPENAI_API_KEY=""
|
||||
export BUILTIN_CM_OPENAI_BY_AZURE=true
|
||||
export BUILTIN_CM_OPENAI_BY_AZURE=false
|
||||
export BUILTIN_CM_OPENAI_MODEL=""
|
||||
|
||||
# type ark
|
||||
|
||||
Reference in New Issue
Block a user