This commit is contained in:
ivamp 2024-11-06 20:06:09 +08:00
parent 3d1ebb8f8e
commit b03fe1fed0

View File

@ -1,70 +1,19 @@
http: version: v1
port: 8080
host: 0.0.0.0
# the production url
url: http://127.0.0.1:8080
grpc: plugins:
address: 0.0.0.0:9090 - name: go
out: .
debug: opt: paths=source_relative
enabled: false - name: go-grpc
out: .
database: opt: paths=source_relative
host: 127.0.0.1 - plugin: buf.build/grpc-ecosystem/gateway:v2.22.0
port: 3306 out: .
user: root opt:
password: root - paths=source_relative
name: db_name - generate_unbound_methods=true
- plugin: buf.build/grpc-ecosystem/openapiv2:v2.22.0
redis: out: pkg/protos/document
host: 127.0.0.1 opt:
port: 6379 - allow_merge
password: "" # - merge_file_name=mce-spider
db: 0
jwks:
url: ""
metrics:
enabled: true
port: 8081
host: 0.0.0.0
s3:
endpoint: 127.0.0.1:9000
external_endpoint: 127.0.0.1:9000
access_key: minio
secret_key: minio123
bucket: amber
use_ssl: false
region:
milvus:
host: 127.0.0.1
port: 19530
db_name: library
# 由于 Milvus 不支持新增列, 如果更换了 Embedding Model,建议新建一个 Collection
# 或者可以扩展张量
document_collection: documents
user:
password:
kafka:
bootstrap_servers:
- 127.0.0.1:9092
topic: "amber"
group_id: ""
# Plain
username: ""
password: ""
openai:
api_key: ""
internal_base_url: http://192.168.81.108:9997/v1
embedding_dim: 768
embedding_model: jina-v2-zh
third_party:
openai_api_key: ""