DannyAI commited on
Commit
4c316ac
Β·
verified Β·
1 Parent(s): e6583bf

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +55 -47
README.md CHANGED
@@ -1,47 +1,55 @@
1
- ## 🧠 Agentic Research Abstract Generator & Web Summariser-2
2
- An agent-based system using LangGraph and HuggingFace models to generate research abstracts and summarize web content, with modular workflows, memory handling, and task-specific agents.
3
-
4
- This builds upon the previous repo
5
- - [Project Link](https://github.com/daniau23/agentic_researcher)
6
- - [ReadyTensor-Publication](https://app.readytensor.ai/publications/the-agentic-research-abstract-generator-and-web-content-summariser-agent-with-langraph-gYeyu875mKsB)
7
-
8
-
9
- ### πŸš€ Features Improvements
10
- - πŸ“ˆ Evaluation metrics and logging
11
- - πŸ“ˆ Evaluation metrics and logging
12
- - πŸ“ˆ Testing features incorporated
13
- - πŸš€ Model deployment with streamlit
14
-
15
- ![Research Assistant Flow Chart](img/Agentic-Research-Assistant-AI-pub-main-image.jpg)
16
-
17
- ### **How the project goes**
18
- - All files can only work after installing all dependencies in the `environment.yml` file
19
- - The `notebooks folder` contains the jupyter notebook file for testing the project as a whole and for experimenting. `research_graph2.ipynb` contains the experimentation for abstract generation while `research_graph3.ipynb` contains the experimentation for web content summarisation.
20
- - The `graph_article` folder contains the critic, writer and graph_article python files. The `writer.py`(writer agent) file takes the category and title needed for drafting the abstract while the `critic.py` (reviewer agent) reviews the generated abstract. The `graph_article.py` connects boths `writer.py`and `critic.py` by using LangGraph.
21
- - The graph_web folder contains the grap_web, loader, search and summarizer python files. The `search.py` (search agent) file searches takes in the URL link for web search, while the `loader.py` (loader agent) loads the web page but limits it to appoximately 32,000 tokens to not exceed the max token limit. The summarizer agent in `summarizer.py` files, provides a concise summary for the the URL given. The graph_web.py connects all components together as one.
22
- - The utils folder contains the `visualizer.py` file which creates the graphs of the `grah_web.py` and `graph_article.py` files when called in `main.py`. The generatd graphs are saved to the visuals folder.
23
- - The `shared.py` file contains the shared state for the summarizer and abstract generator graphs.
24
- - The `main.py` file calls all graphs together and prompts the user for if the would like to generate an abstract or summarise a webpage.
25
- - The img folder contains the images used for visualisation, also `Langsmith_run.png` show the an example run when Langsmith is used for tracing the graph.
26
- - The tests folder contains all necessary tests for the each component for proper integration of the project, making it ready for deployment.
27
-
28
- ![LangSmith](img/LangSmith_run.png)
29
-
30
- ### **Replicating this project and Example Usage**
31
- Kindly refer to the GitHub link for the previous project for replication.
32
-
33
- - **Run `pip install pytest>=8.4` and `pip install pytest-mock==3.14` after using the environment.yml from the previous repo**
34
- ### **Example Streamlit Outputs**
35
- ![Abstract-generator](img/streamlit_abstract_generator.png)
36
-
37
- ![Webpage-summariser](img/streamlit_web_page_summariser.png)
38
-
39
- **NB:**
40
- - **You must have a huggingface api key to use the streamlit app. Kindly refer to the previous github repo to know how to generate a huggingface api key**
41
-
42
- Here is the Publication on;
43
- - [Edit ReadyTensor](https://app.readytensor.ai/publications/the-agentic-research-abstract-generator-and-web-content-summariser-agent-with-langraph-gYeyu875mKsB)
44
-
45
- ### **Issues faced**:
46
- - Integrating tests for the LLM agents
47
- - Conflicts when deploying app on Streamlit, hence the environment.yml file was removed.
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ title: Agentic Research Abstract Generator & Web Summariser-2
4
+ sdk: gradio
5
+ emoji: πŸ“š
6
+ colorFrom: red
7
+ colorTo: green
8
+ ---
9
+ ## 🧠 Agentic Research Abstract Generator & Web Summariser-2
10
+ An agent-based system using LangGraph and HuggingFace models to generate research abstracts and summarize web content, with modular workflows, memory handling, and task-specific agents.
11
+
12
+ This builds upon the previous repo
13
+ - [Project Link](https://github.com/daniau23/agentic_researcher)
14
+ - [ReadyTensor-Publication](https://app.readytensor.ai/publications/the-agentic-research-abstract-generator-and-web-content-summariser-agent-with-langraph-gYeyu875mKsB)
15
+
16
+
17
+ ### πŸš€ Features Improvements
18
+ - πŸ“ˆ Evaluation metrics and logging
19
+ - πŸ“ˆ Evaluation metrics and logging
20
+ - πŸ“ˆ Testing features incorporated
21
+ - πŸš€ Model deployment with streamlit
22
+
23
+ ![Research Assistant Flow Chart](img/Agentic-Research-Assistant-AI-pub-main-image.jpg)
24
+
25
+ ### **How the project goes**
26
+ - All files can only work after installing all dependencies in the `environment.yml` file
27
+ - The `notebooks folder` contains the jupyter notebook file for testing the project as a whole and for experimenting. `research_graph2.ipynb` contains the experimentation for abstract generation while `research_graph3.ipynb` contains the experimentation for web content summarisation.
28
+ - The `graph_article` folder contains the critic, writer and graph_article python files. The `writer.py`(writer agent) file takes the category and title needed for drafting the abstract while the `critic.py` (reviewer agent) reviews the generated abstract. The `graph_article.py` connects boths `writer.py`and `critic.py` by using LangGraph.
29
+ - The graph_web folder contains the grap_web, loader, search and summarizer python files. The `search.py` (search agent) file searches takes in the URL link for web search, while the `loader.py` (loader agent) loads the web page but limits it to appoximately 32,000 tokens to not exceed the max token limit. The summarizer agent in `summarizer.py` files, provides a concise summary for the the URL given. The graph_web.py connects all components together as one.
30
+ - The utils folder contains the `visualizer.py` file which creates the graphs of the `grah_web.py` and `graph_article.py` files when called in `main.py`. The generatd graphs are saved to the visuals folder.
31
+ - The `shared.py` file contains the shared state for the summarizer and abstract generator graphs.
32
+ - The `main.py` file calls all graphs together and prompts the user for if the would like to generate an abstract or summarise a webpage.
33
+ - The img folder contains the images used for visualisation, also `Langsmith_run.png` show the an example run when Langsmith is used for tracing the graph.
34
+ - The tests folder contains all necessary tests for the each component for proper integration of the project, making it ready for deployment.
35
+
36
+ ![LangSmith](img/LangSmith_run.png)
37
+
38
+ ### **Replicating this project and Example Usage**
39
+ Kindly refer to the GitHub link for the previous project for replication.
40
+
41
+ - **Run `pip install pytest>=8.4` and `pip install pytest-mock==3.14` after using the environment.yml from the previous repo**
42
+ ### **Example Streamlit Outputs**
43
+ ![Abstract-generator](img/streamlit_abstract_generator.png)
44
+
45
+ ![Webpage-summariser](img/streamlit_web_page_summariser.png)
46
+
47
+ **NB:**
48
+ - **You must have a huggingface api key to use the streamlit app. Kindly refer to the previous github repo to know how to generate a huggingface api key**
49
+
50
+ Here is the Publication on;
51
+ - [Edit ReadyTensor](https://app.readytensor.ai/publications/the-agentic-research-abstract-generator-and-web-content-summariser-agent-with-langraph-gYeyu875mKsB)
52
+
53
+ ### **Issues faced**:
54
+ - Integrating tests for the LLM agents
55
+ - Conflicts when deploying app on Streamlit, hence the environment.yml file was removed.