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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Access all conversation IDs through the ChatMemory interface
2 participants