Spaces:
Sleeping
Sleeping
fixed bug so now can see chatbot instructions
Browse files- src/srf_bot.py +1 -1
- todo.txt +11 -0
src/srf_bot.py
CHANGED
@@ -128,7 +128,7 @@ class SRFChatbot:
|
|
128 |
self.graph.update_state(values={"system_message": self.system_message, "system_message_dropdown": self.chatbot_instructions_dropdown},
|
129 |
config=self.config)
|
130 |
|
131 |
-
|
132 |
|
133 |
def get_configurable(self):
|
134 |
# This thread id is used to keep track of the chatbot's conversation
|
|
|
128 |
self.graph.update_state(values={"system_message": self.system_message, "system_message_dropdown": self.chatbot_instructions_dropdown},
|
129 |
config=self.config)
|
130 |
|
131 |
+
return self.chatbot_instructions
|
132 |
|
133 |
def get_configurable(self):
|
134 |
# This thread id is used to keep track of the chatbot's conversation
|
todo.txt
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# ToDo:
|
2 |
+
- Add back the chatbot instruction
|
3 |
+
- Allow users to edit the instructions or create their own instructions and save them
|
4 |
+
- Figure out how to do evaluations of the retrieved passages and of the final answer
|
5 |
+
- First maybe do evals through a download
|
6 |
+
- Then figure out how to automate evals through langsmith
|
7 |
+
- Add ability to filter by source and maybe chapter
|
8 |
+
- Use the SRF versions of the books
|
9 |
+
- Add additional metadata to the vector database
|
10 |
+
- Learn how to use state with Gradio - do Gradio docs deepdive
|
11 |
+
|