You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
The Dod 1446a0e161 New media, chat-example, more opaque scrollable 9 months ago
archive Add video_content embeds 1 year ago
editor-archive Add video_content embeds 1 year ago
static New media, chat-example, more opaque scrollable 9 months ago
templates Add url_extras kludge to embeds 9 months ago
.gitignore Add README 11 months ago
README.md README edit 11 months ago
app.py Remove a debug print 9 months ago
debug-server.sh Add prompt/<user>.txt 1 year ago
example.env Connect to chatGPT 1 year ago
requirements.txt Connect to chatGPT 1 year ago

README.md

Running

Prompt files

Prompt template is at templates/prompt.txt

The sources of the fields are:

  • {{user}} — One of the files at static/users, describing current user.
  • {{schema}}static/chat.schema.json (after dereference based on content of static/media. See here while server is running). Describes the syntax and semantics of JSON replies we expect from the assistant.
  • {{example}}static/chat-example.json
  • {{img_enum}} — Available images (including text description). See here (while server is running)