rollback
This commit is contained in:
parent
3d1ebb8f8e
commit
b03fe1fed0
87
buf.gen.yaml
87
buf.gen.yaml
@ -1,70 +1,19 @@
|
||||
http:
|
||||
port: 8080
|
||||
host: 0.0.0.0
|
||||
# the production url
|
||||
url: http://127.0.0.1:8080
|
||||
version: v1
|
||||
|
||||
grpc:
|
||||
address: 0.0.0.0:9090
|
||||
|
||||
debug:
|
||||
enabled: false
|
||||
|
||||
database:
|
||||
host: 127.0.0.1
|
||||
port: 3306
|
||||
user: root
|
||||
password: root
|
||||
name: db_name
|
||||
|
||||
redis:
|
||||
host: 127.0.0.1
|
||||
port: 6379
|
||||
password: ""
|
||||
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: ""
|
||||
plugins:
|
||||
- name: go
|
||||
out: .
|
||||
opt: paths=source_relative
|
||||
- name: go-grpc
|
||||
out: .
|
||||
opt: paths=source_relative
|
||||
- plugin: buf.build/grpc-ecosystem/gateway:v2.22.0
|
||||
out: .
|
||||
opt:
|
||||
- paths=source_relative
|
||||
- generate_unbound_methods=true
|
||||
- plugin: buf.build/grpc-ecosystem/openapiv2:v2.22.0
|
||||
out: pkg/protos/document
|
||||
opt:
|
||||
- allow_merge
|
||||
# - merge_file_name=mce-spider
|
Loading…
Reference in New Issue
Block a user