docs: update playground docs (#4704)

* fix: update playground docs

---------

Co-authored-by: Mendon Kissling <59585235+mendonk@users.noreply.github.com>
This commit is contained in:
anovazzi1 2024-11-21 15:48:45 -03:00 committed by GitHub
commit 674e7243c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,22 +22,19 @@ Notice how the **Playground's** window arrangement changes depending on what com
:::
You can also open a flow's **Playground** without entering its workspace. From **My Collections** or **Langflow Store**, click the **Playground** in one of the projects card.
## Memory Management {#821a5ee2a8a44d35b49943cba630511c}
---
Click the Memories tab to open a table of previous interactions for a specific flow.
When you send a message from the **Playground** interface, the interactions for that session are stored in the **Message Logs**.
Whenever you send a message from the **Playground** interface, under the **Memories** tab you'll see a table of previous interactions for that session.
Langflow allows every chat message to be stored, and a single flow can have multiple memory sessions.
Langflow allows every chat message to be stored, and a single flow can have multiple chat sessions.
Chat conversations store messages categorized by a Session ID. A single flow can host multiple Session IDs, and different flows can share the same Session ID.
To view messages by session ID, from the Playground, click the Options menu of any session, and then select Message Logs.
Individual messages in chat memory can be edited or deleted. Modifying these memories will influence the behavior of the chatbot responses.
To learn more about memories in Langflow, see [Chat Memory](/guides-chat-memory).
@ -63,7 +60,7 @@ curl -X POST \
}'
```
Check your flows Memories tab. In addition to the messages stored for the Default Session, a new chat session is started with your new Session ID.
Check your flow's **Playground**. In addition to the messages stored for the Default Session, a new session is started with your new Session ID.
**Chat Input** and **Chat Output** components can also store a `session_id` parameter as a **Tweak** for specific sessions. The Playground will still display all available sessions, but the flow will use the value stored in the `session_id` tweak.