uis-sprint-report 0.1.0__tar.gz → 0.1.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of uis-sprint-report might be problematic. Click here for more details.

Files changed (25) hide show
  1. uis-sprint-report-0.1.1/PKG-INFO +83 -0
  2. uis-sprint-report-0.1.1/README.md +67 -0
  3. {uis-sprint-report-0.1.0 → uis-sprint-report-0.1.1}/setup.py +1 -1
  4. uis-sprint-report-0.1.1/uis_sprint_report.egg-info/PKG-INFO +83 -0
  5. uis-sprint-report-0.1.0/PKG-INFO +0 -80
  6. uis-sprint-report-0.1.0/README.md +0 -64
  7. uis-sprint-report-0.1.0/uis_sprint_report.egg-info/PKG-INFO +0 -80
  8. {uis-sprint-report-0.1.0 → uis-sprint-report-0.1.1}/LICENSE +0 -0
  9. {uis-sprint-report-0.1.0 → uis-sprint-report-0.1.1}/demo/__init__.py +0 -0
  10. {uis-sprint-report-0.1.0 → uis-sprint-report-0.1.1}/demo/config.py +0 -0
  11. {uis-sprint-report-0.1.0 → uis-sprint-report-0.1.1}/demo/demo.py +0 -0
  12. {uis-sprint-report-0.1.0 → uis-sprint-report-0.1.1}/demo/embeddings.py +0 -0
  13. {uis-sprint-report-0.1.0 → uis-sprint-report-0.1.1}/demo/main.py +0 -0
  14. {uis-sprint-report-0.1.0 → uis-sprint-report-0.1.1}/demo/models.py +0 -0
  15. {uis-sprint-report-0.1.0 → uis-sprint-report-0.1.1}/demo/prompts.py +0 -0
  16. {uis-sprint-report-0.1.0 → uis-sprint-report-0.1.1}/demo/utils.py +0 -0
  17. {uis-sprint-report-0.1.0 → uis-sprint-report-0.1.1}/setup.cfg +0 -0
  18. {uis-sprint-report-0.1.0 → uis-sprint-report-0.1.1}/tests/__init__.py +0 -0
  19. {uis-sprint-report-0.1.0 → uis-sprint-report-0.1.1}/tests/test_demo.py +0 -0
  20. {uis-sprint-report-0.1.0 → uis-sprint-report-0.1.1}/tests/test_embeddings.py +0 -0
  21. {uis-sprint-report-0.1.0 → uis-sprint-report-0.1.1}/tests/test_utils.py +0 -0
  22. {uis-sprint-report-0.1.0 → uis-sprint-report-0.1.1}/uis_sprint_report.egg-info/SOURCES.txt +0 -0
  23. {uis-sprint-report-0.1.0 → uis-sprint-report-0.1.1}/uis_sprint_report.egg-info/dependency_links.txt +0 -0
  24. {uis-sprint-report-0.1.0 → uis-sprint-report-0.1.1}/uis_sprint_report.egg-info/requires.txt +0 -0
  25. {uis-sprint-report-0.1.0 → uis-sprint-report-0.1.1}/uis_sprint_report.egg-info/top_level.txt +0 -0
