Skip to content

Add examples#663

Merged
wangxingjun778 merged 14 commits intomodelscope:mainfrom
wangxingjun778:dev/update_readme
Jul 18, 2025
Merged

Add examples#663
wangxingjun778 merged 14 commits intomodelscope:mainfrom
wangxingjun778:dev/update_readme

Conversation

@wangxingjun778
Copy link
Copy Markdown
Collaborator

  1. Add examples for deep research
  2. Update run script

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary of Changes

Hello @wangxingjun778, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request introduces new examples for deep research, specifically focusing on a computational chemistry task involving the simulation of external electric fields. Concurrently, it updates the core run.py script to reflect changes in the default research query and API client configurations, streamlining the setup for new research tasks.

Highlights

  • New Research Examples: Added a detailed report (report.md) and supporting search results (search.json) for a computational chemistry task. The report explains how external electric fields are simulated in theoretical calculations, focusing on the Oriented External Electric Field (OEEF) model, and includes a case study on methane oxidation catalysis.
  • Workflow Script Updates: Modified the run.py script to update the default research query, adjust the OpenAI-compatible chat client's base_url and model, and add a clarifying comment about the ExaSearch API key.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds new examples for the deep research workflow and updates the run script with a more descriptive query and placeholder values. The changes are straightforward. I've provided a couple of suggestions to improve code and markup style for better readability and maintainability.


在没有外加电场时,反应主要分为两步:首先是Fe=O的氧原子夺取CH₄的一个氢原子(H-abstraction),越过能垒为25.44 kcal/mol的过渡态TS1;然后是新生成的Fe-OH上的羟基快速回弹(rebound)到·CH₃上,生成产物甲醇。

![6d7de914.png](resources/6d7de914.png)<br>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For cleaner and more standard Markdown, it's better to avoid using HTML <br> tags for line breaks. A blank line after the image tag will provide separation and is more idiomatic in Markdown.

This suggestion applies to all similar occurrences in this file (e.g., lines 36, 54, 57, 67, 90, 93).

Suggested change
![6d7de914.png](resources/6d7de914.png)<br>
![6d7de914.png](resources/6d7de914.png)

if __name__ == '__main__':

query: str = 'xxx'
query: str = 'Survey of the Deep Research on the AI Agent within the recent 3 month, including the latest research papers, open-source projects, and industry applications.' # noqa
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

This line is very long, which harms readability and maintainability. According to PEP 8, line length should be limited. Please reformat this long string by wrapping it in parentheses.

Suggested change
query: str = 'Survey of the Deep Research on the AI Agent within the recent 3 month, including the latest research papers, open-source projects, and industry applications.' # noqa
query: str = (
'Survey of the Deep Research on the AI Agent within the recent 3 month, '
'including the latest research papers, open-source projects, and industry applications.'
) # noqa

@wangxingjun778 wangxingjun778 merged commit 0e4211f into modelscope:main Jul 18, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant