Prompt engineering for text generation: Difference between revisions

Line 64: Line 64:
==Roles==
==Roles==
Give [[ChatGPT]] a role it can emulate and roleplay as by starting with the text '''"Act as a..."'''.
Give [[ChatGPT]] a role it can emulate and roleplay as by starting with the text '''"Act as a..."'''.
For example, if you have a history exam about Rome, you can ask the AI to
''Act as a historian and tell me about Julius Caesar''
For additional roles, check out this website: https://prompts.chat/


==Prompt Engineering for Code Generation Models==
==Prompt Engineering for Code Generation Models==
370

edits