3 ms·
The OpenAI chat API lets you do this by putting the instructions in the system message and the data in the user message. IME this only works with GPT-4, GPT-3.5
by sebzim4500 4y ago
The OpenAI chat API lets you do this by putting the instructions in the system message and the data in the user message. IME this only works with GPT-4, GPT-3.5 basically ignores the system message.
- simonw 4y agoThe system message doesn't provide robust protection against prompt injection, sadly.