mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-19 08:50:57 +00:00
(improvement)(chat) Fix the error in Milvus query and add the option to create EmbeddingStore based on caching mode (#1310)
This commit is contained in:
@@ -24,19 +24,19 @@ langchain4j:
|
||||
embedding-model:
|
||||
model-name: bge-small-zh
|
||||
|
||||
embedding-store:
|
||||
persist-path: /tmp
|
||||
# embedding-store:
|
||||
# persist-path: /tmp
|
||||
|
||||
# chroma:
|
||||
# embedding-store:
|
||||
# baseUrl: http://0.0.0.0:8000
|
||||
# timeout: 120s
|
||||
|
||||
# milvus:
|
||||
# embedding-store:
|
||||
# host: localhost
|
||||
# port: 2379
|
||||
# uri: http://0.0.0.0:19530
|
||||
# token: demo
|
||||
# dimension: 512
|
||||
# timeout: 120s
|
||||
milvus:
|
||||
embedding-store:
|
||||
host: localhost
|
||||
port: 2379
|
||||
uri: http://0.0.0.0:19530
|
||||
token: demo
|
||||
dimension: 512
|
||||
timeout: 120s
|
||||
@@ -0,0 +1,15 @@
|
||||
spring:
|
||||
datasource:
|
||||
driver-class-name: org.h2.Driver
|
||||
schema: classpath:db/schema-h2.sql
|
||||
data: classpath:db/data-h2.sql
|
||||
url: jdbc:h2:mem:semantic;DATABASE_TO_UPPER=false
|
||||
username: root
|
||||
password: semantic
|
||||
h2:
|
||||
console:
|
||||
path: /h2-console/semantic
|
||||
enabled: true
|
||||
config:
|
||||
import:
|
||||
- classpath:langchain4j-local.yaml
|
||||
@@ -13,7 +13,6 @@ spring:
|
||||
config:
|
||||
import:
|
||||
- classpath:s2-config.yaml
|
||||
- classpath:langchain4j-local.yaml
|
||||
autoconfigure:
|
||||
exclude:
|
||||
- spring.dev.langchain4j.spring.LangChain4jAutoConfig
|
||||
@@ -22,17 +21,6 @@ spring:
|
||||
- spring.dev.langchain4j.azure.openai.spring.AutoConfig
|
||||
- spring.dev.langchain4j.azure.aisearch.spring.AutoConfig
|
||||
- spring.dev.langchain4j.anthropic.spring.AutoConfig
|
||||
h2:
|
||||
console:
|
||||
path: /h2-console/semantic
|
||||
enabled: true
|
||||
datasource:
|
||||
driver-class-name: org.h2.Driver
|
||||
schema: classpath:db/schema-h2.sql
|
||||
data: classpath:db/data-h2.sql
|
||||
url: jdbc:h2:mem:semantic;DATABASE_TO_UPPER=false
|
||||
username: root
|
||||
password: semantic
|
||||
|
||||
mybatis:
|
||||
mapper-locations=classpath:mappers/custom/*.xml,classpath*:/mappers/*.xml
|
||||
@@ -40,4 +28,16 @@ mybatis:
|
||||
logging:
|
||||
level:
|
||||
dev.langchain4j: DEBUG
|
||||
dev.ai4j.openai4j: DEBUG
|
||||
dev.ai4j.openai4j: DEBUG
|
||||
|
||||
swagger:
|
||||
title: 'SuperSonic API Documentation'
|
||||
base:
|
||||
package: com.tencent.supersonic
|
||||
description: 'SuperSonic API Documentation'
|
||||
url: ''
|
||||
contact:
|
||||
name:
|
||||
email:
|
||||
url: ''
|
||||
version: 3.0
|
||||
Reference in New Issue
Block a user