mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
mv service_conf.yaml to conf/ and fix: add 'answer' as a parameter to 'generate' (#3379)
### What problem does this PR solve? #3373 ### Type of change - [x] Refactoring - [x] Bug fix
This commit is contained in:
@ -191,7 +191,7 @@ AUTHENTICATION_DEFAULT_TIMEOUT = 7 * 24 * 60 * 60 # s
|
||||
PRIVILEGE_COMMAND_WHITELIST = []
|
||||
CHECK_NODES_IDENTITY = False
|
||||
|
||||
if 'username' in get_base_config("es", {}):
|
||||
if 'hosts' in get_base_config("es", {}):
|
||||
docStoreConn = rag.utils.es_conn.ESConnection()
|
||||
else:
|
||||
docStoreConn = rag.utils.infinity_conn.InfinityConnection()
|
||||
|
||||
Reference in New Issue
Block a user