Skip to content

Commit

Permalink
explain sentiment analysis in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
bigsk1 committed Jun 25, 2024
1 parent 1b4a810 commit db09ff5
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down Expand Up @@ -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..
Expand Down

0 comments on commit db09ff5

Please sign in to comment.