-
Notifications
You must be signed in to change notification settings - Fork 781
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How InMemoryChatMemory() Works !! #1585
Comments
The chat memory is determined by the conversation ID. Because you didn't specify otherwise, it uses the default conversation, so the chat memory is shared across all users. But...at prompt time you can specify the conversation ID like this:
What I didn't specify here is how |
Dear All,
I am creating a controller service class where the chatClient object is a reference in the service class.
I am using InMemoryChatMemory() chat memory.
My question is : In case of having a rest controller with multiple user access ... will it continue to maintain each memory in a separate memory storage or it will be shared between all users ... Thanks a lot and sorry for disturbing you.
public ChatControllerService(ChatClient.Builder builder)
{
The text was updated successfully, but these errors were encountered: