llama-github 0.1.3__tar.gz → 0.1.4__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.
- {llama_github-0.1.3 → llama_github-0.1.4}/CHANGELOG.md +10 -0
- {llama_github-0.1.3/llama_github.egg-info → llama_github-0.1.4}/PKG-INFO +11 -1
- {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/llm_integration/initial_load.py +4 -6
- llama_github-0.1.4/llama_github/version.py +1 -0
- {llama_github-0.1.3 → llama_github-0.1.4/llama_github.egg-info}/PKG-INFO +11 -1
- {llama_github-0.1.3 → llama_github-0.1.4}/setup.cfg +1 -1
- llama_github-0.1.3/llama_github/version.py +0 -1
- {llama_github-0.1.3 → llama_github-0.1.4}/LICENSE +0 -0
- {llama_github-0.1.3 → llama_github-0.1.4}/MANIFEST.in +0 -0
- {llama_github-0.1.3 → llama_github-0.1.4}/README.md +0 -0
- {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/__init__.py +0 -0
- {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/config/__init__.py +0 -0
- {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/config/config.json +0 -0
- {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/config/config.py +0 -0
- {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/data_retrieval/__init__.py +0 -0
- {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/data_retrieval/github_api.py +0 -0
- {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/data_retrieval/github_entities.py +0 -0
- {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/features/__init__.py +0 -0
- {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/features/feature_flags.py +0 -0
- {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/features/insider_features.py +0 -0
- {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/github_integration/__init__.py +0 -0
- {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/github_integration/github_auth_manager.py +0 -0
- {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/github_rag.py +0 -0
- {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/llm_integration/__init__.py +0 -0
- {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/llm_integration/llm_handler.py +0 -0
- {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/logger.py +0 -0
- {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/rag_processing/__init__.py +0 -0
- {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/rag_processing/rag_processor.py +0 -0
- {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/utils.py +0 -0
- {llama_github-0.1.3 → llama_github-0.1.4}/llama_github.egg-info/SOURCES.txt +0 -0
- {llama_github-0.1.3 → llama_github-0.1.4}/llama_github.egg-info/dependency_links.txt +0 -0
- {llama_github-0.1.3 → llama_github-0.1.4}/llama_github.egg-info/requires.txt +0 -0
- {llama_github-0.1.3 → llama_github-0.1.4}/llama_github.egg-info/top_level.txt +0 -0
- {llama_github-0.1.3 → llama_github-0.1.4}/setup.py +0 -0
- {llama_github-0.1.3 → llama_github-0.1.4}/tests/test_data_retrieval.py +0 -0
- {llama_github-0.1.3 → llama_github-0.1.4}/tests/test_github_auth_manager.py +0 -0
- {llama_github-0.1.3 → llama_github-0.1.4}/tests/test_initial_load.py +0 -0
- {llama_github-0.1.3 → llama_github-0.1.4}/tests/test_llm_handler.py +0 -0
- {llama_github-0.1.3 → llama_github-0.1.4}/tests/test_logger.py +0 -0
- {llama_github-0.1.3 → llama_github-0.1.4}/tests/test_rag_processor.py +0 -0
|
@@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.1.4] - 2024-10-14
|
|
9
|
+
|
|
10
|
+
### Improved
|
|
11
|
+
- Optimized `simple_mode`:
|
|
12
|
+
- Removed dependencies on `Torch` and `Transformers` libraries
|
|
13
|
+
- Reduced memory footprint
|
|
14
|
+
- Eliminated related imports
|
|
15
|
+
- Enhanced compatibility with AWS Lambda environment
|
|
16
|
+
|
|
8
17
|
## [0.1.3] - 2024-10-14
|
|
9
18
|
|
|
10
19
|
### Added
|
|
@@ -63,6 +72,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
63
72
|
- Basic functionality for retrieving context from GitHub repositories
|
|
64
73
|
- Integration with LLM for processing and generating responses
|
|
65
74
|
|
|
75
|
+
[0.1.4]: https://github.com/JetXu-LLM/llama-github/compare/v0.1.3...v0.1.4
|
|
66
76
|
[0.1.3]: https://github.com/JetXu-LLM/llama-github/compare/v0.1.2...v0.1.3
|
|
67
77
|
[0.1.2]: https://github.com/JetXu-LLM/llama-github/compare/v0.1.1...v0.1.2
|
|
68
78
|
[0.1.1]: https://github.com/JetXu-LLM/llama-github/compare/v0.1.0...v0.1.1
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: llama-github
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: Llama-github is an open-source Python library that empowers LLM Chatbots, AI Agents, and Auto-dev Agents to conduct Retrieval from actively selected GitHub public projects. It Augments through LLMs and Generates context for any coding question, in order to streamline the development of sophisticated AI-driven applications.
|
|
5
5
|
Home-page: https://github.com/JetXu-LLM/llama-github
|
|
6
6
|
Author: Jet Xu
|
|
@@ -133,6 +133,15 @@ All notable changes to this project will be documented in this file.
|
|
|
133
133
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
134
134
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
135
135
|
|
|
136
|
+
## [0.1.4] - 2024-10-14
|
|
137
|
+
|
|
138
|
+
### Improved
|
|
139
|
+
- Optimized `simple_mode`:
|
|
140
|
+
- Removed dependencies on `Torch` and `Transformers` libraries
|
|
141
|
+
- Reduced memory footprint
|
|
142
|
+
- Eliminated related imports
|
|
143
|
+
- Enhanced compatibility with AWS Lambda environment
|
|
144
|
+
|
|
136
145
|
## [0.1.3] - 2024-10-14
|
|
137
146
|
|
|
138
147
|
### Added
|
|
@@ -191,6 +200,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
191
200
|
- Basic functionality for retrieving context from GitHub repositories
|
|
192
201
|
- Integration with LLM for processing and generating responses
|
|
193
202
|
|
|
203
|
+
[0.1.4]: https://github.com/JetXu-LLM/llama-github/compare/v0.1.3...v0.1.4
|
|
194
204
|
[0.1.3]: https://github.com/JetXu-LLM/llama-github/compare/v0.1.2...v0.1.3
|
|
195
205
|
[0.1.2]: https://github.com/JetXu-LLM/llama-github/compare/v0.1.1...v0.1.2
|
|
196
206
|
[0.1.1]: https://github.com/JetXu-LLM/llama-github/compare/v0.1.0...v0.1.1
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
# initial_load.py
|
|
2
|
-
import torch
|
|
3
2
|
from typing import Optional, Any
|
|
4
3
|
from threading import Lock
|
|
5
4
|
from langchain_openai import ChatOpenAI
|
|
@@ -10,11 +9,6 @@ from langchain_mistralai.chat_models import ChatMistralAI
|
|
|
10
9
|
from llama_github.config.config import config
|
|
11
10
|
from llama_github.logger import logger
|
|
12
11
|
|
|
13
|
-
from transformers import AutoModel
|
|
14
|
-
from transformers import AutoModelForSequenceClassification
|
|
15
|
-
from transformers import AutoTokenizer
|
|
16
|
-
|
|
17
|
-
|
|
18
12
|
class LLMManager:
|
|
19
13
|
_instance_lock = Lock()
|
|
20
14
|
_instance = None
|
|
@@ -74,6 +68,10 @@ class LLMManager:
|
|
|
74
68
|
self.model_type = "Hubgingface"
|
|
75
69
|
|
|
76
70
|
if not self.simple_mode:
|
|
71
|
+
import torch
|
|
72
|
+
from transformers import AutoModel
|
|
73
|
+
from transformers import AutoModelForSequenceClassification
|
|
74
|
+
from transformers import AutoTokenizer
|
|
77
75
|
# initial model_kwargs
|
|
78
76
|
if torch.cuda.is_available():
|
|
79
77
|
self.device = torch.device('cuda')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '0.1.4'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: llama-github
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: Llama-github is an open-source Python library that empowers LLM Chatbots, AI Agents, and Auto-dev Agents to conduct Retrieval from actively selected GitHub public projects. It Augments through LLMs and Generates context for any coding question, in order to streamline the development of sophisticated AI-driven applications.
|
|
5
5
|
Home-page: https://github.com/JetXu-LLM/llama-github
|
|
6
6
|
Author: Jet Xu
|
|
@@ -133,6 +133,15 @@ All notable changes to this project will be documented in this file.
|
|
|
133
133
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
134
134
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
135
135
|
|
|
136
|
+
## [0.1.4] - 2024-10-14
|
|
137
|
+
|
|
138
|
+
### Improved
|
|
139
|
+
- Optimized `simple_mode`:
|
|
140
|
+
- Removed dependencies on `Torch` and `Transformers` libraries
|
|
141
|
+
- Reduced memory footprint
|
|
142
|
+
- Eliminated related imports
|
|
143
|
+
- Enhanced compatibility with AWS Lambda environment
|
|
144
|
+
|
|
136
145
|
## [0.1.3] - 2024-10-14
|
|
137
146
|
|
|
138
147
|
### Added
|
|
@@ -191,6 +200,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
191
200
|
- Basic functionality for retrieving context from GitHub repositories
|
|
192
201
|
- Integration with LLM for processing and generating responses
|
|
193
202
|
|
|
203
|
+
[0.1.4]: https://github.com/JetXu-LLM/llama-github/compare/v0.1.3...v0.1.4
|
|
194
204
|
[0.1.3]: https://github.com/JetXu-LLM/llama-github/compare/v0.1.2...v0.1.3
|
|
195
205
|
[0.1.2]: https://github.com/JetXu-LLM/llama-github/compare/v0.1.1...v0.1.2
|
|
196
206
|
[0.1.1]: https://github.com/JetXu-LLM/llama-github/compare/v0.1.0...v0.1.1
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[metadata]
|
|
2
2
|
name = llama-github
|
|
3
|
-
version = 0.1.
|
|
3
|
+
version = 0.1.4
|
|
4
4
|
author = Jet Xu
|
|
5
5
|
author_email = Voldemort.xu@foxmail.com
|
|
6
6
|
description = Llama-github is an open-source Python library that empowers LLM Chatbots, AI Agents, and Auto-dev Agents to conduct Retrieval from actively selected GitHub public projects. It Augments through LLMs and Generates context for any coding question, in order to streamline the development of sophisticated AI-driven applications.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '0.1.3'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{llama_github-0.1.3 → llama_github-0.1.4}/llama_github/github_integration/github_auth_manager.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|