Spaces:
Sleeping
Sleeping
File size: 1,635 Bytes
ae7baed 40cef76 ae7baed 40cef76 0406edf 40cef76 0406edf 40cef76 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
---
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.
---
|