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.
Files changed (40) hide show
  1. {llama_github-0.1.3 → llama_github-0.1.4}/CHANGELOG.md +10 -0
  2. {llama_github-0.1.3/llama_github.egg-info → llama_github-0.1.4}/PKG-INFO +11 -1
  3. {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/llm_integration/initial_load.py +4 -6
  4. llama_github-0.1.4/llama_github/version.py +1 -0
  5. {llama_github-0.1.3 → llama_github-0.1.4/llama_github.egg-info}/PKG-INFO +11 -1
  6. {llama_github-0.1.3 → llama_github-0.1.4}/setup.cfg +1 -1
  7. llama_github-0.1.3/llama_github/version.py +0 -1
  8. {llama_github-0.1.3 → llama_github-0.1.4}/LICENSE +0 -0
  9. {llama_github-0.1.3 → llama_github-0.1.4}/MANIFEST.in +0 -0
  10. {llama_github-0.1.3 → llama_github-0.1.4}/README.md +0 -0
  11. {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/__init__.py +0 -0
  12. {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/config/__init__.py +0 -0
  13. {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/config/config.json +0 -0
  14. {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/config/config.py +0 -0
  15. {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/data_retrieval/__init__.py +0 -0
  16. {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/data_retrieval/github_api.py +0 -0
  17. {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/data_retrieval/github_entities.py +0 -0
  18. {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/features/__init__.py +0 -0
  19. {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/features/feature_flags.py +0 -0
  20. {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/features/insider_features.py +0 -0
  21. {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/github_integration/__init__.py +0 -0
  22. {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/github_integration/github_auth_manager.py +0 -0
  23. {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/github_rag.py +0 -0
  24. {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/llm_integration/__init__.py +0 -0
  25. {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/llm_integration/llm_handler.py +0 -0
  26. {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/logger.py +0 -0
  27. {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/rag_processing/__init__.py +0 -0
  28. {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/rag_processing/rag_processor.py +0 -0
  29. {llama_github-0.1.3 → llama_github-0.1.4}/llama_github/utils.py +0 -0
  30. {llama_github-0.1.3 → llama_github-0.1.4}/llama_github.egg-info/SOURCES.txt +0 -0
  31. {llama_github-0.1.3 → llama_github-0.1.4}/llama_github.egg-info/dependency_links.txt +0 -0
  32. {llama_github-0.1.3 → llama_github-0.1.4}/llama_github.egg-info/requires.txt +0 -0
  33. {llama_github-0.1.3 → llama_github-0.1.4}/llama_github.egg-info/top_level.txt +0 -0
  34. {llama_github-0.1.3 → llama_github-0.1.4}/setup.py +0 -0
  35. {llama_github-0.1.3 → llama_github-0.1.4}/tests/test_data_retrieval.py +0 -0
  36. {llama_github-0.1.3 → llama_github-0.1.4}/tests/test_github_auth_manager.py +0 -0
  37. {llama_github-0.1.3 → llama_github-0.1.4}/tests/test_initial_load.py +0 -0
  38. {llama_github-0.1.3 → llama_github-0.1.4}/tests/test_llm_handler.py +0 -0
  39. {llama_github-0.1.3 → llama_github-0.1.4}/tests/test_logger.py +0 -0
  40. {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
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
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
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