0
0

config.example.ini 770 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # MySQL demo configuration
  2. [mysql]
  3. host = localhost
  4. user = demo_user
  5. password = change_me_mysql_password
  6. database = enterprise_kb
  7. # Redis demo configuration
  8. [redis]
  9. host = localhost
  10. port = 6379
  11. password = change_me_redis_password
  12. db = 0
  13. # Milvus demo configuration
  14. [milvus]
  15. host = localhost
  16. port = 19530
  17. database_name = enterprise_kb
  18. collection_name = enterprise_kb_rag_demo
  19. # LLM demo configuration
  20. [llm]
  21. model = qwen-plus
  22. dashscope_api_key = your_dashscope_api_key_here
  23. dashscope_base_url = https://dashscope.aliyuncs.com/compatible-mode/v1
  24. [retrieval]
  25. parent_chunk_size = 1200
  26. child_chunk_size = 300
  27. chunk_overlap = 50
  28. retrieval_k = 5
  29. candidate_m = 5
  30. [logger]
  31. log_file = logs/app.log
  32. [app]
  33. valid_sources = ["demo", "docs"]
  34. customer_service_phone = 400-000-0000