mirror of
https://gitcode.com/ageerle/ruoyi-ai.git
synced 2026-03-27 19:43:42 +08:00
Add weaviate database service
This commit is contained in:
@@ -12,6 +12,17 @@ REDIS_PASSWORD=
|
||||
REDIS_DATABASE=0
|
||||
REDIS_TIMEOUT=10s
|
||||
|
||||
# Weaviate Configuration
|
||||
WEAVIATE_QUERY_LIMIT=25
|
||||
WEAVIATE_ANONYMOUS_ACCESS=true
|
||||
WEAVIATE_DATA_PATH=/var/lib/weaviate
|
||||
WEAVIATE_VECTORIZER_MODULE=none
|
||||
WEAVIATE_MODULES=text2vec-cohere,text2vec-huggingface,text2vec-palm,text2vec-openai,generative-openai,generative-cohere,generative-palm,ref2vec-centroid,reranker-cohere,qna-openai
|
||||
WEAVIATE_CLUSTER_HOSTNAME=node1
|
||||
WEAVIATE_PROTOCOL=http
|
||||
WEAVIATE_HOST=weaviate:8080
|
||||
WEAVIATE_CLASSNAME=LocalKnowledge
|
||||
|
||||
# Backend Configuration
|
||||
BACKEND_SERVER_PORT=6039
|
||||
DB_URL=jdbc:mysql://mysql:3306/ruoyi-ai?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true
|
||||
|
||||
Reference in New Issue
Block a user