- Implement profiling for members of a chat
- The websocket
receive
endpoint only streams incoming messages, and doesn't yield up things that were sent while the connection wasnt alive. When the razzler starts, it should call the HTTP version of the endpoint, which DOES return a list of un-acknowleged messages, so it can work down the backlog. - The web interface could have a list of razzler image descriptions, from group chats that people are part of. It might be interesting to see what the razzler sees in various images
- The web interface needs some example conversation, so people can test their prompts in a private environment.
- Use a proper file lock system
- Implement per-user rate limiting
- Set up a dev container environment
I use a dev container to keep things easy and consistent.
- Install VS Code
- Install the Dev Container extension
- Download and extract the Razzler Data folder: here (talk to me for the required password)
- Press
CTRL+SHIFT+P
on windows, orCMD+SHIFT+P
on a mac to bring up the command prompt - Type "Dev Containers: Open Folder in Container" and choose the base directory of the repo
- Wait for the dev container to start up
Note that if you're on windows, the user configuration API will not be available on the host windows machine (or any other machine, for that matter) until the port has been forwarded from WSL to windows.
You will need two files in the root of the repo:
OPENAI_API_KEY=<KEY>
export DATA_DIR=/app/data
export OPENAI_API_KEY=<KEY>
These will be used to run the code.
install
: Install the requirements for local development in a newvenv
spacedev
: Start a "live" version of the razzler stack, which should load changes as they're madebuild
: Build the official docker imagerun
: Run the latest version of the docker imagebrun
: Build and run the docker imagepublish
: Build the docker image with thelatest
tag, and push to docker hubclean
: Reset the build environment