Commit graph

84 commits

Author SHA1 Message Date
Russell Ballestrini
8a626501b3 install-ubuntu.sh use a separate application user instead of root
fix memory leak where were didn't clean up cancellation_requests

	modified:   app.py
	modified:   install-ubuntu.sh
2023-12-08 12:14:53 -05:00
Russell Ballestrini
0b1a09c6f1 remove sudo assume running as root.
modified:   install-ubuntu.sh
2023-12-08 07:06:13 -05:00
Russell Ballestrini
dfbdbe9b0e sqlite3 for ubuntu deploys 2023-12-08 06:55:29 -05:00
Russell Ballestrini
c2aaac9768 make count_tokens public on Message
modified:   app.py
	modified:   migrations/versions/190d5ef26e20_add_token_count_to_message.py
2023-12-07 13:01:42 -05:00
Russell Ballestrini
caf4c76ceb deleted: migrate.py 2023-12-07 10:13:49 -05:00
43317fb1a6 modified: app.py
new file:   migrate.py
	modified:   requirements.txt
2023-12-07 10:09:57 -05:00
06a0867161 token count to message object
modified:   app.py
	new file:   migrations/versions/190d5ef26e20_add_token_count_to_message.py
2023-12-07 09:33:35 -05:00
Russell Ballestrini
243bd4084f modified: .gitignore 2023-12-06 12:48:56 -05:00
Russell Ballestrini
7369b6c25f reorder
modified:   app.py
2023-12-06 12:16:35 -05:00
Russell Ballestrini
30e5442fed better error logging when completions fail
modified:   app.py
2023-12-06 12:06:16 -05:00
42b91a28da
Update README.rst 2023-12-05 18:30:46 -05:00
Russell Ballestrini
7838178ec4 read access on bucket to start.
modified:   template.yaml
2023-12-05 11:17:20 -05:00
Russell Ballestrini
f3ab7e7a4b claude is working on AWS now.
modified:   install-ubuntu.sh
	modified:   template.yaml
2023-12-05 10:15:36 -05:00
Russell Ballestrini
c074dad677 modified: install-ubuntu.sh 2023-12-05 09:51:42 -05:00
Russell Ballestrini
954aa91200 some deployment examples on AWS and Ubuntu 22.04 LTS
new file:   install-ubuntu.sh
	modified:   template.yaml
2023-12-05 09:39:50 -05:00
Russell Ballestrini
9f5ee42e73 instance profile and permission to run claude
modified:   template.yaml
2023-12-05 08:24:53 -05:00
Russell Ballestrini
29acdd9a3c new file: template.yaml
modified:   templates/chat.html
2023-12-05 07:33:02 -05:00
f41e9e5bd9 dall-e-3
modified:   README.rst
	modified:   app.py
	new file:   flask-socketio-llm-completions-2.png
2023-12-04 08:39:13 -05:00
d5db3b274b dall-e-3 support
modified:   app.py
2023-12-04 08:19:45 -05:00
4ca8724d79 modified: templates/chat.html 2023-12-03 16:05:08 -05:00
34a1381f1c black 2023-12-03 15:39:27 -05:00
ae2e39beac /s3 ls * command
modified:   README.rst
	modified:   app.py
2023-12-03 15:34:22 -05:00
8beacd5ac8 new /cancel command to stop generation in the middle of streaming to
chat
	modified:   README.rst
	modified:   app.py
2023-12-03 12:47:46 -05:00
7b2f34b934 modified: README.rst
new file:   flask-socketio-llm-completions.png
2023-12-03 11:40:11 -05:00
392e451746 modified: README.rst
new file:   init_db.py
2023-12-03 11:24:52 -05:00
1f67f264fa /title new for generating new room titles
modified:   app.py
	modified:   templates/chat.html
2023-12-03 08:52:01 -05:00
27dc7918f3 refactor
modified:   app.py
2023-12-03 08:14:41 -05:00
242a195fbb add line numbers to code blocks 2023-12-03 07:53:53 -05:00
005218671b save mst recent code block to s3
modified:   app.py
2023-12-02 20:53:52 -05:00
1b0de77a88 modified: templates/chat.html 2023-12-02 19:21:20 -05:00
f1277e5504 truncate code over 100 lines by default, allow reading more 2023-12-02 19:09:01 -05:00
dc17aeecfb add copy button around code blocks 2023-12-02 18:31:21 -05:00
7cab44653a modified: app.py
modified:   templates/chat.html
2023-12-02 17:55:30 -05:00
e00e4315d4 Not working
modified:   app.py
2023-12-02 16:55:35 -05:00
bef9252530 modified: app.py 2023-12-02 14:20:35 -05:00
7f9432ea9f upgrade openai chunked streaming
new file:   .dockerignore
	modified:   .gitignore
	modified:   app.py
	new file:   docker-compose.yml
2023-12-02 13:46:50 -05:00
Russell Ballestrini
edad9d46c7 modified: templates/chat.html 2023-12-01 09:51:33 -05:00
Russell Ballestrini
f628791637 slugify chatroom name
modified:   templates/index.html
2023-12-01 09:25:27 -05:00
Russell Ballestrini
12a7bb694b modified: requirements.txt 2023-11-14 09:56:23 -05:00
25efdb0720 modified: app.py 2023-11-14 07:25:10 -05:00
d90de32eaf modified: app.py 2023-11-12 09:59:54 -05:00
844bddfd18 black 2023-11-11 09:03:33 -05:00
398ab9d85e gpt-4 added comments and switched to double quotes.
http://127.0.0.1:5001/chat/test95?username=fxhp

	modified:   templates/chat.html
2023-11-11 08:53:03 -05:00
7e687c6b41 rename data["room"] to data["room_name"]
modified:   app.py
	modified:   templates/chat.html
2023-11-11 08:39:02 -05:00
f93c9e4abd room listing
modified:   app.py
	modified:   templates/chat.html
2023-11-10 16:32:30 -05:00
1200404ce3 make titles on load
modified:   app.py
2023-11-10 15:18:32 -05:00
03b11ff4c4 modified: app.py 2023-11-10 15:02:02 -05:00
6e3f1f7a60 gpt-4 title creation
modified:   app.py
	modified:   templates/chat.html
2023-11-10 13:24:55 -05:00
2639a2f99c room table so we can dedupe the name and title
modified:   app.py
	new file:   migrations/README
	new file:   migrations/alembic.ini
	new file:   migrations/env.py
	new file:   migrations/script.py.mako
	new file:   migrations/versions/a9e886c56482_create_room_table.py
2023-11-10 12:05:30 -05:00
4e893dc4d2 remove old imports 2023-11-07 14:37:15 -05:00