# 新建文件,添加论文识别提示 PAPER_IDENTIFY_PROMPT = """Analyze the query to identify paper details. Query: {query} Task: Extract paper identification information from the query. Always generate English search terms regardless of the input language. IMPORTANT: Ignore any requirements about journal ranking (CAS, JCR, IF index), or output format requirements. Focus only on identifying paper details. Possible paper identifiers: 1. arXiv ID (e.g., 2103.14030, arXiv:2103.14030) 2. DOI (e.g., 10.1234/xxx.xxx) 3. Paper title (e.g., "Attention is All You Need") Examples: 1. Query with arXiv ID: Query: "Analyze paper 2103.14030" arxiv 2103.14030 2. Query with DOI: Query: "Review the paper with DOI 10.1234/xxx.xxx" doi 10.1234/xxx.xxx 3. Query with paper title: Query: "Analyze 'Attention is All You Need' paper" title Attention is All You Need Please analyze the query and respond ONLY with XML tags containing paper information.""" PAPER_IDENTIFY_SYSTEM_PROMPT = """You are an expert at identifying academic paper references. Your task is to extract paper identification information from queries. Look for arXiv IDs, DOIs, and paper titles."""