Skip to content

Conversation

sunyuhan1998
Copy link
Contributor

As mentioned in the issue, retrieving all conversation IDs via ChatMemory should be a very common use case, especially when building applications such as chatbots. Since we already have solid support for this at the ChatMemoryRepository level, we should also add such a method to ChatMemory.

This PR does the following:

  1. Adds a getConversations() method to ChatMemory to retrieve all conversation IDs.
  2. Adds corresponding unit tests.

Fixes #4433

…ing all conversation IDs, and add corresponding unit tests. Signed-off-by: Sun Yuhan <sunyuhan1998@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants