|
Download mc/mc-0027.jsonl from winapiadmin/tinycodinglm: direct link, hf CLI and curl.
- Browser
- Download file 1.08 kB
-
https://huggingface.co/datasets/winapiadmin/tinycodinglm/resolve/main/mc/mc-0027.jsonl
- Command line
-
hf download hf://datasets/winapiadmin/tinycodinglm/mc/mc-0027.jsonl
-
curl -L -o mc-0027.jsonl https://huggingface.co/datasets/winapiadmin/tinycodinglm/resolve/main/mc/mc-0027.jsonl
1.08 kB
| {"type": "session", "harness": "deepseek-harness", "id": "mc-0027", "name": "Fabric API events"} | |
| {"type": "message", "message": {"role": "system", "content": "You are an expert software engineer and technical assistant. You provide accurate, detailed, and practical answers. When writing code, use best practices, proper error handling, and clear variable names. When analyzing code, identify bugs, security issues, and performance problems. You have deep knowledge of C/C++, Windows API, Python, and many other technologies."}} | |
| {"type": "message", "message": {"role": "user", "content": "How do I use Fabric API events?"}} | |
| {"type": "message", "message": {"role": "assistant", "content": "```java\nUseBlockCallback.EVENT.register((player, world, hand, hitResult) -> {\n if (!world.isClient) {\n player.sendMessage(Text.literal(\"Clicked: \" + hitResult.getBlockPos()));\n }\n return ActionResult.PASS;\n});\n\nServerPlayConnectionEvents.JOIN.register((handler, sender, server) -> {\n handler.getPlayer().sendMessage(Text.literal(\"Welcome!\"));\n});\n```"}} | |