Spaces:
Build error
Build error
Update utils/chatbot.py
Browse files- utils/chatbot.py +1 -1
utils/chatbot.py
CHANGED
|
@@ -11,7 +11,7 @@ from utils.file_utils import load_file
|
|
| 11 |
|
| 12 |
# # Construct the absolute path to the "meta_prompt.txt" file
|
| 13 |
# file_path = os.path.join(current_script_dir, '..', 'data', 'meta_prompt.txt')
|
| 14 |
-
file_path = '/home/user/app/
|
| 15 |
META_PROMPT = load_file(file_path)
|
| 16 |
|
| 17 |
def construct_prompt(query: str, context_embeddings: dict, df: pd.DataFrame) -> tuple[str, str]:
|
|
|
|
| 11 |
|
| 12 |
# # Construct the absolute path to the "meta_prompt.txt" file
|
| 13 |
# file_path = os.path.join(current_script_dir, '..', 'data', 'meta_prompt.txt')
|
| 14 |
+
file_path = '/home/user/app/prompts/meta_prompt.txt'
|
| 15 |
META_PROMPT = load_file(file_path)
|
| 16 |
|
| 17 |
def construct_prompt(query: str, context_embeddings: dict, df: pd.DataFrame) -> tuple[str, str]:
|