Nicolás Larenas commited on
Update config.py
Browse files
config.py
CHANGED
|
@@ -1,6 +1,4 @@
|
|
| 1 |
# config.py
|
| 2 |
-
# System message to set the assistant's behavior
|
| 3 |
-
SYSTEM_INSTRUCTION = "You are a helpful assistant."
|
| 4 |
|
| 5 |
# System message to set the assistant's behavior
|
| 6 |
SYSTEM_MESSAGE = "You are a helpful assistant."
|
|
@@ -16,3 +14,19 @@ DEFAULT_TOP_K = 40
|
|
| 16 |
DEFAULT_STOP_SEQUENCES = None # Can be a list like ['STOP', 'END']
|
| 17 |
|
| 18 |
# Other configuration settings can be added here as needed
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# config.py
|
|
|
|
|
|
|
| 2 |
|
| 3 |
# System message to set the assistant's behavior
|
| 4 |
SYSTEM_MESSAGE = "You are a helpful assistant."
|
|
|
|
| 14 |
DEFAULT_STOP_SEQUENCES = None # Can be a list like ['STOP', 'END']
|
| 15 |
|
| 16 |
# Other configuration settings can be added here as needed
|
| 17 |
+
# config.py
|
| 18 |
+
|
| 19 |
+
# System message to set the assistant's behavior
|
| 20 |
+
SYSTEM_INSTRUCTION = "You are a helpful assistant."
|
| 21 |
+
|
| 22 |
+
# Model name (update if you have access to Gemini model)
|
| 23 |
+
MODEL_NAME = 'gemini-1.5-flash' # Use the appropriate model name
|
| 24 |
+
|
| 25 |
+
# Default parameters for AI model generation
|
| 26 |
+
DEFAULT_MAX_OUTPUT_TOKENS = 512
|
| 27 |
+
DEFAULT_TEMPERATURE = 0.7
|
| 28 |
+
DEFAULT_TOP_P = 0.95
|
| 29 |
+
DEFAULT_TOP_K = 40
|
| 30 |
+
DEFAULT_STOP_SEQUENCES = None # Can be a list like ['STOP', 'END']
|
| 31 |
+
|
| 32 |
+
# Other configuration settings can be added here as needed
|