OpenCRE
OpenCRE copied to clipboard
Have a separate UI element to enter language request, to prevent requests in the prompt to bother the matching
Have a separate UI element to enter language request, to prevent requests in the prompt to bother the matching. If you ask 'Answer in Chinese how I should prevent command injection' you get a worse opencre match than when you ask 'How should I prevent command injection'. Probably because we calculate the embedding over the entire user prompt. We can do two things:
- add a text box with the label 'Language of Answer' and put English in it by default, then use that in constructing the final prompt
- add a text box with the label 'Instructions' and put there by default 'Anwer in English'. People can change that to 'Answer in layman terms in German' for example. This is the nicest I believe