Spaces:
Sleeping
Sleeping
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. | |
--- | |