From 73d7dd80e75c71c56a8e3ca996b409783839e512 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jegors=20=C4=8Cemisovs?= Date: Thu, 31 Aug 2023 19:53:50 +0300 Subject: [PATCH] Reordered sections in README.md The order of the "Showcases" and "License" sections in README.md was swapped for clarity and better readability. The non-existent showcase link was removed to avoid confusion and make the documentation more accurate. --- docs/README.md | 8 ++++---- gpt4-session-to-md.jq | 21 --------------------- 2 files changed, 4 insertions(+), 25 deletions(-) delete mode 100755 gpt4-session-to-md.jq diff --git a/docs/README.md b/docs/README.md index f7adfed..8af0245 100644 --- a/docs/README.md +++ b/docs/README.md @@ -34,10 +34,10 @@ You can customize the script by modifying the following variables at the beginni - `CATEGORIES`: The categories to be used in the YAML front matter. Default is `AI`. - `TAGS`: The tags to be used in the YAML front matter. Default is `ai`. -## License - -This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details. - ## Showcases - [My Tech Blog](https://rabestro.github.io/) - My personal tech blog where I publish my GPT-4 chat sessions. + +## License + +This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details. diff --git a/gpt4-session-to-md.jq b/gpt4-session-to-md.jq deleted file mode 100755 index 4206aff..0000000 --- a/gpt4-session-to-md.jq +++ /dev/null @@ -1,21 +0,0 @@ -#!/usr/bin/env jq --raw-output --from-file -# -# Copyright (c) 2023 Jegors Čemisovs -# License: MIT -# Repository: https://github.com/rabestro/gpt4-session-to-markdown -# -# Converts GPT-4 chat session JSON data into readable Markdown format -# - -.history[0] | -("# \(.name)\n\n" + -"
\n" + -"Model: \(.model.name), Temperature: \(.temperature)\n" + -"\(.prompt)\n" + -"
\n\n___\n\n") + ( - .messages | map( - ( - if .role == "user" then "👤" else "🤖" end - ) + " \(.content)\n" - ) | join("\n") -)