atolat30 commited on
Commit
735bc69
Β·
1 Parent(s): e288453

Update requirements.txt and README.md for Hugging Face deployment

Browse files
Files changed (2) hide show
  1. README.md +36 -1
  2. requirements.txt +4 -4
README.md CHANGED
@@ -10,4 +10,39 @@ pinned: false
10
 
11
  # Chainlit Bot
12
 
13
- This is a Chatbot powered by Chainlit, deployed on Hugging Face Spaces.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.3.5
4
- tiktoken==0.5.1
5
  python-dotenv==1.0.0
6
- pydantic==2.10.1
7
- fastapi==0.100.1
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