Spaces:
Sleeping
Sleeping
Update config.py
Browse files
config.py
CHANGED
|
@@ -229,7 +229,7 @@ For your own context and knowledge, use the UI and server code for this tab to i
|
|
| 229 |
###########################################################################################
|
| 230 |
# Model Configuration
|
| 231 |
###########################################################################################
|
| 232 |
-
ai_model = "gpt-
|
| 233 |
temperature = 0.05 # 0 to 1: Higher values = more creative responses
|
| 234 |
max_tokens = 500 # 1 to 2048: Max tokens in the response
|
| 235 |
frequency_penalty = 0.5 # 0 to 1: Higher values = more penalty for repeating phrases
|
|
@@ -242,14 +242,13 @@ instructions = '''This is a basic chatbot template. Place user instructions here
|
|
| 242 |
'''
|
| 243 |
|
| 244 |
opening_message = '''👋 **Welcome to the Confidence Intervals Chatbot!**
|
| 245 |
-
Hello! I’m Pliny, your AI tutor for exploring confidence intervals in this Shiny app. Today, we’re focusing on **Tab 3: Bootstrapping**. Feel free to ask questions about:
|
| 246 |
-
- How the bootstrap process works by resampling with replacement from your initial sample.
|
| 247 |
-
- Why the number of bootstrap replicates affects the CI’s precision or consistency.
|
| 248 |
-
- Comparisons between the bootstrap percentile CI and the z-based CI.
|
| 249 |
|
| 250 |
-
|
| 251 |
|
| 252 |
-
|
|
|
|
|
|
|
|
|
|
| 253 |
'''
|
| 254 |
|
| 255 |
warning_message = "**Generative AI can make errors and does not replace verified and reputable online and classroom resources.**"
|
|
|
|
| 229 |
###########################################################################################
|
| 230 |
# Model Configuration
|
| 231 |
###########################################################################################
|
| 232 |
+
ai_model = "gpt-4.1" # Choose from: gpt-4o, gpt-4o-mini, etc.
|
| 233 |
temperature = 0.05 # 0 to 1: Higher values = more creative responses
|
| 234 |
max_tokens = 500 # 1 to 2048: Max tokens in the response
|
| 235 |
frequency_penalty = 0.5 # 0 to 1: Higher values = more penalty for repeating phrases
|
|
|
|
| 242 |
'''
|
| 243 |
|
| 244 |
opening_message = '''👋 **Welcome to the Confidence Intervals Chatbot!**
|
|
|
|
|
|
|
|
|
|
|
|
|
| 245 |
|
| 246 |
+
I'm here to facillitate as you attempt to use this simulation to answer the following:
|
| 247 |
|
| 248 |
+
- **Question 1:** "What is the effect on the 95% CI if you bootstrap 10,000X instead of 100X?"
|
| 249 |
+
- **Question 2:** "When you bootstrap 10,000X, does it seem to give a very similar 95% CI compared to the theoretical CI calculated from the sample size and standard deviation?"
|
| 250 |
+
|
| 251 |
+
See what patterns you find when you adjust the simulation's parameters and repeatedly generate sample means.
|
| 252 |
'''
|
| 253 |
|
| 254 |
warning_message = "**Generative AI can make errors and does not replace verified and reputable online and classroom resources.**"
|