- Install VSCode.
- Create a new folder in VSCode (you can name it anything).
- In the folder, create the files: .env, app.py, requirements.txt (or you can just upload all the files from this repo under the section: "LLM Chatbot VSCode").
OPTIONAL:
- If you create the files instead of uploading them, copy paste all the content of each respective file from this repo into the files created on VSCode.
- In the ".env" file enter your personal GROQ API key, in place of "your key".
- You can create your GROQ API Key through this link:
https://console.groq.com/keys - Opne "View" in VSCode and open "Terminal", write "streamlit run app.py"
- A new tab in your browser will open with the chatbot running, you can select model of the chatbot from the left hand pannel: two models are available: Mixtral and Llama2.
- To close the app, press "CTRL+C"(for windows users) in your Terminal of VS Code.