uses the openai syntax for the conversation dump including content & role

* user
* system

	modified:   app.py
	modified:   templates/base.html
	modified:   templates/chat.html
This commit is contained in:
Russell Ballestrini 2024-09-15 08:57:34 -04:00
parent e310217166
commit 6086d65f9b
3 changed files with 73 additions and 22 deletions

View file

@ -3,6 +3,8 @@
{% block title %}Chatroom{% endblock %}
{% block content %}
<a id="downloadButton" href="/download_chat_history?room_name={{ room_name }}" download="chat_history.json">Download Chat History</a>
<div id="chat-container">
<!-- Chat area where messages will be displayed -->
<div id="chat"></div>