Spaces:
Sleeping
Sleeping
Update requirements.txt and README.md for Hugging Face deployment
Browse files- README.md +36 -1
- requirements.txt +4 -4
README.md
CHANGED
@@ -10,4 +10,39 @@ pinned: false
|
|
10 |
|
11 |
# Chainlit Bot
|
12 |
|
13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
|
11 |
# Chainlit Bot
|
12 |
|
13 |
+
A versatile chatbot powered by Chainlit and OpenAI's GPT-4 Turbo, featuring multiple conversation aspects and a clean, maintainable codebase.
|
14 |
+
|
15 |
+
## Features
|
16 |
+
|
17 |
+
- π€ Powered by OpenAI's GPT-4 Turbo
|
18 |
+
- π― Multiple conversation aspects:
|
19 |
+
- Concept Simplification
|
20 |
+
- Summarization
|
21 |
+
- Creativity
|
22 |
+
- Narrative Structure
|
23 |
+
- Arithmetic Reasoning
|
24 |
+
- Conversational Tone
|
25 |
+
- π Default template for general conversations
|
26 |
+
- π Comprehensive logging system
|
27 |
+
- π¨ Clean, modular codebase
|
28 |
+
|
29 |
+
## Usage
|
30 |
+
|
31 |
+
1. Select a conversation aspect using the buttons at the top
|
32 |
+
2. Start chatting with the bot
|
33 |
+
3. The bot will respond according to the selected aspect's style
|
34 |
+
|
35 |
+
## Local Development
|
36 |
+
|
37 |
+
1. Clone the repository
|
38 |
+
2. Install dependencies: `pip install -r requirements.txt`
|
39 |
+
3. Create a `.env` file with your OpenAI API key
|
40 |
+
4. Run the app: `chainlit run app.py`
|
41 |
+
|
42 |
+
## Environment Variables
|
43 |
+
|
44 |
+
- `OPENAI_API_KEY`: Your OpenAI API key
|
45 |
+
|
46 |
+
## License
|
47 |
+
|
48 |
+
MIT
|
requirements.txt
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
chainlit==0.7.700
|
2 |
cohere==4.37
|
3 |
-
openai==1.
|
4 |
-
tiktoken==0.5.
|
5 |
python-dotenv==1.0.0
|
6 |
-
pydantic==2.
|
7 |
-
fastapi==0.
|
8 |
python-multipart==0.0.6
|
|
|
1 |
chainlit==0.7.700
|
2 |
cohere==4.37
|
3 |
+
openai==1.12.0
|
4 |
+
tiktoken==0.5.2
|
5 |
python-dotenv==1.0.0
|
6 |
+
pydantic==2.6.1
|
7 |
+
fastapi==0.109.2
|
8 |
python-multipart==0.0.6
|