Skip to main content

AI导论编程题的出题与答辩命令行工具(默认 Moonshot/Kimi)

Project description

aidefense-cli

AI 导论编程题出题与答辩命令行工具(默认 Moonshot/Kimi)。

Install

From PyPI (after publish):

python -m pip install aidefense-cli

Editable (for development):

python -m pip install -e .

Quick start

Set env vars (recommended):

set AIDEF_API_KEY=sk-...
set AIDEF_API_BASE=https://api.moonshot.cn/v1
set AIDEF_MODEL=moonshot-v1-8k

Start REPL:

aidef

Inside REPL:

  • gen 生成题目(会要求输入:主题/题型/难度)
  • code paste 粘贴学生代码(以单独一行 EOF 结束)
  • output paste 粘贴运行输出(以单独一行 EOF 结束)
  • defend 发起答辩(只问 1 个深入问题)
  • say 你的回复... 继续多轮答辩
  • export md record.md 导出 Markdown 记录

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aidefense_cli-0.1.0.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aidefense_cli-0.1.0-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file aidefense_cli-0.1.0.tar.gz.

File metadata

  • Download URL: aidefense_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for aidefense_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f028a8b8808d56abfd87c4e03633492c9fb08bad95ca22fab2742462f1d79451
MD5 bd8f3def57d0963d87f19a4b564f0420
BLAKE2b-256 2a0c663050f4febd31abdab4e8fd53cedccec60f8f3812bfa30edb87bb56b850

See more details on using hashes here.

File details

Details for the file aidefense_cli-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: aidefense_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for aidefense_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 879a5be144a8f9a2510ed2633f7fc9713e5ed83e9203f38407eef7f2f519d86f
MD5 7e5d161a21042294af6c03b7edaf0c48
BLAKE2b-256 087bd658a7979b1850faa7dc94d2e6e8ed0d92c390552204c688f38616c6239c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page