mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-04-24 08:24:19 +08:00
(improvement)(chat) Support configuring embeddingModel or embeddingStore at the agent level. (#1361)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
spring:
|
||||
datasource:
|
||||
url: jdbc:mysql://${DB_HOST}:3306/${DB_NAME}?useUnicode=true&characterEncoding=UTF-8&useSSL=false&allowMultiQueries=true&allowPublicKeyRetrieval=true
|
||||
url: jdbc:mysql://${DB_HOST}:${DB_PORT:3306}/${DB_NAME}?useUnicode=true&characterEncoding=UTF-8&useSSL=false&allowMultiQueries=true&allowPublicKeyRetrieval=true
|
||||
username: ${DB_USERNAME}
|
||||
password: ${DB_PASSWORD}
|
||||
driver-class-name: com.mysql.jdbc.Driver
|
||||
|
||||
@@ -14,11 +14,11 @@ langchain4j:
|
||||
temperature: ${OPENAI_TEMPERATURE:0.0}
|
||||
timeout: ${OPENAI_TIMEOUT:PT60S}
|
||||
|
||||
# embedding-model:
|
||||
# base-url: https://api.openai.com/v1
|
||||
# api-key: demo
|
||||
# model-name: text-embedding-3-small
|
||||
# timeout: PT60S
|
||||
# embedding-model:
|
||||
# base-url: https://api.openai.com/v1
|
||||
# api-key: demo
|
||||
# model-name: text-embedding-3-small
|
||||
# timeout: PT60S
|
||||
|
||||
in-memory:
|
||||
embedding-model:
|
||||
|
||||
Reference in New Issue
Block a user