|
1 | 1 | # Chat Stores
|
2 | 2 |
|
3 |
| -A chat store serves as a centralized interface to store your chat history. Chat history is unique to other storage formats, since the order of messages is important to maintining an overall conversation. |
| 3 | +A chat store serves as a centralized interface to store your chat history. Chat history is unique compared to other storage formats, since the order of messages is important for maintaining an overall conversation. |
4 | 4 |
|
5 |
| -Chat stores can be organize sequences of chat messages by keys (like `user_ids` or other unique identifiable strings), and handle `delete`, `insert`, and `get` operations. |
| 5 | +Chat stores can organize sequences of chat messages by keys (like `user_ids` or other unique identifiable strings), and handle `delete`, `insert`, and `get` operations. |
6 | 6 |
|
7 | 7 | ## SimpleChatStore
|
8 | 8 |
|
9 |
| -The most basic chat store is `SimpleChatStore`, which stores messages in memory and saves to/from disk, or can be serlized and stored somewhere else. |
| 9 | +The most basic chat store is `SimpleChatStore`, which stores messages in memory and can save to/from disk, or can be serialized and stored elsewhere. |
10 | 10 |
|
11 |
| -Typically, you will insansiate a chat store and give it to a memory module. Memory modules that use chat stores will default to using `SimpleChatStore` if not provided. |
| 11 | +Typically, you will instantiate a chat store and give it to a memory module. Memory modules that use chat stores will default to using `SimpleChatStore` if not provided. |
12 | 12 |
|
13 | 13 | ```python
|
14 | 14 | from llama_index.core.storage.chat_store import SimpleChatStore
|
@@ -49,7 +49,7 @@ loaded_chat_store = SimpleChatStore.parse_raw(chat_store_string)
|
49 | 49 |
|
50 | 50 | ## RedisChatStore
|
51 | 51 |
|
52 |
| -Using `RedisChatStore`, you can store your chat history remotely, without having to worry abouyt manually persisting and loading the chat history. |
| 52 | +Using `RedisChatStore`, you can store your chat history remotely, without having to worry about manually persisting and loading the chat history. |
53 | 53 |
|
54 | 54 | ```python
|
55 | 55 | from llama_index.storage.chat_store.redis import RedisChatStore
|
|
0 commit comments