किसी विषय को ध्यान में रखते हुए, कम शब्दों और प्रोफ़ेशनल तरीके से ईमेल लिखें
प्रॉम्प्ट के उदाहरण
उपयोगकर्ता
अगले हफ़्ते छुट्टी के समय का अनुरोध करें
मॉडल
नमस्ते [मैनेजर का नाम],
मैंने यह ईमेल भेजा है, ताकि आप [शुरू होने की तारीख] से [खत्म होने की तारीख] तक के लिए छुट्टी का समय पता करने का अनुरोध कर सकें. मैं इस यात्रा के लिए, छुट्टी के लिए तय किए गए समय का इस्तेमाल करूंगा/करूंगी.
मैंने अपने सभी मौजूदा प्रोजेक्ट और टास्क पहले ही पूरे कर लिए हैं. साथ ही, जब मैं बाहर हूं, तो मैंने अपने सहकर्मियों को मेरी ज़िम्मेदारियां पूरी करने के लिए तैयार कर लिया है. ज़रूरत पड़ने पर, मुझसे ईमेल और फ़ोन पर संपर्क किया जाएगा.
मुझे इस समय आराम करने और तरोताज़ा होने का इंतज़ार है. मुझे [return date] को वापस ऑफ़िस आना है.
अनुमति देने के लिए धन्यवाद.
आपकी, [आपका नाम]
उपयोगकर्ता
इसे छोटा करें
मॉडल
नमस्ते [मैनेजर का नाम],
मुझे [शुरू होने की तारीख] से [खत्म होने की तारीख] तक छुट्टियों का अनुरोध करने के लिए भेजा गया है. मैंने अपने सभी मौजूदा प्रोजेक्ट और टास्क पूरे कर लिए हैं. साथ ही, मैंने अपने साथियों के लिए अपनी ज़िम्मेदारियां पूरी करने का इंतज़ाम कर लिया है. ज़रूरत पड़ने पर, मुझसे ईमेल और फ़ोन पर संपर्क किया जाएगा.
अनुमति देने के लिए धन्यवाद.
आपकी, [आपका नाम]
जवाबों के नमूने
उपयोगकर्ता
बुकिंग करें
मॉडल
नमस्ते [Hotel name],
मुझे आपके होटल में [start date] से [end date] तक ठहरने की बुकिंग करनी है. मुझे एक [रूम टाइप] वाला कमरा बुक करना है, जिसमें किंग साइज़ बेड हो.
मुझे इन सुविधाओं में दिलचस्पी है:
* मुफ़्त वाई-फ़ाई
* नाश्ता शामिल है
* पूल की सुविधा
मैं एक ऐसे रूम के लिए भी अनुरोध करना चाहता/चाहती हूं जहां धूम्रपान करना मना है.
अगर आपके पास कोई सवाल है, तो कृपया हमें बताएं. अपना समय देने और विचार करने के लिए धन्यवाद.
अपने प्रोजेक्ट में इस कोड को शामिल करके, हमारे Gemini API से इस प्रॉम्प्ट को कॉल किया जा सकता है.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],[],[],[],null,["# Email writer\n\n[Prompt gallery](/prompt-gallery)\n\nEmail writer\n============\n\nGenerate an email based on a given topic \nPrompt type: [chat_bubble_outline\nChat](/prompt-gallery/?type=chat) \nUse case: \nCreate Data Processing Rewrite \nRelated: \n[Generate questions from fiction](/prompts/questions-from-fiction) [Product descriptions](/prompts/product-descriptions) [Step by step instructions from paragraph](/prompts/step-by-step-instructions)\n[Open in Google AI Studio](https://makersuite.google.com/app/prompts/email-writer) \n\n#### Context\n\nGiven a topic, write emails in a concise, professional manner\n\n#### Prompt examples\n\n##### User\n\nRequest vacation time next week \n\n##### Model\n\nDear \\[Manager's name\\], \n\nI am writing to request vacation time from \\[start date\\] to \\[end date\\]. I will be using my accrued vacation time for this trip. \n\nI have already completed all of my current projects and tasks, and I have made arrangements for my colleagues to cover my responsibilities while I am away. I will be available by email and phone if needed. \n\nI am looking forward to this time to relax and recharge. I will be back in the office on \\[return date\\]. \n\nThank you for your approval. \n\nSincerely, \n\\[Your name\\] \n\n##### User\n\nMake it shorter \n\n##### Model\n\nDear \\[Manager's name\\], \n\nI am writing to request vacation from \\[start date\\] to \\[end date\\]. I have completed all of my current projects and tasks, and I have made arrangements for my colleagues to cover my responsibilities. I will be available by email and phone if needed. \n\nThank you for your approval. \n\nSincerely, \n\\[Your name\\] \n\n#### Sample responses\n\n##### User\n\nMake a reservation \n\n##### Model\n\nDear \\[Hotel name\\],\n\nI am writing to make a reservation for a stay at your hotel from \\[start date\\] to \\[end date\\]. I would like to book a \\[room type\\] room with a king-size bed.\n\nI am interested in the following amenities:\n\\* Free Wi-Fi\n\\* Breakfast included\n\\* Pool access\n\nI would also like to request a non-smoking room.\n\nPlease let me know if you have any questions. Thank you for your time and consideration.\n\nSincerely,\n\\[Your name\\] \n\nGet code\n--------\n\n[Enable API key](https://makersuite.google.com/app/apikey) to develop with the Gemini API\n\nYou can call this prompt from our Gemini API by integrating the following code into your project. \nPython \nJavascript \n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 \n\"\"\" At the command line, only need to run once to install the package via pip: $ pip install google-generativeai \"\"\" import google.generativeai as genai genai.configure(api_key=\"YOUR API KEY\") defaults = { 'model': 'models/chat-bison-001', 'temperature': 0.25, 'candidate_count': 1, 'top_k': 40, 'top_p': 0.95, } context = \"Given a topic, write emails in a concise, professional manner\" examples = \\[ \\[ \"Request vacation time next week\", \"Dear \\[Manager's name\\],nnI am writing to request vacation time from \\[start date\\] to \\[end date\\]. I will be using my accrued vacation time for this trip.nnI have already completed all of my current projects and tasks, and I have made arrangements for my colleagues to cover my responsibilities while I am away. I will be available by email and phone if needed.nnI am looking forward to this time to relax and recharge. I will be back in the office on \\[return date\\].nnThank you for your approval.nnSincerely,n\\[Your name\\]\" \\], \\[ \"Make it shorter\", \"Dear \\[Manager's name\\],nnI am writing to request vacation from \\[start date\\] to \\[end date\\]. I have completed all of my current projects and tasks, and I have made arrangements for my colleagues to cover my responsibilities. I will be available by email and phone if needed.nnThank you for your approval.nnSincerely,n\\[Your name\\]\" \\] \\] messages = \\[\\] messages.append(\"NEXT REQUEST\") response = genai.chat( \\*\\*defaults, context=context, examples=examples, messages=messages ) print(response.last) # Response of the AI to your most recent request \n1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 \nconst { DiscussServiceClient } = require(\"@google-ai/generativelanguage\"); const { GoogleAuth } = require(\"google-auth-library\"); const MODEL_NAME = \"models/chat-bison-001\"; const API_KEY = \"YOUR API KEY\"; const client = new DiscussServiceClient({ authClient: new GoogleAuth().fromAPIKey(API_KEY), }); const context = \"Given a topic, write emails in a concise, professional manner\"; const examples = \\[ { \"input\": { \"content\": \"Request vacation time next week\" }, \"output\": { \"content\": \"Dear \\[Manager's name\\],nnI am writing to request vacation time from \\[start date\\] to \\[end date\\]. I will be using my accrued vacation time for this trip.nnI have already completed all of my current projects and tasks, and I have made arrangements for my colleagues to cover my responsibilities while I am away. I will be available by email and phone if needed.nnI am looking forward to this time to relax and recharge. I will be back in the office on \\[return date\\].nnThank you for your approval.nnSincerely,n\\[Your name\\]\" } }, { \"input\": { \"content\": \"Make it shorter\" }, \"output\": { \"content\": \"Dear \\[Manager's name\\],nnI am writing to request vacation from \\[start date\\] to \\[end date\\]. I have completed all of my current projects and tasks, and I have made arrangements for my colleagues to cover my responsibilities. I will be available by email and phone if needed.nnThank you for your approval.nnSincerely,n\\[Your name\\]\" } } \\]; const messages = \\[\\]; messages.push({ \"content\": \"NEXT REQUEST\" }); client.generateMessage({ // required, which model to use to generate the result model: MODEL_NAME, // optional, 0.0 always uses the highest-probability result temperature: 0.25, // optional, how many candidate results to generate candidateCount: 1, // optional, number of most probable tokens to consider for generation top_k: 40, // optional, for nucleus sampling decoding strategy top_p: 0.95, prompt: { // optional, sent on every request and prioritized over history context: context, // optional, examples to further finetune responses examples: examples, // required, alternating prompt/response messages messages: messages, }, }).then(result =\\\u003e { console.log(JSON.stringify(result, null, 2)); }); \ncontent_copy done Copy to clipboard"]]