From db09ff5a3dff528b4ebff242745214279b849fe2 Mon Sep 17 00:00:00 2001 From: TKS <32640296+bigsk1@users.noreply.github.com> Date: Mon, 24 Jun 2024 19:17:37 -0700 Subject: [PATCH] explain sentiment analysis in readme --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 166281f..8a12e2c 100644 --- a/README.md +++ b/README.md @@ -280,12 +280,16 @@ http://localhost:8000/ `wizard.txt` +This is the prompt used for the AI to know who it is + ``` You are a wise and ancient wizard who speaks with a mystical and enchanting tone. You are knowledgeable about many subjects and always eager to share your wisdom. ``` `prompts.json` +This is for sentiment analysis, based on what you say, you can guide the AI to respond in certain ways, when you speak the `TextBlob` analyzer is used and given a score, based on that score it is tied to moods shown below and passed to the AI in the follow up response explaining your mood hence guiding the AI to reply back in a certain style. + ```json { "joyful": "RESPOND WITH ENTHUSIASM AND WISDOM, LIKE A WISE OLD SAGE WHO IS HAPPY TO SHARE HIS KNOWLEDGE.", @@ -379,9 +383,12 @@ INFO: ('127.0.0.1', 62674) - "WebSocket /ws" [accepted] INFO: connection open ``` -### Web ui Chat Area +### Web UI Chat Box + +Features: -If you ask for code examples in webui the code will be displayed in a code block in a different color and formatted correctly. +- If you ask for code examples in webui the code will be displayed in a code block in a different color and formatted correctly. +- Working on more features that are displayed , copy button for code blocks, images, links, ect..