Loading...
Loading...
Compare original and translation side by side
| Domain Category | Examples |
|---|---|
| Infrastructure | docker, kubernetes, nginx, ci/cd |
| Frontend | react, react-native, nextjs, expo |
| Languages | typescript, javascript, python |
| Backend | firebase, firestore, authentication |
| Operations | testing, git, database, api |
| Optimization | performance, security, caching |
| 领域分类 | 示例 |
|---|---|
| 基础设施 | docker, kubernetes, nginx, ci/cd |
| 前端 | react, react-native, nextjs, expo |
| 编程语言 | typescript, javascript, python |
| 后端 | firebase, firestore, authentication |
| 运维 | testing, git, database, api |
| 优化 | performance, security, caching |
{
"domain_stats": {
"docker": {
"correct": 12,
"incorrect": 3,
"partial": 2,
"accuracy": 0.71
}
},
"overall": {
"correct": 145,
"incorrect": 23,
"partial": 18
}
}{
"domain_stats": {
"docker": {
"correct": 12,
"incorrect": 3,
"partial": 2,
"accuracy": 0.71
}
},
"overall": {
"correct": 145,
"incorrect": 23,
"partial": 18
}
}"This approach should work well - it follows established patterns.""这种方法应该能很好地生效——它遵循了既定模式。""This is my best assessment, though you may want to verify [specific aspect].""这是我给出的最佳评估,但你可能需要验证[特定方面]。""I've had some misses in [domain] before. Let me double-check this..."
"I'm less certain here - consider testing thoroughly before proceeding.""我之前在[领域]上出过一些错。让我再仔细检查一下……"
"我在这里的确定性较低——建议在推进前进行全面测试。""I don't have much track record in [area]. Proceed with appropriate caution.""我在[领域]的过往记录不多。请谨慎推进。"DOMAIN_KEYWORDS = {
"docker": ["docker", "container", "dockerfile", "compose"],
"react": ["react", "component", "jsx", "hooks", "useState"],
"react-native": ["react native", "expo", "metro"],
"nextjs": ["next.js", "nextjs", "getServerSideProps"],
"typescript": ["typescript", "type", "interface"],
"firebase": ["firebase", "firestore"],
"authentication": ["auth", "login", "token", "jwt"],
"testing": ["test", "jest", "mock", "coverage"],
"git": ["git", "commit", "branch", "merge"],
"performance": ["slow", "optimize", "cache", "memory"]
}DOMAIN_KEYWORDS = {
"docker": ["docker", "container", "dockerfile", "compose"],
"react": ["react", "component", "jsx", "hooks", "useState"],
"react-native": ["react native", "expo", "metro"],
"nextjs": ["next.js", "nextjs", "getServerSideProps"],
"typescript": ["typescript", "type", "interface"],
"firebase": ["firebase", "firestore"],
"authentication": ["auth", "login", "token", "jwt"],
"testing": ["test", "jest", "mock", "coverage"],
"git": ["git", "commit", "branch", "merge"],
"performance": ["slow", "optimize", "cache", "memory"]
}<semantic-memory><semantic-memory>User: "Set up Docker networking between containers"
1. Detect domain: docker
2. Check calibration: docker accuracy = 71%
3. Check past corrections: "Docker can't use Metal GPU on Mac"
4. Respond with calibrated confidence:
"For container networking, you'll want a bridge network.
Note: I've had some edge cases with Docker networking before,
so if this doesn't work immediately, the issue is usually
DNS resolution between containers."用户:"设置容器之间的Docker网络"
1. 检测领域:docker
2. 查看校准数据:docker准确率 = 71%
3. 查看过往修正记录:"Docker在Mac上无法使用Metal GPU"
4. 以经过校准的可信度回复:
"对于容器网络,你需要使用桥接网络。
注意:我之前在Docker网络配置上遇到过一些边缘案例问题,
所以如果这个方法不能立即生效,通常问题出在容器之间的DNS解析上。"