ch3njust1n / generative-api

Generative APIs with Large Language Models for a Language User Interface for Android
MIT License
7 stars 1 forks source link

Prepend each command to prevent off topics #34

Closed ch3njust1n closed 1 year ago

ch3njust1n commented 1 year ago

Preprend each command the user gives with a prompt to keep the model on topic. Consider possible prompt injection attacks.

ch3njust1n commented 1 year ago

Implemented in commit a2ac928d3440653d1ab632cb48b1ac6164082739