mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-24 10:27:28 +08:00
(improvement)(chat) Support loading local embedding models through the in-memory configuration method (#1201)
This commit is contained in:
@@ -108,7 +108,10 @@ langchain4j:
|
||||
# model-name: qwen-max-1201
|
||||
# embedding-model:
|
||||
# api-key: ${OPENAI_API_KEY:demo}
|
||||
|
||||
in-memory:
|
||||
embedding-model:
|
||||
model-name: bge-small-zh
|
||||
#modelPath: /data/model.onnx
|
||||
#vocabularyPath: /data/onnx_vocab.txt
|
||||
embedding-store:
|
||||
file-path: /tmp
|
||||
|
||||
@@ -108,5 +108,9 @@ langchain4j:
|
||||
# base-url: ${OPENAI_API_BASE:https://api.openai.com/v1}
|
||||
# api-key: ${OPENAI_API_KEY:demo}
|
||||
in-memory:
|
||||
embedding-model:
|
||||
model-name: bge-small-zh
|
||||
#modelPath: /data/model.onnx
|
||||
#vocabularyPath: /data/onnx_vocab.txt
|
||||
embedding-store:
|
||||
file-path: /tmp
|
||||
Reference in New Issue
Block a user