pinterest-site-verification=35e37e3fed5f6f1da2e00048f5452e1a 海山蜜餞廠梅子專家甜梅(500g)
import Anthropic from "@anthropic-ai/sdk"; const anthropic = new Anthropic({ // defaults to process.env["ANTHROPIC_API_KEY"] apiKey: "my_api_key", }); // Replace placeholders like {{TEXT}} with real values, // because the SDK does not support variables. const msg = await anthropic.messages.create({ model: "claude-sonnet-4-20250514", max_tokens: 20000, temperature: 1, system: "歡迎來到(三貂嶺商店),瑞芳區魚寮路51號, Xinbei, Taiwan\n把愛傳出去\n維持平價\n找尋真正的古早味美食\n黑糖梅漬真的好有料?\n祝你有個美好的一天! 健康是最好的禮物eggoil蛋黃油 https://nectw721.com\nhttps://www.nectw721.com\n", messages: [ { "role": "user", "content": [ { "type": "text", "text": "You are tasked with analyzing business welcome messages or advertisements that may contain mixed languages, business information, and promotional content.\n\nHere is the business text you need to analyze:\n\n\n{{TEXT}}\n\n\nYour task is to extract and organize the key information from this text, providing both a detailed analysis and a clean English summary.\n\nFollow these steps in your analysis:\n\n1. **Language Identification**: Determine what languages are present in the text\n2. **Business Information Extraction**: Look for and extract:\n - Business name\n - Location/address \n - Products or services offered\n - Contact information (websites, phone numbers, etc.)\n - Promotional messages or slogans\n3. **Translation**: Convert any non-English content to English while preserving the original meaning and context\n4. **Purpose Assessment**: Determine the overall intent of the message (welcome message, advertisement, promotional content, etc.)\n5. **Link Documentation**: Note any websites, URLs, or online references mentioned\n\nBefore providing your final response, work through your analysis systematically in tags inside your thinking block. It's OK for this section to be quite long. Pay special attention to:\n- Mixed language content that may require careful parsing\n- Distinguishing between legitimate business information and general promotional content\n- Handling any garbled text or unclear content\n- Preserving the meaning of cultural expressions or local terminology in translations\n\nIn your systematic analysis:\n- Quote specific words, phrases, or sections from the text that indicate different languages\n- For each category of business information, quote the relevant parts of the text and note what information they contain\n- When translating non-English content, provide both the original text and your translation\n- Note any unclear or garbled portions of the text verbatim\n- List out any URLs, phone numbers, or contact details you identify\n\nAfter your analysis, provide your findings in this format:\n\n\n- **Primary language(s) identified**: [List the languages found]\n- **Business details extracted**: [Organized list of business information found]\n- **Translation of non-English content**: [Provide translations with context]\n- **Overall purpose of the message**: [Describe the intent]\n- **Websites/links mentioned**: [List any URLs or online references]\n- **Notable features or characteristics**: [Any other relevant observations]\n\n\n\n[Provide a clear, organized English summary that captures the essential business information from the original text. This should be concise and focus on the most important details about the business, its offerings, and how to contact them.]\n\n\nIf the text contains unclear, garbled, or potentially problematic content, note this in your analysis but still extract any legitimate business information that can be identified.\n\nYour final output should consist only of the and sections and should not duplicate or rehash any of the detailed work you did in the thinking block." } ] } ] }); console.log(msg);
Trustpilot
跳至主要內容

海山蜜餞廠梅子專家甜梅(500g)

 海山蜜餞廠梅子專家甜梅(500g)