KoboldAI-Client icon indicating copy to clipboard operation
KoboldAI-Client copied to clipboard

Generate requests for multiple chat sessions

Open andrey-genpracc opened this issue 1 year ago • 3 comments

I want to have different characters (stories) in chat mode and send for each of them their requests and have different chat sessions with that different characters . And when i will send request through api, it will be for specific character and chat session. Does KoboldAIClient API have this functional? Can't find this one in docs (

andrey-genpracc avatar May 10 '23 10:05 andrey-genpracc

By default the API will process what you send to it verbatim. So when you send something for one character it wont be remembered in the next request. So its all about how you craft your requests.

henk717 avatar May 10 '23 10:05 henk717

If i correctly understood i don't have chat id, to send api request only for specific chat session and i need to create my text in request with specific way which provide logical continue of conversation for exact story?

andrey-genpracc avatar May 10 '23 10:05 andrey-genpracc

Correct yes, the API by default goes straight to the generator so the "history" in the text you send to the API provides it with the context on what to do next.

henk717 avatar May 10 '23 10:05 henk717