Skip to content

Latest commit

 

History

History
42 lines (39 loc) · 1.01 KB

README.md

File metadata and controls

42 lines (39 loc) · 1.01 KB

ChainOfThought

chatbot for demonstrating the capabilities of Chain of Thought, enabling a selection of prompts containing different approaches and different tasks.

Setup

create a virtual environment and install all dependencies:

python3 setup.py

activate the virtual environment:

source venv/bin/activate

get API Key to enable Usage of server based LLMs from GroqCloud

  1. sign up
  2. generate Key
  3. insert Key here

Running the Chatbot

in the Terminal:

python3 src/main.py

with Streamlit:

streamlit run src/main.py

VS Code Addition

when using VS Code, streamlit can be run in Debugmode. Therefore, add this configuration to launch.json:

{
    "name": "Python:Streamlit",
    "type": "debugpy",
    "request": "launch",
    "module": "streamlit",
    "args": [
        "run",
        "src/main.py"
    ]
}