Development

chatgpt에게 물어 보는 프롬프트(Prompt)를 작성 TIP.

sonpro 2023. 3. 26. 18:10
반응형

write

How to Write a Prompt Well to Ask ChatGPT

Asking ChatGPT for help can be a great way to get answers to your questions. However, it's important to write a prompt that is clear and concise so that ChatGPT can understand what you're asking. In this blog post, we'll go over some tips on how to write a prompt well to ask ChatGPT.

Keep it Simple

The first tip is to keep your prompt simple. Don't use complicated language or jargon that ChatGPT might not understand. Instead, use clear and concise language that gets straight to the point. For example, instead of saying "I'm having trouble with my computer's BIOS settings," you could say "How do I change my computer's BIOS settings?"

Be Specific

The second tip is to be specific. Don't ask ChatGPT a vague question that could have multiple answers. Instead, ask a specific question that has a clear answer. For example, instead of saying "How do I fix my computer?" you could say "How do I fix a broken hard drive on my computer?"

Provide Context

The third tip is to provide context. ChatGPT needs to understand the situation you're in so that it can give you the best answer possible. For example, if you're having trouble with a specific program, let ChatGPT know what program it is and what you're trying to do with it.

Use Proper Grammar and Spelling

The fourth tip is to use proper grammar and spelling. ChatGPT will have an easier time understanding your prompt if it's written correctly. Make sure to proofread your prompt before submitting it.

Give Feedback

The fifth and final tip is to give feedback. If ChatGPT gives you an answer, let it know whether or not the answer was helpful. This will help ChatGPT learn and improve over time.

Code Example

If you're asking ChatGPT a programming-related question, it's important to include a code example. This will help ChatGPT understand what you're trying to do and give you a more accurate answer. Here's an example of a code snippet you could include in your prompt:

def hello_world():     print("Hello, world!") 

Conclusion

In conclusion, writing a prompt well to ask ChatGPT is all about being clear, specific, and providing context. By following these tips, you'll be able to get the answers you need from ChatGPT quickly and easily. Remember to use proper grammar and spelling, and to give feedback so that ChatGPT can learn and improve over time.

반응형