llm2 / README.md
Leo
Edited text and links in readme, chainlit.md
0406edf
---
title: Beyond ChatGPT – Beginner LLM App
emoji: πŸ’¬
colorFrom: blue
colorTo: indigo
sdk: docker
---
# πŸ’¬ Beyond ChatGPT – Beginner LLM App
This is a simple LLM-based chatbot built during the **Beyond ChatGPT** tutorial from [AI Makerspace](https://github.com/AI-Maker-Space/Beyond-ChatGPT).
It runs locally or in a Hugging Face Space using Docker.
The app connects to the OpenAI API and supports system messages, few-shot prompting, and chain-of-thought-style reasoning.
---
## 🧠 What You Can Do
- Send prompts to a live OpenAI model
- Test structured prompting techniques
- Explore different system/assistant/user message configurations
- Use this app as a foundation for building your own LLM tools
---
## πŸš€ How to Use
If running on Hugging Face (or locally via Docker):
1. Enter a prompt in the chat window
2. Press `Enter` or click `Send`
3. The model will respond in a conversational format
---
## πŸ”§ Tech Stack
- Python
- OpenAI API (`gpt-3.5-turbo` or similar)
- Chainlit (chat interface)
- Docker (for deployment)
- Hugging Face Spaces (hosted version)
---
## πŸ“¦ Tutorial Origin
This app was built as part of the *Beyond ChatGPT* tutorial by AI Makerspace:
πŸ”— https://github.com/AI-Maker-Space/Beyond-ChatGPT
---
## ⚠️ Notes
- You’ll need a valid OpenAI API key to run this locally or deploy it to Hugging Face.
- If using Docker, the app runs on port 7860 by default.
---
## πŸ§ͺ Example Prompt
```
What are the key takeaways from the book "Thinking, Fast and Slow"?
```
---
## πŸ™Œ Credits
Thanks to the team at #AIMakerspace for the tutorial and code scaffold.
---