rahuldshetty / horde-client

Easy-to-use Python interface for AIHorde Server
https://horde-client.readthedocs.io
MIT License
9 stars 1 forks source link

Question - Text Generation: Can I select a Scenario directly, e.g. Chat? #3

Open UMLAUTaxl opened 4 months ago

UMLAUTaxl commented 4 months ago

Hi, I want to just chat but sometimes I get Adventure and it gives me choices (1, 2, 3 etc.) but that's not what I want. I looked at New Chat and at New Adventure JSONs from lite.koboldai.net but didn't get any wiser. There's adventure_context_mod and adventure_is_action in the JSONs - which is true for adventure and false for chat - but I don't see it anywhere in the code. There's chat_context_mod in the JSONs but it's true for both scenarios. And there's opmode which differs from chat (3) to adventure (2) but again: nowhere to be found in the code.

I did not find these in the official SDK either.

Thanks for all your work!

EDIT: Oh, there's some minor differences in modelhashes but it's only 1 extra entry and the order of entries, that's all.

EDIT2: Someone on Discord pointed out "chat templates." I'm now looking at langchain/prompts/chat.py