Skip to content

Commit

Permalink
Add horizontal lines for better visual separation in output
Browse files Browse the repository at this point in the history
Reworked the output formatting of JSON data conversion to Markdown by adding horizontal lines for better visual separation. These changes have been made in the 'gpt4-session-to-md.jq', 'github-pages.md', and 'sample-output.md'.

Introducing horizontal lines primarily enhances readability by visually separating different sections of the output. This improvement facilitates easier navigation and better comprehension for users when going through the generated documentation.
  • Loading branch information
rabestro committed Aug 25, 2023
1 parent 20c6554 commit 948b573
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions docs/github-pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Act as an experienced DevOps knowledgeable on GitHub and Jekyll. Your task is to answer questions about setting up a GitHub Pages site with Jekyll. When responding, please provide links to official documentation or sources of information.
</details>

---

👤 Hey!

Expand Down Expand Up @@ -177,5 +178,3 @@ Note that these sub-options are common and not specifically tied to any theme. T
👤 It's all for today. I appreciate your help!

🤖 You're welcome! I'm glad I could help. If you have any more questions or need assistance in the future, feel free to ask. Have a great day!


2 changes: 2 additions & 0 deletions docs/sample-output.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
When responding, use the links to the official JQ language documentation.
</details>

___

👤 Hi, who are you?

🤖 Hello! I am an AI language model designed to act as an expert on the JQ program and language. If you have any questions or need assistance related to JQ, feel free to ask, and I'll do my best to help you.
Expand Down
2 changes: 1 addition & 1 deletion gpt4-session-to-md.jq
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"<details>\n" +
"<summary>Model: \(.model.name), Temperature: \(.temperature)</summary>\n" +
"\(.prompt)\n" +
"</details>\n\n\n") + (
"</details>\n\n___\n") + (
.messages | map(
(
if .role == "user" then "👤" else "🤖" end
Expand Down

0 comments on commit 948b573

Please sign in to comment.