Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Sep 24, 2025

This PR adds a new prompt file .ai/prompts/import_publication_bibtex.md to streamline the process of importing research publications from BibTeX format into the lab website structure.

Overview

The new prompt provides comprehensive instructions for automatically converting BibTeX entries into the website's publication format, eliminating the need for manual formatting and reducing errors when adding new publications.

Key Features

BibTeX Parsing & Field Mapping

  • Extracts essential information from standard BibTeX entry types (@inproceedings, @article, @thesis)
  • Maps BibTeX fields to website YAML front matter format
  • Handles author name conversion from Japanese names to lab member usernames (e.g., 石川 翔吾 → admin)

Intelligent Content Generation

  • Automatically determines publication types and categories based on venue information
  • Generates appropriate directory names following the YYYYMMDD-conf-author convention
  • Creates both Japanese (index.ja.md) and English (index.en.md) versions
  • Preserves original BibTeX as cite.bib file

Smart Mapping Logic

  • Author Mapping: Maps lab members to their usernames while preserving external authors as full names
  • Venue Classification: Categorizes publications as Domestic/International Conference, Journal Paper, etc.
  • Project Assignment: Suggests related projects based on title content analysis
  • Date Estimation: Infers publication dates from conference timing patterns

Quality Assurance

  • Includes comprehensive validation checklist
  • Provides error handling guidelines for edge cases
  • Maintains consistency with existing publication formats
  • Follows established YAML structure and naming conventions

Example Usage

Input BibTeX:

@inproceedings{小俣24,
  author       = {小俣敦士 and 榎本 優香 and 増川 ねてる and 石川 翔吾},
  booktitle    = {2024年度人工知能学会全国大会(第38回)},
  title        = {ナレッジグラフと LLM の連携による概念獲得支援チャットボットの開発},
  year         = {2024}
}

Generated output:

  • Directory: content/publication/20240531-jsai-atsushi-omata/
  • Proper author mapping with admin for 石川先生
  • Appropriate categorization as Domestic Conference
  • Project assignment to llm-self-care based on content

Benefits

  • Efficiency: Dramatically reduces time needed to add new publications
  • Consistency: Ensures uniform formatting across all publications
  • Accuracy: Minimizes manual transcription errors
  • Maintainability: Follows existing patterns and conventions

The prompt integrates seamlessly with the existing .ai/prompts/ infrastructure and has been validated to not break the Hugo build process.

Fixes #25


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Co-authored-by: ctxzz <18323160+ctxzz@users.noreply.github.com>
Copilot AI changed the title [WIP] Add prompt for importing publications from BibTeX Add prompt for importing publications from BibTeX Sep 24, 2025
Copilot finished work on behalf of ctxzz September 24, 2025 13:24
Copilot AI requested a review from ctxzz September 24, 2025 13:24
@ctxzz ctxzz marked this pull request as ready for review September 24, 2025 13:31
@ctxzz ctxzz requested a review from Copilot September 24, 2025 13:33
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a comprehensive prompt file for importing research publications from BibTeX format into the lab website structure. The prompt provides detailed instructions for automatically converting BibTeX entries into the website's publication format.

Key changes:

  • Adds automated BibTeX parsing and field mapping instructions
  • Includes author name mapping from Japanese names to lab member usernames
  • Provides templates for both Japanese and English publication entries

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@ctxzz ctxzz merged commit 12b319f into main Sep 24, 2025
@ctxzz ctxzz deleted the copilot/fix-66ce1bc5-2b4c-423c-9e73-948a316e3085 branch September 24, 2025 13:39
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.

Add prompt for importing publications from BibTeX

2 participants