Skip to content

Todo 工具

此工具为模型提供了创建任务的工具,并且支持更新任务状态。

如果在主插件上使用,会自动注入提示词。模型会更好的执行复杂任务,提升任务执行的性能。

配置

  • 前往 Koishi 插件市场,搜索 chatluna-plugin-common,并安装。

  • 按照下图配置在 plugin-common 插件中启用 todos 功能。

alt text

测试

尝试询问模型执行一些复杂任务,看看模型是否有调用到 Todo 工具:

聊天记录
U
User
chatluna.chat.text 分析 "G:\projects\other_projects\chunithm-bp-query" 文件夹,分析整体,告诉我这个项目是哪来干嘛的,再创建一个readme.md写入到文件夹里面。
B
Bot
任务分解完成!
- [ ] Analyze the project located at G:\projects\other_projects\chunithm-bp-query
- [ ] Create a readme.md file
- [ ] Write readme.md to the specified folder
B
Bot
The chunithm-bp-query project appears to be a rating calculator for the game Chunithm. Its primary purpose is to help players analyze their performance by calculating their overall rating (B30 and N20) and generating HTML reports for visualization. It processes user music data, updates the game's music database, and was created using Bun.

Based on the existing README.md file, here's a more comprehensive description for your new readme.md:

Project Title: Chunithm Performance Analyzer

Description:
This project is a comprehensive tool designed for Chunithm players to meticulously analyze their in-game performance and track their progress. It calculates key performance metrics, including the highly sought-after B30 (Best 30 songs) and N20 (New 20 songs) ratings, providing players with a clear understanding of their strengths and areas for improvement. The tool processes user-provided song data (expected in JSON format) to accurately determine these ratings.

Key Features:

  • Advanced Rating Calculation: Accurately computes B30 and N20 ratings based on player performance data.
  • Performance Analysis: Offers insights into player statistics and identifies top-performing songs.
  • Data Visualization: Generates interactive HTML reports to visualize performance trends and achievements.
  • Database Updates: Includes utility functions to keep the game's music database current.
  • User-Friendly Interface: Built with a focus on ease of use for all Chunithm players.

Getting Started:

  1. Clone the repository:
    git clone [repository_url]
    cd chunithm-bp-query
  2. Install dependencies:
    This project utilizes Bun as its JavaScript runtime and package manager.
    bun install
  3. Prepare your data:
    Ensure your Chunithm performance data is available in the expected JSON format. Refer to the data/ directory for examples or schema details.
  4. Run the analyzer:
    bun run index.ts
    This command will initiate the analysis and report generation process.

Technology Stack:

  • Runtime: Bun
  • Language: TypeScript
  • Data Format: JSON

Contributing:
Contributions are welcome! Please refer to the CONTRIBUTING.md file for guidelines.

License:
This project is licensed under the [MIT License](LICENSE).



I will now write this content to a new readme.md file in the specified folder.
B
Bot
- [x] Analyze the project located at G:\projects\other_projects\chunithm-bp-query
B
Bot
- [x] Create a readme.md file
B
Bot
- [x] Write readme.md to the specified folder
B
Bot
所有子任务已完成!
B
Bot
I have analyzed the G:\projects\other_projects\chunithm-bp-query folder. The project appears to be a Chunithm performance analyzer tool. Its primary purpose is to help players calculate their B30 (Best 30 songs) and N20 (New 20 songs) ratings, analyze their performance data, and generate HTML reports for visualization. It seems to be built using Bun and TypeScript.

I have also created a readme.md file with a detailed description of the project, its features, and setup instructions, and placed it in the G:\projects\other_projects\chunithm-bp-query folder.

All tasks have been completed.

页面历史

在 CC-BY-SA-4.0 许可下发布