@@ -0,0 +1,83 @@
1
+ Metadata-Version: 2.1
2
+ Name: uis-sprint-report
3
+ Version: 0.1.1
4
+ Summary: A Python package for generating sprint reports and managing sprint activities at University Information Services.
5
+ Home-page: https://gitlab.developers.cam.ac.uk/ee345/demo
6
+ Author: Eugene Evstafev
7
+ Author-email: ee345@cam.ac.uk
8
+ Classifier: License :: OSI Approved :: MIT License
9
+ Classifier: Development Status :: 4 - Beta
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Operating System :: OS Independent
13
+ Requires-Python: >=3.7
14
+ Description-Content-Type: text/markdown
15
+ License-File: LICENSE
16
+
17
+ [![PyPI version](https://badge.fury.io/py/uis-sprint-report.svg)](https://badge.fury.io/py/uis-sprint-report)
18
+ [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
19
+ [![Downloads](https://static.pepy.tech/badge/uis-sprint-report)](https://pepy.tech/project/uis-sprint-report)
20
+
21
+ # UIS Sprint Report
22
+
23
+ `UIS Sprint Report` is a command-line tool designed to generate detailed reports for sprint activities, manage sprint-related data through embeddings, and interact via a chat interface, specifically tailored for University Information Services.
24
+
25
+ ## Installation
26
+
27
+ To install `UIS Sprint Report`, you can use pip:
28
+
29
+ ```bash
30
+ pip install uis-sprint-report
31
+ ```
32
+
33
+ Ensure that the Ollama local model server is running and that you have downloaded the necessary models locally before running this command-line tool.
34
+
35
+ ## Usage
36
+
37
+ The tool is intended to be run with various commands based on the required operation: generating reports, creating PowerPoint presentations of sprint goals, or engaging in an interactive chat to query sprint statuses.
38
+
39
+ ### Command-Line Interface
40
+
41
+ ```bash
42
+ uis-sprint-report --access-token "YOUR_TOKEN" --command "pptx" --sprint-goals "Goal 1; Goal 2"
43
+ ```
44
+
45
+ ### Input Parameters
46
+
47
+ - `--api-base` (`str`): Base URL for API access. Default is `"https://gitlab.developers.cam.ac.uk/"`.
48
+ - `--access-token` (`str`): Access token for API authentication.
49
+ - `--command` (`str`): Command to execute. Options are `"report"`, `"pptx"`, or `"chat"`.
50
+ - `--group-id` (`int`): GitLab group ID. Default is `5`.
51
+ - `--iteration-id` (`int`): Iteration ID within the group. Default is `383`.
52
+ - `--labels` (`str`): Labels to filter the issues. Default is `"team::Identity"`.
53
+ - `--model` (`str`): Ollama model to use. Default is `"mistral:latest"`.
54
+ - `--cache-file` (`str`): Path to the cache file. Default is `".cache"`.
55
+ - `--chunk-size` (`int`): Size of the text chunks for processing. Default is `500`.
56
+ - `--chunk-overlap` (`int`): Overlap between text chunks. Default is `0`.
57
+ - `--max-tokens` (`int`): Maximum tokens for model inference. Default is `1500`.
58
+ - `--sprint-goals` (`str`): Description of sprint goals.
59
+ - `--pptx-file` (`str`): Path for saving the generated PowerPoint file. Default is `"../sprint_goals.pptx"`.
60
+ - `--max-attempts` (`int`): Maximum attempts for generating a response. Default is `5`.
61
+
62
+ ### Commands
63
+
64
+ - **report**: Generates a JSON report detailing the sprint activities.
65
+ - **pptx**: Creates a PowerPoint presentation based on sprint activities and goals.
66
+ - **chat**: Starts an interactive chat session for querying sprint data.
67
+
68
+ Each command initializes the `ChatOllama` model with the specified `model` and `max_tokens`, then executes the function corresponding to the command.
69
+
70
+ ## Features
71
+
72
+ - Integrated report generation from GitLab issues.
73
+ - PowerPoint presentation creation for sprint reviews.
74
+ - Interactive chat functionality for live sprint data querying.
75
+ - Supports local execution with Ollama models for enhanced data privacy and control.
76
+
77
+ ## Contributing
78
+
79
+ Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](https://gitlab.developers.cam.ac.uk/ee345/demo/issues).
80
+
81
+ ## License
82
+
83
+ This project is licensed under the [MIT License](https://choosealicense.com/licenses/mit/).
@@ -0,0 +1,67 @@
1
+ [![PyPI version](https://badge.fury.io/py/uis-sprint-report.svg)](https://badge.fury.io/py/uis-sprint-report)
2
+ [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
3
+ [![Downloads](https://static.pepy.tech/badge/uis-sprint-report)](https://pepy.tech/project/uis-sprint-report)
4
+
5
+ # UIS Sprint Report
6
+
7
+ `UIS Sprint Report` is a command-line tool designed to generate detailed reports for sprint activities, manage sprint-related data through embeddings, and interact via a chat interface, specifically tailored for University Information Services.
8
+
9
+ ## Installation
10
+
11
+ To install `UIS Sprint Report`, you can use pip:
12
+
13
+ ```bash
14
+ pip install uis-sprint-report
15
+ ```
16
+
17
+ Ensure that the Ollama local model server is running and that you have downloaded the necessary models locally before running this command-line tool.
18
+
19
+ ## Usage
20
+
21
+ The tool is intended to be run with various commands based on the required operation: generating reports, creating PowerPoint presentations of sprint goals, or engaging in an interactive chat to query sprint statuses.
22
+
23
+ ### Command-Line Interface
24
+
25
+ ```bash
26
+ uis-sprint-report --access-token "YOUR_TOKEN" --command "pptx" --sprint-goals "Goal 1; Goal 2"
27
+ ```
28
+
29
+ ### Input Parameters
30
+
31
+ - `--api-base` (`str`): Base URL for API access. Default is `"https://gitlab.developers.cam.ac.uk/"`.
32
+ - `--access-token` (`str`): Access token for API authentication.
33
+ - `--command` (`str`): Command to execute. Options are `"report"`, `"pptx"`, or `"chat"`.
34
+ - `--group-id` (`int`): GitLab group ID. Default is `5`.
35
+ - `--iteration-id` (`int`): Iteration ID within the group. Default is `383`.
36
+ - `--labels` (`str`): Labels to filter the issues. Default is `"team::Identity"`.
37
+ - `--model` (`str`): Ollama model to use. Default is `"mistral:latest"`.
38
+ - `--cache-file` (`str`): Path to the cache file. Default is `".cache"`.
39
+ - `--chunk-size` (`int`): Size of the text chunks for processing. Default is `500`.
40
+ - `--chunk-overlap` (`int`): Overlap between text chunks. Default is `0`.
41
+ - `--max-tokens` (`int`): Maximum tokens for model inference. Default is `1500`.
42
+ - `--sprint-goals` (`str`): Description of sprint goals.
43
+ - `--pptx-file` (`str`): Path for saving the generated PowerPoint file. Default is `"../sprint_goals.pptx"`.
44
+ - `--max-attempts` (`int`): Maximum attempts for generating a response. Default is `5`.
45
+
46
+ ### Commands
47
+
48
+ - **report**: Generates a JSON report detailing the sprint activities.
49
+ - **pptx**: Creates a PowerPoint presentation based on sprint activities and goals.
50
+ - **chat**: Starts an interactive chat session for querying sprint data.
51
+
52
+ Each command initializes the `ChatOllama` model with the specified `model` and `max_tokens`, then executes the function corresponding to the command.
53
+
54
+ ## Features
55
+
56
+ - Integrated report generation from GitLab issues.
57
+ - PowerPoint presentation creation for sprint reviews.
58
+ - Interactive chat functionality for live sprint data querying.
59
+ - Supports local execution with Ollama models for enhanced data privacy and control.
60
+
61
+ ## Contributing
62
+
63
+ Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](https://gitlab.developers.cam.ac.uk/ee345/demo/issues).
64
+
65
+ ## License
66
+
67
+ This project is licensed under the [MIT License](https://choosealicense.com/licenses/mit/).
@@ -3,7 +3,7 @@ from setuptools import setup, find_packages
3
3
 
4
4
  setup(
5
5
  name='uis-sprint-report',
6
- version='0.1.0',
6
+ version='0.1.1',
7
7
  author='Eugene Evstafev',
8
8
  author_email='ee345@cam.ac.uk',
9
9
  description='A Python package for generating sprint reports and managing sprint activities at University Information Services.',
@@ -0,0 +1,83 @@
1
+ Metadata-Version: 2.1
2
+ Name: uis-sprint-report
3
+ Version: 0.1.1
4
+ Summary: A Python package for generating sprint reports and managing sprint activities at University Information Services.
5
+ Home-page: https://gitlab.developers.cam.ac.uk/ee345/demo
6
+ Author: Eugene Evstafev
7
+ Author-email: ee345@cam.ac.uk
8
+ Classifier: License :: OSI Approved :: MIT License
9
+ Classifier: Development Status :: 4 - Beta
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Operating System :: OS Independent
13
+ Requires-Python: >=3.7
14
+ Description-Content-Type: text/markdown
15
+ License-File: LICENSE
16
+
17
+ [![PyPI version](https://badge.fury.io/py/uis-sprint-report.svg)](https://badge.fury.io/py/uis-sprint-report)
18
+ [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
19
+ [![Downloads](https://static.pepy.tech/badge/uis-sprint-report)](https://pepy.tech/project/uis-sprint-report)
20
+
21
+ # UIS Sprint Report
22
+
23
+ `UIS Sprint Report` is a command-line tool designed to generate detailed reports for sprint activities, manage sprint-related data through embeddings, and interact via a chat interface, specifically tailored for University Information Services.
24
+
25
+ ## Installation
26
+
27
+ To install `UIS Sprint Report`, you can use pip:
28
+
29
+ ```bash
30
+ pip install uis-sprint-report
31
+ ```
32
+
33
+ Ensure that the Ollama local model server is running and that you have downloaded the necessary models locally before running this command-line tool.
34
+
35
+ ## Usage
36
+
37
+ The tool is intended to be run with various commands based on the required operation: generating reports, creating PowerPoint presentations of sprint goals, or engaging in an interactive chat to query sprint statuses.
38
+
39
+ ### Command-Line Interface
40
+
41
+ ```bash
42
+ uis-sprint-report --access-token "YOUR_TOKEN" --command "pptx" --sprint-goals "Goal 1; Goal 2"
43
+ ```
44
+
45
+ ### Input Parameters
46
+
47
+ - `--api-base` (`str`): Base URL for API access. Default is `"https://gitlab.developers.cam.ac.uk/"`.
48
+ - `--access-token` (`str`): Access token for API authentication.
49
+ - `--command` (`str`): Command to execute. Options are `"report"`, `"pptx"`, or `"chat"`.
50
+ - `--group-id` (`int`): GitLab group ID. Default is `5`.
51
+ - `--iteration-id` (`int`): Iteration ID within the group. Default is `383`.
52
+ - `--labels` (`str`): Labels to filter the issues. Default is `"team::Identity"`.
53
+ - `--model` (`str`): Ollama model to use. Default is `"mistral:latest"`.
54
+ - `--cache-file` (`str`): Path to the cache file. Default is `".cache"`.
55
+ - `--chunk-size` (`int`): Size of the text chunks for processing. Default is `500`.
56
+ - `--chunk-overlap` (`int`): Overlap between text chunks. Default is `0`.
57
+ - `--max-tokens` (`int`): Maximum tokens for model inference. Default is `1500`.
58
+ - `--sprint-goals` (`str`): Description of sprint goals.
59
+ - `--pptx-file` (`str`): Path for saving the generated PowerPoint file. Default is `"../sprint_goals.pptx"`.
60
+ - `--max-attempts` (`int`): Maximum attempts for generating a response. Default is `5`.
61
+
62
+ ### Commands
63
+
64
+ - **report**: Generates a JSON report detailing the sprint activities.
65
+ - **pptx**: Creates a PowerPoint presentation based on sprint activities and goals.
66
+ - **chat**: Starts an interactive chat session for querying sprint data.
67
+
68
+ Each command initializes the `ChatOllama` model with the specified `model` and `max_tokens`, then executes the function corresponding to the command.
69
+
70
+ ## Features
71
+
72
+ - Integrated report generation from GitLab issues.
73
+ - PowerPoint presentation creation for sprint reviews.
74
+ - Interactive chat functionality for live sprint data querying.
75
+ - Supports local execution with Ollama models for enhanced data privacy and control.
76
+
77
+ ## Contributing
78
+
79
+ Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](https://gitlab.developers.cam.ac.uk/ee345/demo/issues).
80
+
81
+ ## License
82
+
83
+ This project is licensed under the [MIT License](https://choosealicense.com/licenses/mit/).
@@ -1,80 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: uis-sprint-report
3
- Version: 0.1.0
4
- Summary: A Python package for generating sprint reports and managing sprint activities at University Information Services.
5
- Home-page: https://gitlab.developers.cam.ac.uk/ee345/demo
6
- Author: Eugene Evstafev
7
- Author-email: ee345@cam.ac.uk
8
- Classifier: License :: OSI Approved :: MIT License
9
- Classifier: Development Status :: 4 - Beta
10
- Classifier: Intended Audience :: Developers
11
- Classifier: Programming Language :: Python :: 3
12
- Classifier: Operating System :: OS Independent
13
- Requires-Python: >=3.7
14
- Description-Content-Type: text/markdown
15
- License-File: LICENSE
16
-
17
- # Project Overview
18
-
19
- This project leverages the capabilities of the LangChain library to interact with GitLab issues and generate sprint report presentations. The system retrieves issue data from a specified GitLab group, processes the information, and summarizes the status of sprint goals in a PowerPoint presentation.
20
-
21
- ## Features
22
-
23
- - Retrieve issues from GitLab using a specific label and iteration ID.
24
- - Analyze and categorize issues based on sprint goals.
25
- - Generate summaries and status reports for sprint goals.
26
- - Create PowerPoint presentations to visually present the sprint report.
27
-
28
- ## Prerequisites
29
-
30
- Before you can run this project, you need to have Python installed on your machine. Python 3.6 or higher is recommended. You also need to ensure that Git is installed if you need to clone the repository.
31
-
32
- ## Installation
33
-
34
- 1. **Clone the Repository**:
35
- ```bash
36
- git clone https://gitlab.developers.cam.ac.uk/ee345/demo.git
37
- cd demo
38
- ```
39
-
40
- 2. **Install Required Libraries**:
41
- Ensure you have `pip` installed and then run:
42
- ```bash
43
- pip install -r requirements.txt
44
- ```
45
-
46
- 3. **Download and Setup Ollama Model**:
47
- Download the Ollama model from [Ollama Download](https://ollama.com/download) and [Mistral Model](https://ollama.com/library/mistral). Follow the instructions on the Ollama website for setting up the model.
48
-
49
- ## Usage
50
-
51
- To run the script, use the following command. Replace the placeholder values with actual data like the GitLab access token and other parameters as required:
52
-
53
- ```bash
54
- python main.py --token YOUR_GITLAB_ACCESS_TOKEN --gitlab_url https://gitlab.developers.cam.ac.uk/api/v4 --iteration_id=368 --goals "Front End Error Reporting,Gain access to account data (held in Entra ID and in our own systems) to start to understand user breakdown/profiles between Raven/Azure"
55
- ```
56
-
57
- ### Parameters Description
58
-
59
- - `--token`: GitLab access token for authentication. This is necessary to access the GitLab API securely.
60
- - `--gitlab_url`: The base URL of your GitLab instance API. Default is `https://gitlab.developers.cam.ac.uk/api/v4`.
61
- - `--group_id`: The ID of the GitLab group from which issues are to be fetched. Default is `5`.
62
- - `--labels`: URL-encoded string of labels used to filter issues by specific criteria. Default is `team%3A%3AIdentity`.
63
- - `--iteration_id`: The ID of the specific iteration to filter issues relevant to a particular sprint. Leave empty if not using iteration-based filtering.
64
- - `--goals`: A comma-separated list of sprint goals to analyze. Each goal should be clearly defined.
65
- - `--presentation_name`: The name of the output PowerPoint file where the sprint report will be saved. Default is `demo.pptx`.
66
- - `--chunk_size`: The size of text chunks in characters when splitting documents for processing. Default is `500`.
67
- - `--chunk_overlap`: The overlap of text chunks in characters when splitting documents. Default is `0`.
68
- - `--search_type`: The type of search to perform when retrieving documents. Default is `mmr` which stands for Maximal Marginal Relevance.
69
- - `--search_kwargs`: Additional keyword arguments in JSON format to configure the search behavior. Default is `{"k": 8}`, where `k` is the number of documents to retrieve.
70
- - `--cache_folder`: The directory to use for caching data such as embeddings. Default is `cache`.
71
- - `--model`: The language model to use, specified by name. Default is `mistral`.
72
- - `--max_tokens`: The maximum number of tokens to generate from the language model in a single request. Default is `1500`.
73
-
74
- ## Contributing
75
-
76
- Contributions are welcome! For major changes, please open an issue first to discuss what you would like to change.
77
-
78
- ## License
79
-
80
- This project is licensed under the MIT License - see the [LICENSE.md](LICENSE) file for details.
@@ -1,64 +0,0 @@
1
- # Project Overview
2
-
3
- This project leverages the capabilities of the LangChain library to interact with GitLab issues and generate sprint report presentations. The system retrieves issue data from a specified GitLab group, processes the information, and summarizes the status of sprint goals in a PowerPoint presentation.
4
-
5
- ## Features
6
-
7
- - Retrieve issues from GitLab using a specific label and iteration ID.
8
- - Analyze and categorize issues based on sprint goals.
9
- - Generate summaries and status reports for sprint goals.
10
- - Create PowerPoint presentations to visually present the sprint report.
11
-
12
- ## Prerequisites
13
-
14
- Before you can run this project, you need to have Python installed on your machine. Python 3.6 or higher is recommended. You also need to ensure that Git is installed if you need to clone the repository.
15
-
16
- ## Installation
17
-
18
- 1. **Clone the Repository**:
19
- ```bash
20
- git clone https://gitlab.developers.cam.ac.uk/ee345/demo.git
21
- cd demo
22
- ```
23
-
24
- 2. **Install Required Libraries**:
25
- Ensure you have `pip` installed and then run:
26
- ```bash
27
- pip install -r requirements.txt
28
- ```
29
-
30
- 3. **Download and Setup Ollama Model**:
31
- Download the Ollama model from [Ollama Download](https://ollama.com/download) and [Mistral Model](https://ollama.com/library/mistral). Follow the instructions on the Ollama website for setting up the model.
32
-
33
- ## Usage
34
-
35
- To run the script, use the following command. Replace the placeholder values with actual data like the GitLab access token and other parameters as required:
36
-
37
- ```bash
38
- python main.py --token YOUR_GITLAB_ACCESS_TOKEN --gitlab_url https://gitlab.developers.cam.ac.uk/api/v4 --iteration_id=368 --goals "Front End Error Reporting,Gain access to account data (held in Entra ID and in our own systems) to start to understand user breakdown/profiles between Raven/Azure"
39
- ```
40
-
41
- ### Parameters Description
42
-
43
- - `--token`: GitLab access token for authentication. This is necessary to access the GitLab API securely.
44
- - `--gitlab_url`: The base URL of your GitLab instance API. Default is `https://gitlab.developers.cam.ac.uk/api/v4`.
45
- - `--group_id`: The ID of the GitLab group from which issues are to be fetched. Default is `5`.
46
- - `--labels`: URL-encoded string of labels used to filter issues by specific criteria. Default is `team%3A%3AIdentity`.
47
- - `--iteration_id`: The ID of the specific iteration to filter issues relevant to a particular sprint. Leave empty if not using iteration-based filtering.
48
- - `--goals`: A comma-separated list of sprint goals to analyze. Each goal should be clearly defined.
49
- - `--presentation_name`: The name of the output PowerPoint file where the sprint report will be saved. Default is `demo.pptx`.
50
- - `--chunk_size`: The size of text chunks in characters when splitting documents for processing. Default is `500`.
51
- - `--chunk_overlap`: The overlap of text chunks in characters when splitting documents. Default is `0`.
52
- - `--search_type`: The type of search to perform when retrieving documents. Default is `mmr` which stands for Maximal Marginal Relevance.
53
- - `--search_kwargs`: Additional keyword arguments in JSON format to configure the search behavior. Default is `{"k": 8}`, where `k` is the number of documents to retrieve.
54
- - `--cache_folder`: The directory to use for caching data such as embeddings. Default is `cache`.
55
- - `--model`: The language model to use, specified by name. Default is `mistral`.
56
- - `--max_tokens`: The maximum number of tokens to generate from the language model in a single request. Default is `1500`.
57
-
58
- ## Contributing
59
-
60
- Contributions are welcome! For major changes, please open an issue first to discuss what you would like to change.
61
-
62
- ## License
63
-
64
- This project is licensed under the MIT License - see the [LICENSE.md](LICENSE) file for details.
@@ -1,80 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: uis-sprint-report
3
- Version: 0.1.0
4
- Summary: A Python package for generating sprint reports and managing sprint activities at University Information Services.
5
- Home-page: https://gitlab.developers.cam.ac.uk/ee345/demo
6
- Author: Eugene Evstafev
7
- Author-email: ee345@cam.ac.uk
8
- Classifier: License :: OSI Approved :: MIT License
9
- Classifier: Development Status :: 4 - Beta
10
- Classifier: Intended Audience :: Developers
11
- Classifier: Programming Language :: Python :: 3
12
- Classifier: Operating System :: OS Independent
13
- Requires-Python: >=3.7
14
- Description-Content-Type: text/markdown
15
- License-File: LICENSE
16
-
17
- # Project Overview
18
-
19
- This project leverages the capabilities of the LangChain library to interact with GitLab issues and generate sprint report presentations. The system retrieves issue data from a specified GitLab group, processes the information, and summarizes the status of sprint goals in a PowerPoint presentation.
20
-
21
- ## Features
22
-
23
- - Retrieve issues from GitLab using a specific label and iteration ID.
24
- - Analyze and categorize issues based on sprint goals.
25
- - Generate summaries and status reports for sprint goals.
26
- - Create PowerPoint presentations to visually present the sprint report.
27
-
28
- ## Prerequisites
29
-
30
- Before you can run this project, you need to have Python installed on your machine. Python 3.6 or higher is recommended. You also need to ensure that Git is installed if you need to clone the repository.
31
-
32
- ## Installation
33
-
34
- 1. **Clone the Repository**:
35
- ```bash
36
- git clone https://gitlab.developers.cam.ac.uk/ee345/demo.git
37
- cd demo
38
- ```
39
-
40
- 2. **Install Required Libraries**:
41
- Ensure you have `pip` installed and then run:
42
- ```bash
43
- pip install -r requirements.txt
44
- ```
45
-
46
- 3. **Download and Setup Ollama Model**:
47
- Download the Ollama model from [Ollama Download](https://ollama.com/download) and [Mistral Model](https://ollama.com/library/mistral). Follow the instructions on the Ollama website for setting up the model.
48
-
49
- ## Usage
50
-
51
- To run the script, use the following command. Replace the placeholder values with actual data like the GitLab access token and other parameters as required:
52
-
53
- ```bash
54
- python main.py --token YOUR_GITLAB_ACCESS_TOKEN --gitlab_url https://gitlab.developers.cam.ac.uk/api/v4 --iteration_id=368 --goals "Front End Error Reporting,Gain access to account data (held in Entra ID and in our own systems) to start to understand user breakdown/profiles between Raven/Azure"
55
- ```
56
-
57
- ### Parameters Description
58
-
59
- - `--token`: GitLab access token for authentication. This is necessary to access the GitLab API securely.
60
- - `--gitlab_url`: The base URL of your GitLab instance API. Default is `https://gitlab.developers.cam.ac.uk/api/v4`.
61
- - `--group_id`: The ID of the GitLab group from which issues are to be fetched. Default is `5`.
62
- - `--labels`: URL-encoded string of labels used to filter issues by specific criteria. Default is `team%3A%3AIdentity`.
63
- - `--iteration_id`: The ID of the specific iteration to filter issues relevant to a particular sprint. Leave empty if not using iteration-based filtering.
64
- - `--goals`: A comma-separated list of sprint goals to analyze. Each goal should be clearly defined.
65
- - `--presentation_name`: The name of the output PowerPoint file where the sprint report will be saved. Default is `demo.pptx`.
66
- - `--chunk_size`: The size of text chunks in characters when splitting documents for processing. Default is `500`.
67
- - `--chunk_overlap`: The overlap of text chunks in characters when splitting documents. Default is `0`.
68
- - `--search_type`: The type of search to perform when retrieving documents. Default is `mmr` which stands for Maximal Marginal Relevance.
69
- - `--search_kwargs`: Additional keyword arguments in JSON format to configure the search behavior. Default is `{"k": 8}`, where `k` is the number of documents to retrieve.
70
- - `--cache_folder`: The directory to use for caching data such as embeddings. Default is `cache`.
71
- - `--model`: The language model to use, specified by name. Default is `mistral`.
72
- - `--max_tokens`: The maximum number of tokens to generate from the language model in a single request. Default is `1500`.
73
-
74
- ## Contributing
75
-
76
- Contributions are welcome! For major changes, please open an issue first to discuss what you would like to change.
77
-
78
- ## License
79
-
80
- This project is licensed under the MIT License - see the [LICENSE.md](LICENSE) file for details.