1 line
5.5 KiB
JSON
1 line
5.5 KiB
JSON
{"repo": "atangzh/llmsmarthome", "files": {"control-platform/src/main/resources/application.yml": {"e87a136c66db7cf06558dc091a8ac865a974cf41": {"t": 1785746346.5637326, "n": 1807, "h": "0f33ae331a11071f", "c": "spring:\n application:\n name: control-platform\n datasource:\n url: jdbc:h2:file:./data/control-platform\n driver-class-name: org.h2.Driver\n username: sa\n password:\n h2:\n console:\n enabled: true\n path: /h2-console\n jpa:\n hibernate:\n ddl-auto: update\n show-sql: false\n properties:\n hibernate:\n dialect: org.hibernate.dialect.H2Dialect\n format_sql: true\n http:\n encoding:\n charset: UTF-8\n enabled: true\n force: true\n redis:\n host: localhost\n port: 6379\n timeout: 3000\n jedis:\n pool:\n max-active: 8\n max-wait: -1\n max-idle: 8\n min-idle: 0\n\nserver:\n port: 8085\n\nmqtt:\n broker:\n url: tcp://auto:1883\n client-id: control-platform\n username: admin\n password: public\n\nollama:\n url: http://localhost:11434/api/chat\n\ndeepseek:\n api:\n key: sk-50fe877c96a34f50bbe06c9d3ed4ee72\n url: https://api.deepseek.com/chat/completions\n model: deepseek-chat\n max-tokens: 2000\n temperature: 0.7\n\nconversation:\n max-history: 10\n context-ttl: 3600\n\njwt:\n secret: smarthomeSecretKey2024ForJwtTokenGenerationAndValidation\n expiration: 86400000\n\nlogging:\n level:\n com.smarthome: INFO\n org.springframework.web: INFO\n pattern:\n console: \"%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n\"\n\n---\nspring:\n config:\n activate:\n on-profile: mysql\n datasource:\n url: jdbc:mysql://localhost:3306/smarthome?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true\n driver-class-name: com.mysql.cj.jdbc.Driver\n username: root\n password: t.19924951978\n jpa:\n hibernate:\n ddl-auto: update\n show-sql: false\n properties:\n hibernate:\n dialect: org.hibernate.dialect.MySQLDialect\n format_sql: true\n"}, "4ccb5e287e7c5dd63bca000e3cefa0812be4279b": {"t": 1785762357.5477917, "n": 1807, "h": "0f33ae331a11071f", "c": "spring:\n application:\n name: control-platform\n datasource:\n url: jdbc:h2:file:./data/control-platform\n driver-class-name: org.h2.Driver\n username: sa\n password:\n h2:\n console:\n enabled: true\n path: /h2-console\n jpa:\n hibernate:\n ddl-auto: update\n show-sql: false\n properties:\n hibernate:\n dialect: org.hibernate.dialect.H2Dialect\n format_sql: true\n http:\n encoding:\n charset: UTF-8\n enabled: true\n force: true\n redis:\n host: localhost\n port: 6379\n timeout: 3000\n jedis:\n pool:\n max-active: 8\n max-wait: -1\n max-idle: 8\n min-idle: 0\n\nserver:\n port: 8085\n\nmqtt:\n broker:\n url: tcp://auto:1883\n client-id: control-platform\n username: admin\n password: public\n\nollama:\n url: http://localhost:11434/api/chat\n\ndeepseek:\n api:\n key: sk-50fe877c96a34f50bbe06c9d3ed4ee72\n url: https://api.deepseek.com/chat/completions\n model: deepseek-chat\n max-tokens: 2000\n temperature: 0.7\n\nconversation:\n max-history: 10\n context-ttl: 3600\n\njwt:\n secret: smarthomeSecretKey2024ForJwtTokenGenerationAndValidation\n expiration: 86400000\n\nlogging:\n level:\n com.smarthome: INFO\n org.springframework.web: INFO\n pattern:\n console: \"%d{yyyy-MM-dd HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n\"\n\n---\nspring:\n config:\n activate:\n on-profile: mysql\n datasource:\n url: jdbc:mysql://localhost:3306/smarthome?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true\n driver-class-name: com.mysql.cj.jdbc.Driver\n username: root\n password: t.19924951978\n jpa:\n hibernate:\n ddl-auto: update\n show-sql: false\n properties:\n hibernate:\n dialect: org.hibernate.dialect.MySQLDialect\n format_sql: true\n"}, "5b4983d3de7f9037feb2de713f47346a54921db1": {"t": 1785762359.5874138, "n": 1295, "h": "c9f21075eb69541b", "c": "spring:\n application:\n name: control-platform\n datasource:\n url: jdbc:h2:file:./data/control-platform\n driver-class-name: org.h2.Driver\n username: sa\n password:\n h2:\n console:\n enabled: true\n path: /h2-console\n jpa:\n hibernate:\n ddl-auto: update\n show-sql: false\n properties:\n hibernate:\n dialect: org.hibernate.dialect.H2Dialect\n format_sql: true\n http:\n encoding:\n charset: UTF-8\n enabled: true\n force: true\n\nserver:\n port: 8085\n\nmqtt:\n broker:\n url: tcp://auto:1883\n client-id: control-platform\n username: admin\n password: public\n\nollama:\n url: http://localhost:11434/api/chat\n\ndeepseek:\n api:\n url: http://localhost:11434/api/generate\n key: your-api-key\n model: deepseek-r1:1.5b\n max-tokens: 500\n temperature: 0.3\n\njwt:\n secret: my-secret-key-for-jwt-token-generation-must-be-at-least-512-bits-long-to-work-with-hs512-algorithm\n expiration: 86400000\n\nconversation:\n max-history: 5\n context-ttl: 3600000\n\nredis:\n host: localhost\n port: 6379\n timeout: 3000ms\n jedis:\n pool:\n max-active: 8\n max-wait: -1ms\n max-idle: 8\n min-idle: 0\n\nlogging:\n level:\n com.smarthome.service.VoiceControlService: DEBUG\n com.smarthome.ai.DeepSeekService: DEBUG\n"}}}} |