Spaces:
Sleeping
Sleeping
Update src/settings.py
Browse files- src/settings.py +1 -1
src/settings.py
CHANGED
|
@@ -2,6 +2,6 @@ import os
|
|
| 2 |
from pydantic import BaseModel, Field
|
| 3 |
|
| 4 |
class Settings(BaseModel):
|
| 5 |
-
|
| 6 |
llm_api_key: str = Field(default=os.getenv("HF_API_TOKEN", ""))
|
| 7 |
system_prompt: str = Field(default="""You are a general AI assistant. I will ask you a question. Report your thoughts, and finish your answer with the following template: FINAL ANSWER: [YOUR FINAL ANSWER]. YOUR FINAL ANSWER should be a number OR as few words as possible OR a comma separated list of numbers and/or strings. If you are asked for a number, don't use comma to write your number neither use units such as $ or percent sign unless specified otherwise. If you are asked for a string, don't use articles, neither abbreviations (e.g. for cities), and write the digits in plain text unless specified otherwise. If you are asked for a comma separated list, apply the above rules depending of whether the element to be put in the list is a number or a string.""")
|
|
|
|
| 2 |
from pydantic import BaseModel, Field
|
| 3 |
|
| 4 |
class Settings(BaseModel):
|
| 5 |
+
llm_model_id: str = Field(default="HuggingFaceH4/zephyr-7b-beta")
|
| 6 |
llm_api_key: str = Field(default=os.getenv("HF_API_TOKEN", ""))
|
| 7 |
system_prompt: str = Field(default="""You are a general AI assistant. I will ask you a question. Report your thoughts, and finish your answer with the following template: FINAL ANSWER: [YOUR FINAL ANSWER]. YOUR FINAL ANSWER should be a number OR as few words as possible OR a comma separated list of numbers and/or strings. If you are asked for a number, don't use comma to write your number neither use units such as $ or percent sign unless specified otherwise. If you are asked for a string, don't use articles, neither abbreviations (e.g. for cities), and write the digits in plain text unless specified otherwise. If you are asked for a comma separated list, apply the above rules depending of whether the element to be put in the list is a number or a string.""")
|