config.py 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. # -*- coding: utf-8 -*-
  2. # @Time : 2023/7/25
  3. # @Author : lkj
  4. # @description :
  5. import json
  6. milvus_config = {'db_name':'classify',
  7. 'host':"192.168.3.109",
  8. # 'host':'172.17.162.35',
  9. 'port':"19530"} # milvus 配置
  10. daili = '172.17.4.188:9090' # 服务代理中心172.17.4.188
  11. vector_url = 'http://192.168.3.109:19104/t2v'
  12. redis_config = {
  13. 'host':'192.168.3.109'
  14. ,'port':6379,
  15. 'db':1,
  16. 'pwd':'root'
  17. }
  18. mongo_input_path = {
  19. # "port": "192.168.3.71:29099",
  20. "user":"JSYJZ_RWBidAi_ProG",
  21. "password":"JSLi@20LiefK3d",
  22. "db": "qfw",
  23. "col": "bidding",
  24. # "db": "re4art",
  25. # "col": "china_good_classify_test",
  26. }
  27. # mongo_input_path2 = {
  28. # "port": "192.168.3.71:29099",
  29. # # "user":"JSYJZ_RWBidAi_ProG",
  30. # # "password":"JSLi@20LiefK3d",
  31. # "db": "re4art",
  32. # "col": "goods_count2",
  33. # }
  34. mysql_path2 = {
  35. # 'mysql_host': '172.17.46.46',
  36. # 'mysql_host': '192.168.3.206',
  37. 'mysql_user': 'root',
  38. 'mysql_password': 'Topnet123_jycms',
  39. # 'mysql_password': '123456',
  40. 'mysql_db': 'Call_Accounting',
  41. # 'mysql_db': 'jy',
  42. 'mysql_port': '3376',
  43. # 'mysql_port': '3306'
  44. }
  45. mysql_path = {
  46. # 'mysql_host': '172.17.4.242',
  47. 'mysql_host': '192.168.3.14',
  48. # 'mysql_host': '127.0.0.1',
  49. # 'mysql_user': 'liukangjia',
  50. 'mysql_user': 'root',
  51. # 'mysql_password': 'Lkj#20230630N',
  52. 'mysql_password': '=PDT49#80Z!RVv52_z',
  53. # 'mysql_password': '123456',
  54. # 'mysql_db': 'Call_Accounting',
  55. 'mysql_db': 'lkj',
  56. 'mysql_port': '4000',
  57. # 'mysql_port': '3306'
  58. }
  59. #