Spaces:
Sleeping
Sleeping
Initial commit
Browse files- CHANGELOG.md +16 -0
- notebook_tutor/chainlit_frontend.py +7 -7
CHANGELOG.md
CHANGED
@@ -1,3 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
version 0.2.0 [2024-05-14]
|
2 |
|
3 |
## Added
|
|
|
1 |
+
version 0.3.0 [2024-05-16]
|
2 |
+
|
3 |
+
## Added
|
4 |
+
|
5 |
+
- Implemented the Flashcards feature, allowing users to generate and download flashcards based on Jupyter notebook content.
|
6 |
+
- Introduced new agents (QAAgent, QuizAgent, FlashcardsAgent) for handling specific tasks like question answering, quiz generation, and flashcard creation.
|
7 |
+
- Added a new `chainlit_frontend.py` module for Chainlit integration, enabling interactive chat functionality with users.
|
8 |
+
- Developed a comprehensive state management system (`states.py`) to track conversation states and user interactions.
|
9 |
+
- Created `prompt_templates.py` and `graph.py` modules to define prompt templates and the conversation flow graph, respectively.
|
10 |
+
- Established a new tool (`tools.py`) for flashcard creation, supporting CSV format suitable for Anki import.
|
11 |
+
|
12 |
+
## Modified
|
13 |
+
|
14 |
+
- Updated the README.md to reflect the new project name (AI-Notebook-Tutor) and provided updated instructions for running the application.
|
15 |
+
- Enhanced the `.gitignore` file to include directories for flashcards and Chainlit configurations, improving project organization.
|
16 |
+
|
17 |
version 0.2.0 [2024-05-14]
|
18 |
|
19 |
## Added
|
notebook_tutor/chainlit_frontend.py
CHANGED
@@ -132,10 +132,10 @@ async def main(message: cl.Message):
|
|
132 |
logger.info("Reached END state.")
|
133 |
|
134 |
|
135 |
-
@cl.on_chat_end
|
136 |
-
async def end_chat():
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
|
|
132 |
logger.info("Reached END state.")
|
133 |
|
134 |
|
135 |
+
# @cl.on_chat_end
|
136 |
+
# async def end_chat():
|
137 |
+
# # Clean up the flashcards directory
|
138 |
+
# flashcard_directory = 'flashcards'
|
139 |
+
# if os.path.exists(flashcard_directory):
|
140 |
+
# shutil.rmtree(flashcard_directory)
|
141 |
+
# os.makedirs(flashcard_directory)
|