TTTK2173 Data Structures & Algorithms — AI-Assisted Programming Tool
TTTK2173 数据结构与算法 — AI 辅助编程工具
| Mode | URL | Function |
|---|---|---|
| 模式 | 地址 | 功能 |
| Code | code.005917.xyz | Read the question, generate code directly into the editor 读取题目,直接在编辑器中生成代码 |
| Text | text.005917.xyz | Multi-turn conversation, natural language Q&A 多轮对话,自然语言问答 |
The page reads the assignment question and auto-detects the programming language from the file extension. Click the button to get generated code inserted into the editor.
页面自动读取作业题目,并根据文件扩展名检测编程语言。点击按钮即可将 AI 生成的代码插入编辑器。
Ln1 Col1 Java (Clipboard Solve)
Ln1 Col1 Java(剪贴板求解)
Click Ln1 Col1 Java in the bottom status bar. It reads your clipboard content, uses it as the question, and generates code directly into the editor. Useful when the question is from an external source.
点击底部状态栏的 Ln1 Col1 Java,会直接读取剪贴板中的内容作为题目,并生成代码填入编辑器。适用于题目来自外部的情况。
Supported Languages (auto-detected by file extension)
支持的语言(根据文件扩展名自动检测)
A multi-turn chat interface inside the VPL editor. Type your question, get an AI reply, and continue the conversation. Context is preserved within the session.
在 VPL 编辑器内的多轮对话界面。输入问题获取 AI 回复,可继续追问。对话上下文在会话期间保留。
| Item | Detail |
|---|---|
| 项目 | 详情 |
| AI Model AI 模型 | ChatGPT-5.4 |
| API Backend | openai.com/index/openai-api/ |
| Code Endpoint 代码端点 | /solve — { question, language } → { code } |
| Chat Endpoint 对话端点 | /chat — { messages[] } → { reply } |
| Editor 编辑器 | Moodle VPL 4.4.2 + Ace Editor |
| Course 课程 | TTTK2173 Struktur Data dan Algoritma |
| Problem | Solution |
|---|---|
| 问题 | 解决方法 |
| Clipboard Solve says "Cannot read clipboard" Clipboard Solve 提示 "Cannot read clipboard" | Allow clipboard permission in browser settings when prompted 在浏览器弹出提示时允许剪贴板权限 |
| "Request failed" error "Request failed" 错误 | Check your network connection; the backend server may be temporarily unavailable 检查网络连接;后端服务器可能暂时不可用 |
| Wrong language detected 检测到错误的编程语言 | Check the file tab name — the language is auto-detected from the file extension 检查文件标签名 — 语言根据文件扩展名自动检测 |
| Chat history lost 对话历史丢失 | History is session-only; refreshing the page clears it 历史仅保存在当前会话中,刷新页面会清除 |