Skip to content

Conversation

@CHERRY-ui8
Copy link
Contributor

No description provided.

CHERRY-ui8 and others added 10 commits December 16, 2025 16:00
* feat: add config and operator node types

* refactor: refactor readers with ray data

* fix: delete param parallelism for readers

* fix: fix import error

* refactor read and chunk operators with no side effects

* fix: fix import error

* fix: fix return logic

* refactor: rename operator split to chunk

* refactor: refactor build_kg to accomodate ray data

* feat: add StorageFactory & global params

* refactor: refactor quiz to accomodata ray data engine

* fix: reload graph before quizzing

* Potential fix for pull request finding 'Unreachable code'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* fix: fix quiz params

* refactor: refactor quiz&judge to ray actors

* fix: fix transferring quizzed data to JudgeService

* refactor: refactor partition to accomodate ray data

* fix: fix lint problem

* refactor: refactor op generate

* feat: write results in output folder

* fix: raise error when no dataset is created

* fix: return generator in ece_partitioner

* fix: return generator in ece_partitioner

* refactor: refactor data format to support multi-modal input

* fix: delete fetching schema to avoid ray's duplicate execution

* fix: fix operators' registry

* feat: refactor schema_guided_extraction & add examples

* feat: seperate ray logs and service logs

* feat: use storage actor

* feat: add kuzu graph database

* feat: add llm as actors

* refactor: delete old runner

* fix: fix vllm wrapper

* docs: update .env.example

* fix: use kuzudb in quiz_service

* fix: update webui

* feat: make storage backend configuragble

* docs: update README”

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
… Ray Data architecture with protein QA features
…er (InternScience#117)

* fix: fix data type of num_gpus & generate_topk_per_token of vllmwrapper

* fix: fix lint error
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @CHERRY-ui8, 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 delivers a major enhancement by introducing a comprehensive framework for multi-omics knowledge graph construction and question-answer generation. It enables users to process DNA, RNA, and protein data through a unified pipeline, leveraging both online biological databases and efficient local BLAST searches. The changes streamline the workflow for bioinformatics tasks, making it easier to extract structured knowledge and generate relevant QA pairs from complex biological information.

Highlights

  • Multi-Omics QA Generation Pipeline: Introduced a new, unified pipeline for generating question-answer pairs from multi-omics data (DNA, RNA, protein), including dedicated steps for reading, searching, chunking, knowledge graph building, partitioning, and QA generation.
  • Enhanced Local BLAST Integration: Significantly improved the local BLAST functionality across NCBI, UniProt, and RNAcentral search services, adding multi-threading, timeout mechanisms, and robust checks for local database availability, reducing reliance on external APIs for sequence searches.
  • Refactored Search and KG Building Services: The search and knowledge graph building services have been refactored to support omics-specific data types, with new OmicsQAGenerator and OmicsKGBuilder classes, and improved concurrency control for external API calls.
  • Improved Data Handling and Logging: Added stream reading capabilities for JSONL files, a specialized SequenceSplitter for biological sequences, and enhanced logging configurations to reduce console clutter during execution while providing detailed logs.
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 by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

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 pull request 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 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. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

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
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 is an impressive and substantial pull request that introduces a complete multi-omics knowledge graph generation pipeline. The refactoring of the search operators, configuration management, and asynchronous handling is excellent and greatly improves the robustness and user experience of the codebase. The new features are well-documented in the added README file. I have a few suggestions to further enhance correctness and maintainability.

…sted formatting in `base_operator.py`, `base_searcher.py`, and `anchor_bfs_partitioner.py` for consistency. Removed unnecessary blank lines in `json_reader.py`, `rnacentral_searcher.py`, and other template files to improve readability.
@CHERRY-ui8 CHERRY-ui8 force-pushed the feature/protein-qa branch 2 times, most recently from ecae957 to 57faab0 Compare December 17, 2025 17:19
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.

4 participants