Files
hack/tools/scripts/llm-key-hunter/results/_cache/content/1na-ko_echocampus-bot.json
T

1 line
6.1 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{"repo": "1na-ko/echocampus-bot", "files": {"backend/src/main/java/com/echocampus/bot/config/AiServiceConfig.java": {"fc0a74dd80d90e9bb2be8731bea109e2e3094f34": {"t": 1785746110.2547264, "n": 1708, "h": "fc4878a8be87e7dc", "c": "package com.echocampus.bot.config;\n\nimport lombok.Data;\nimport org.springframework.boot.context.properties.ConfigurationProperties;\nimport org.springframework.context.annotation.Configuration;\n\n/**\n * AI服务配置(Embedding + LLM)\n */\n@Data\n@Configuration\n@ConfigurationProperties(prefix = \"ai\")\npublic class AiServiceConfig {\n\n /**\n * Embedding服务配置\n */\n private EmbeddingConfig embedding = new EmbeddingConfig();\n\n /**\n * LLM服务配置\n */\n private LlmConfig llm = new LlmConfig();\n\n @Data\n public static class EmbeddingConfig {\n /**\n * API Key\n */\n private String apiKey;\n\n /**\n * API URL\n */\n private String apiUrl = \"https://dashscope.aliyuncs.com/compatible-mode/v1/embeddings\";\n\n /**\n * 模型名称\n */\n private String model = \"text-embedding-v3\";\n\n /**\n * 向量维度\n */\n private Integer dimension = 1024;\n\n /**\n * 批量处理大小\n */\n private Integer batchSize = 10;\n\n /**\n * 最大重试次数\n */\n private Integer maxRetries = 3;\n }\n\n @Data\n public static class LlmConfig {\n /**\n * API Key\n */\n private String apiKey;\n\n /**\n * API URL\n */\n private String apiUrl = \"https://api.deepseek.com/v1/chat/completions\";\n\n /**\n * 模型名称\n */\n private String model = \"deepseek-chat\";\n\n /**\n * 最大Token数\n */\n private Integer maxTokens = 2000;\n\n /**\n * 温度参数\n */\n private Double temperature = 0.7;\n\n /**\n * 超时时间(秒)\n */\n private Integer timeout = 60;\n }\n}\n"}, "b77769dac7e21829c44268828ff36a2c8d08b77f": {"t": 1785759938.4642682, "n": 1708, "h": "fc4878a8be87e7dc", "c": "package com.echocampus.bot.config;\n\nimport lombok.Data;\nimport org.springframework.boot.context.properties.ConfigurationProperties;\nimport org.springframework.context.annotation.Configuration;\n\n/**\n * AI服务配置(Embedding + LLM)\n */\n@Data\n@Configuration\n@ConfigurationProperties(prefix = \"ai\")\npublic class AiServiceConfig {\n\n /**\n * Embedding服务配置\n */\n private EmbeddingConfig embedding = new EmbeddingConfig();\n\n /**\n * LLM服务配置\n */\n private LlmConfig llm = new LlmConfig();\n\n @Data\n public static class EmbeddingConfig {\n /**\n * API Key\n */\n private String apiKey;\n\n /**\n * API URL\n */\n private String apiUrl = \"https://dashscope.aliyuncs.com/compatible-mode/v1/embeddings\";\n\n /**\n * 模型名称\n */\n private String model = \"text-embedding-v3\";\n\n /**\n * 向量维度\n */\n private Integer dimension = 1024;\n\n /**\n * 批量处理大小\n */\n private Integer batchSize = 10;\n\n /**\n * 最大重试次数\n */\n private Integer maxRetries = 3;\n }\n\n @Data\n public static class LlmConfig {\n /**\n * API Key\n */\n private String apiKey;\n\n /**\n * API URL\n */\n private String apiUrl = \"https://api.deepseek.com/v1/chat/completions\";\n\n /**\n * 模型名称\n */\n private String model = \"deepseek-chat\";\n\n /**\n * 最大Token数\n */\n private Integer maxTokens = 2000;\n\n /**\n * 温度参数\n */\n private Double temperature = 0.7;\n\n /**\n * 超时时间(秒)\n */\n private Integer timeout = 60;\n }\n}\n"}, "2216cda6ff6bf0e926ebdcaea76fc92246a87c24": {"t": 1785759940.5216515, "n": 1708, "h": "c3814abf4fe48e26", "c": "package com.echocampus.bot.config;\n\nimport lombok.Data;\nimport org.springframework.boot.context.properties.ConfigurationProperties;\nimport org.springframework.context.annotation.Configuration;\n\n/**\n * AI服务配置(Embedding + LLM)\n */\n@Data\n@Configuration\n@ConfigurationProperties(prefix = \"ai\")\npublic class AiServiceConfig {\n\n /**\n * Embedding服务配置\n */\n private EmbeddingConfig embedding = new EmbeddingConfig();\n\n /**\n * LLM服务配置\n */\n private LlmConfig llm = new LlmConfig();\n\n @Data\n public static class EmbeddingConfig {\n /**\n * API Key\n */\n private String apiKey;\n\n /**\n * API URL\n */\n private String apiUrl = \"https://dashscope.aliyuncs.com/compatible-mode/v1/embeddings\";\n\n /**\n * 模型名称\n */\n private String model = \"text-embedding-v3\";\n\n /**\n * 向量维度\n */\n private Integer dimension = 1536;\n\n /**\n * 批量处理大小\n */\n private Integer batchSize = 10;\n\n /**\n * 最大重试次数\n */\n private Integer maxRetries = 3;\n }\n\n @Data\n public static class LlmConfig {\n /**\n * API Key\n */\n private String apiKey;\n\n /**\n * API URL\n */\n private String apiUrl = \"https://api.deepseek.com/v1/chat/completions\";\n\n /**\n * 模型名称\n */\n private String model = \"deepseek-chat\";\n\n /**\n * 最大Token数\n */\n private Integer maxTokens = 2000;\n\n /**\n * 温度参数\n */\n private Double temperature = 0.7;\n\n /**\n * 超时时间(秒)\n */\n private Integer timeout = 60;\n }\n}\n"}}}}