neuralleap commited on
Commit
72a5a79
·
verified ·
1 Parent(s): 7dec032

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +16 -4
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 🤖
4
  colorFrom: blue
5
  colorTo: green
6
  sdk: streamlit
7
- sdk_version: 1.42.2
8
  app_file: app.py
9
  pinned: false
10
  ---
@@ -24,6 +24,11 @@ A sophisticated Streamlit app that mimics the ChatGPT interface, using OpenAI's
24
  - Create new chats
25
  - Switch between conversations
26
  - Delete old conversations
 
 
 
 
 
27
  - **Conversation history** preserved between sessions
28
  - **Demo mode** that works without an API key
29
  - **Responsive design** that adapts to different screen sizes
@@ -84,12 +89,19 @@ The app will automatically deploy and be available at your Hugging Face Spaces U
84
 
85
  ## About the Model
86
 
87
- This app uses OpenAI's GPT-3.5-Turbo model, which is a powerful language model with excellent reasoning capabilities. You'll need an OpenAI API key to access this model.
 
 
 
 
 
 
 
88
 
89
  ## Customization
90
 
91
  You can easily customize the app by:
92
- - Changing the model in the `get_ai_response` function
93
  - Adjusting the styling in the CSS section
94
  - Adding more features to the sidebar
95
- - Creating additional response templates for the demo mode
 
4
  colorFrom: blue
5
  colorTo: green
6
  sdk: streamlit
7
+ sdk_version: 1.24.0
8
  app_file: app.py
9
  pinned: false
10
  ---
 
24
  - Create new chats
25
  - Switch between conversations
26
  - Delete old conversations
27
+ - **Model selection** - choose between different OpenAI models:
28
+ - GPT-3.5-Turbo (default)
29
+ - GPT-4
30
+ - GPT-3.5-Turbo-16k (for longer conversations)
31
+ - GPT-4-Turbo
32
  - **Conversation history** preserved between sessions
33
  - **Demo mode** that works without an API key
34
  - **Responsive design** that adapts to different screen sizes
 
89
 
90
  ## About the Model
91
 
92
+ This app lets you select from multiple OpenAI models:
93
+
94
+ - **GPT-3.5-Turbo**: Fast and cost-effective, suitable for most tasks
95
+ - **GPT-4**: More capable but slower and more expensive
96
+ - **GPT-3.5-Turbo-16k**: Supports longer conversations with extended context window
97
+ - **GPT-4-Turbo**: OpenAI's most advanced model with significantly larger context window
98
+
99
+ You can select your preferred model in the sidebar. Note that model availability depends on your OpenAI API key permissions and subscription tier.
100
 
101
  ## Customization
102
 
103
  You can easily customize the app by:
104
+ - Changing the model parameters in the `AVAILABLE_MODELS` dictionary
105
  - Adjusting the styling in the CSS section
106
  - Adding more features to the sidebar
107
+ - Creating additional response templates for the demo mode