generation_settings.py 438 B

12345678910111213141516171819202122
  1. class PromptSplitSettings:
  2. NONE = "Short prompt (<15s)"
  3. LINES = "Split prompt by lines"
  4. LENGTH = "Split prompt by length"
  5. choices = [
  6. NONE,
  7. LINES,
  8. # LENGTH,
  9. ]
  10. class LongPromptHistorySettings:
  11. CONTINUE = "Use old generation as history"
  12. CONSTANT = "or Use history prompt setting"
  13. EMPTY = "or Clear history"
  14. choices = [
  15. CONTINUE,
  16. CONSTANT,
  17. EMPTY,
  18. ]