delete()
method allows you to delete a document previously added to the app.
If you do not have the document id, you can use app.db.get()
method to get the document and extract the hash
key from metadatas
dictionary object, which serves as the document id.
delete_session_chat_history()
method allows you to delete all previous messages in a chat history.
delete_session_chat_history(session_id="session_1")
method also accepts session_id
optional param for deleting chat history of a specific session.
It assumes the default session if no session_id
is provided.
delete()
method allows you to delete a document previously added to the app.
If you do not have the document id, you can use app.db.get()
method to get the document and extract the hash
key from metadatas
dictionary object, which serves as the document id.
delete_session_chat_history()
method allows you to delete all previous messages in a chat history.
delete_session_chat_history(session_id="session_1")
method also accepts session_id
optional param for deleting chat history of a specific session.
It assumes the default session if no session_id
is provided.