llama-github 0.2.2__tar.gz → 0.2.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.2.2 → llama_github-0.2.4}/CHANGELOG.md +5 -0
- {llama_github-0.2.2/llama_github.egg-info → llama_github-0.2.4}/PKG-INFO +7 -2
- {llama_github-0.2.2 → llama_github-0.2.4}/README.md +1 -1
- {llama_github-0.2.2 → llama_github-0.2.4}/llama_github/data_retrieval/github_entities.py +75 -52
- {llama_github-0.2.2 → llama_github-0.2.4}/llama_github/llm_integration/initial_load.py +6 -2
- llama_github-0.2.4/llama_github/version.py +1 -0
- {llama_github-0.2.2 → llama_github-0.2.4/llama_github.egg-info}/PKG-INFO +7 -2
- {llama_github-0.2.2 → llama_github-0.2.4}/setup.cfg +1 -1
- llama_github-0.2.2/llama_github/version.py +0 -1
- {llama_github-0.2.2 → llama_github-0.2.4}/LICENSE +0 -0
- {llama_github-0.2.2 → llama_github-0.2.4}/MANIFEST.in +0 -0
- {llama_github-0.2.2 → llama_github-0.2.4}/llama_github/__init__.py +0 -0
- {llama_github-0.2.2 → llama_github-0.2.4}/llama_github/config/__init__.py +0 -0
- {llama_github-0.2.2 → llama_github-0.2.4}/llama_github/config/config.json +0 -0
- {llama_github-0.2.2 → llama_github-0.2.4}/llama_github/config/config.py +0 -0
- {llama_github-0.2.2 → llama_github-0.2.4}/llama_github/data_retrieval/__init__.py +0 -0
- {llama_github-0.2.2 → llama_github-0.2.4}/llama_github/data_retrieval/github_api.py +0 -0
- {llama_github-0.2.2 → llama_github-0.2.4}/llama_github/features/__init__.py +0 -0
- {llama_github-0.2.2 → llama_github-0.2.4}/llama_github/features/feature_flags.py +0 -0
- {llama_github-0.2.2 → llama_github-0.2.4}/llama_github/features/insider_features.py +0 -0
- {llama_github-0.2.2 → llama_github-0.2.4}/llama_github/github_integration/__init__.py +0 -0
- {llama_github-0.2.2 → llama_github-0.2.4}/llama_github/github_integration/github_auth_manager.py +0 -0
- {llama_github-0.2.2 → llama_github-0.2.4}/llama_github/github_rag.py +0 -0
- {llama_github-0.2.2 → llama_github-0.2.4}/llama_github/llm_integration/__init__.py +0 -0
- {llama_github-0.2.2 → llama_github-0.2.4}/llama_github/llm_integration/llm_handler.py +0 -0
- {llama_github-0.2.2 → llama_github-0.2.4}/llama_github/logger.py +0 -0
- {llama_github-0.2.2 → llama_github-0.2.4}/llama_github/rag_processing/__init__.py +0 -0
- {llama_github-0.2.2 → llama_github-0.2.4}/llama_github/rag_processing/rag_processor.py +0 -0
- {llama_github-0.2.2 → llama_github-0.2.4}/llama_github/utils.py +0 -0
- {llama_github-0.2.2 → llama_github-0.2.4}/llama_github.egg-info/SOURCES.txt +0 -0
- {llama_github-0.2.2 → llama_github-0.2.4}/llama_github.egg-info/dependency_links.txt +0 -0
- {llama_github-0.2.2 → llama_github-0.2.4}/llama_github.egg-info/requires.txt +0 -0
- {llama_github-0.2.2 → llama_github-0.2.4}/llama_github.egg-info/top_level.txt +0 -0
- {llama_github-0.2.2 → llama_github-0.2.4}/setup.py +0 -0
- {llama_github-0.2.2 → llama_github-0.2.4}/tests/test_data_retrieval.py +0 -0
- {llama_github-0.2.2 → llama_github-0.2.4}/tests/test_github_auth_manager.py +0 -0
- {llama_github-0.2.2 → llama_github-0.2.4}/tests/test_initial_load.py +0 -0
- {llama_github-0.2.2 → llama_github-0.2.4}/tests/test_llm_handler.py +0 -0
- {llama_github-0.2.2 → llama_github-0.2.4}/tests/test_logger.py +0 -0
- {llama_github-0.2.2 → llama_github-0.2.4}/tests/test_rag_processor.py +0 -0
|
@@ -5,6 +5,11 @@ 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.2.3] - 2024-11-24
|
|
9
|
+
|
|
10
|
+
### Optimized
|
|
11
|
+
- Upgrade to mistral-large-2411
|
|
12
|
+
|
|
8
13
|
## [0.2.2] - 2024-11-19
|
|
9
14
|
|
|
10
15
|
### Optimized
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: llama-github
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.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
|
|
@@ -40,7 +40,7 @@ Requires-Dist: flake8; extra == "dev"
|
|
|
40
40
|
[](https://pepy.tech/project/Llama-github)
|
|
41
41
|
[](https://opensource.org/licenses/Apache-2.0)
|
|
42
42
|
|
|
43
|
-
Llama-github is a powerful tool that helps you retrieve the most relevant code snippets, issues, and repository information from GitHub based on your queries, transforming them into valuable knowledge context. It empowers LLM Chatbots, AI Agents, and Auto-dev Agents to solve complex coding tasks. Whether you're a developer looking for quick solutions or an engineer implementing advanced Auto Dev AI Agents, llama-github makes it easy and efficient.
|
|
43
|
+
Llama-github is a powerful tool that helps you retrieve(based on Agentic RAG) the most relevant code snippets, issues, and repository information from GitHub based on your queries, transforming them into valuable knowledge context. It empowers LLM Chatbots, AI Agents, and Auto-dev Agents to solve complex coding tasks. Whether you're a developer looking for quick solutions or an engineer implementing advanced Auto Dev AI Agents, llama-github makes it easy and efficient.
|
|
44
44
|
|
|
45
45
|
If you like this project or believe it has potential, please give it a ⭐️. Your support is our greatest motivation!
|
|
46
46
|
|
|
@@ -156,6 +156,11 @@ All notable changes to this project will be documented in this file.
|
|
|
156
156
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
157
157
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
158
158
|
|
|
159
|
+
## [0.2.3] - 2024-11-24
|
|
160
|
+
|
|
161
|
+
### Optimized
|
|
162
|
+
- Upgrade to mistral-large-2411
|
|
163
|
+
|
|
159
164
|
## [0.2.2] - 2024-11-19
|
|
160
165
|
|
|
161
166
|
### Optimized
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
[](https://pepy.tech/project/Llama-github)
|
|
5
5
|
[](https://opensource.org/licenses/Apache-2.0)
|
|
6
6
|
|
|
7
|
-
Llama-github is a powerful tool that helps you retrieve the most relevant code snippets, issues, and repository information from GitHub based on your queries, transforming them into valuable knowledge context. It empowers LLM Chatbots, AI Agents, and Auto-dev Agents to solve complex coding tasks. Whether you're a developer looking for quick solutions or an engineer implementing advanced Auto Dev AI Agents, llama-github makes it easy and efficient.
|
|
7
|
+
Llama-github is a powerful tool that helps you retrieve(based on Agentic RAG) the most relevant code snippets, issues, and repository information from GitHub based on your queries, transforming them into valuable knowledge context. It empowers LLM Chatbots, AI Agents, and Auto-dev Agents to solve complex coding tasks. Whether you're a developer looking for quick solutions or an engineer implementing advanced Auto Dev AI Agents, llama-github makes it easy and efficient.
|
|
8
8
|
|
|
9
9
|
If you like this project or believe it has potential, please give it a ⭐️. Your support is our greatest motivation!
|
|
10
10
|
|
|
@@ -161,52 +161,54 @@ class Repository:
|
|
|
161
161
|
|
|
162
162
|
# Skip files that don't need processing
|
|
163
163
|
if any(file_path.endswith(ext) for ext in [
|
|
164
|
-
#
|
|
165
|
-
'.
|
|
166
|
-
'poetry.lock', 'Cargo.lock', 'composer.lock',
|
|
167
|
-
'.pyc', '.pyo', 'requirements.txt', '.gitignore',
|
|
168
|
-
|
|
169
|
-
# Binaries and compiled files
|
|
170
|
-
'.exe', '.dll', '.so', '.dylib', '.bin', '.obj', '.o', '.a',
|
|
164
|
+
# Binary and Compiled Files
|
|
165
|
+
'.exe', '.dll', '.so', '.dylib', '.bin', '.obj', '.o', '.a',
|
|
171
166
|
'.lib', '.jar', '.war', '.ear', '.class', '.pdb', '.ilk', '.exp',
|
|
172
|
-
'.apk', '.aab', '.ipa',
|
|
173
|
-
'.wasm', # WebAssembly
|
|
167
|
+
'.apk', '.aab', '.ipa', '.wasm',
|
|
174
168
|
|
|
175
|
-
# Media
|
|
169
|
+
# Media Files
|
|
176
170
|
'.png', '.jpg', '.jpeg', '.gif', '.ico', '.bmp', '.tiff', '.webp',
|
|
177
171
|
'.svg', '.eps', '.psd', '.ai', '.sketch',
|
|
178
172
|
'.mp3', '.mp4', '.wav', '.flac', '.ogg', '.m4a',
|
|
179
173
|
'.avi', '.mov', '.mkv', '.webm', '.wmv', '.flv',
|
|
180
|
-
'.
|
|
174
|
+
'.ttf', '.otf', '.eot', '.woff', '.woff2',
|
|
175
|
+
|
|
176
|
+
# Compressed and Binary Data
|
|
181
177
|
'.zip', '.rar', '.7z', '.tar', '.gz', '.bz2', '.xz', '.tgz',
|
|
178
|
+
'.pkl', '.pickle',
|
|
179
|
+
'.npy', '.npz',
|
|
180
|
+
'.h5', '.hdf5',
|
|
182
181
|
|
|
183
|
-
#
|
|
184
|
-
'.
|
|
185
|
-
'.
|
|
182
|
+
# Lock Files and Dependencies
|
|
183
|
+
'.lock', 'package-lock.json', 'yarn.lock', 'pnpm-lock.yaml',
|
|
184
|
+
'Gemfile.lock', 'poetry.lock', 'Cargo.lock', 'composer.lock',
|
|
186
185
|
|
|
187
|
-
#
|
|
188
|
-
'.
|
|
189
|
-
'.ttf', '.otf', '.eot', '.woff', '.woff2', # Fonts
|
|
186
|
+
# Compiled Python
|
|
187
|
+
'.pyc', '.pyo',
|
|
190
188
|
|
|
191
|
-
#
|
|
192
|
-
'.
|
|
193
|
-
'.sqlite', '.db', '.mdb', '.sql',
|
|
194
|
-
'.pb', '.pbtxt', # Protocol buffers
|
|
195
|
-
'.ipynb', # Jupyter notebooks
|
|
196
|
-
'.pkl', '.pickle', # Python serialized objects
|
|
197
|
-
'.tfrecords', '.tf', # TensorFlow files
|
|
198
|
-
'.onnx', # ONNX models
|
|
199
|
-
'.h5', '.hdf5', # HDF5 files
|
|
200
|
-
'.npy', '.npz', # NumPy files
|
|
189
|
+
# System and Hidden Files
|
|
190
|
+
'.DS_Store', 'Thumbs.db',
|
|
201
191
|
|
|
202
|
-
#
|
|
192
|
+
# Generated Code Files
|
|
193
|
+
'.g.dart', '.freezed.dart',
|
|
194
|
+
'.pb.go',
|
|
195
|
+
'_pb2.py', '_pb2_grpc.py',
|
|
196
|
+
'.generated.ts', '.generated.tsx',
|
|
197
|
+
'.proto.ts', '.proto.js',
|
|
203
198
|
'.min.js', '.min.css',
|
|
204
199
|
'.bundle.js', '.bundle.css',
|
|
205
|
-
'.chunk.js', '.chunk.css'
|
|
200
|
+
'.chunk.js', '.chunk.css',
|
|
201
|
+
|
|
202
|
+
# IDE Generated
|
|
203
|
+
'.pbxproj', '.xcworkspacedata',
|
|
204
|
+
'.csproj.user', '.suo',
|
|
205
|
+
'.iml', '.ipr', '.iws',
|
|
206
|
+
|
|
207
|
+
# Map Files
|
|
208
|
+
'.map', '.js.map', '.css.map'
|
|
206
209
|
|
|
207
210
|
]) or any(pattern in file_path for pattern in [
|
|
208
|
-
#
|
|
209
|
-
'/node_modules/',
|
|
211
|
+
# Cache and Temporary Directories
|
|
210
212
|
'/__pycache__/',
|
|
211
213
|
'/.git/',
|
|
212
214
|
'/.idea/',
|
|
@@ -214,31 +216,52 @@ class Repository:
|
|
|
214
216
|
'/.vs/',
|
|
215
217
|
'/.svn/',
|
|
216
218
|
'/.hg/',
|
|
217
|
-
'/dist/',
|
|
218
|
-
'/build/',
|
|
219
|
-
'/target/',
|
|
220
|
-
'/out/',
|
|
221
|
-
'/bin/',
|
|
222
|
-
'/obj/',
|
|
223
|
-
'/Debug/',
|
|
224
|
-
'/Release/',
|
|
225
|
-
'/.next/',
|
|
226
|
-
'/.nuxt/',
|
|
227
|
-
'/vendor/',
|
|
228
|
-
'/venv/',
|
|
229
|
-
'/.env',
|
|
230
|
-
'/coverage/',
|
|
231
|
-
'/logs/',
|
|
232
|
-
'/.github/',
|
|
233
|
-
'/assets/',
|
|
234
|
-
'/public/assets/',
|
|
235
|
-
'/static/assets/',
|
|
236
|
-
'/.pytest_cache/',
|
|
237
219
|
'/.sass-cache/',
|
|
238
220
|
'/.parcel-cache/',
|
|
239
221
|
'/.cache/',
|
|
240
222
|
'/tmp/',
|
|
241
|
-
'/temp/'
|
|
223
|
+
'/temp/',
|
|
224
|
+
|
|
225
|
+
# Package Manager Directories
|
|
226
|
+
'/node_modules/',
|
|
227
|
+
'/bower_components/',
|
|
228
|
+
|
|
229
|
+
# Test Coverage and Reports
|
|
230
|
+
'/coverage/',
|
|
231
|
+
'/.nyc_output/',
|
|
232
|
+
'/.pytest_cache/',
|
|
233
|
+
'/.tox/',
|
|
234
|
+
|
|
235
|
+
# Environment and Runtime
|
|
236
|
+
'/venv/',
|
|
237
|
+
'/.env/',
|
|
238
|
+
'/.virtualenv/',
|
|
239
|
+
|
|
240
|
+
# Framework Generated
|
|
241
|
+
'/.dart_tool/',
|
|
242
|
+
'/.pub-cache/',
|
|
243
|
+
'/.angular/',
|
|
244
|
+
'/.nuxt/',
|
|
245
|
+
'/.next/',
|
|
246
|
+
'/.ipynb_checkpoints/',
|
|
247
|
+
|
|
248
|
+
# CI/CD
|
|
249
|
+
'/.github/workflows/',
|
|
250
|
+
'/.gitlab/ci/',
|
|
251
|
+
'/.circleci/',
|
|
252
|
+
|
|
253
|
+
# Logs
|
|
254
|
+
'/logs/',
|
|
255
|
+
'/log/',
|
|
256
|
+
|
|
257
|
+
# Binary Assets
|
|
258
|
+
'/assets/images/',
|
|
259
|
+
'/assets/fonts/',
|
|
260
|
+
'/assets/media/',
|
|
261
|
+
'/public/images/',
|
|
262
|
+
'/public/fonts/',
|
|
263
|
+
'/static/images/',
|
|
264
|
+
'/static/fonts/'
|
|
242
265
|
]):
|
|
243
266
|
logger.debug(f"Skipping non-processable file: {file_path}")
|
|
244
267
|
return None
|
|
@@ -68,8 +68,12 @@ class LLMManager:
|
|
|
68
68
|
self.model_type = "Custom_langchain_llm"
|
|
69
69
|
elif mistral_api_key is not None and mistral_api_key != "" and self.llm is None:
|
|
70
70
|
logger.info("Initializing Mistral API...")
|
|
71
|
-
self.llm = ChatMistralAI(mistral_api_key=mistral_api_key, model="mistral-large-
|
|
72
|
-
self.llm_simple = ChatMistralAI(
|
|
71
|
+
self.llm = ChatMistralAI(mistral_api_key=mistral_api_key, model="mistral-large-2411")
|
|
72
|
+
self.llm_simple = ChatMistralAI(
|
|
73
|
+
mistral_api_key=mistral_api_key,
|
|
74
|
+
model="open-mistral-nemo",
|
|
75
|
+
temperature=0.2
|
|
76
|
+
)
|
|
73
77
|
self.model_type = "OpenAI"
|
|
74
78
|
elif openai_api_key is not None and openai_api_key != "" and self.llm is None:
|
|
75
79
|
logger.info("Initializing OpenAI API...")
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '0.2.4'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: llama-github
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.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
|
|
@@ -40,7 +40,7 @@ Requires-Dist: flake8; extra == "dev"
|
|
|
40
40
|
[](https://pepy.tech/project/Llama-github)
|
|
41
41
|
[](https://opensource.org/licenses/Apache-2.0)
|
|
42
42
|
|
|
43
|
-
Llama-github is a powerful tool that helps you retrieve the most relevant code snippets, issues, and repository information from GitHub based on your queries, transforming them into valuable knowledge context. It empowers LLM Chatbots, AI Agents, and Auto-dev Agents to solve complex coding tasks. Whether you're a developer looking for quick solutions or an engineer implementing advanced Auto Dev AI Agents, llama-github makes it easy and efficient.
|
|
43
|
+
Llama-github is a powerful tool that helps you retrieve(based on Agentic RAG) the most relevant code snippets, issues, and repository information from GitHub based on your queries, transforming them into valuable knowledge context. It empowers LLM Chatbots, AI Agents, and Auto-dev Agents to solve complex coding tasks. Whether you're a developer looking for quick solutions or an engineer implementing advanced Auto Dev AI Agents, llama-github makes it easy and efficient.
|
|
44
44
|
|
|
45
45
|
If you like this project or believe it has potential, please give it a ⭐️. Your support is our greatest motivation!
|
|
46
46
|
|
|
@@ -156,6 +156,11 @@ All notable changes to this project will be documented in this file.
|
|
|
156
156
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
157
157
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
158
158
|
|
|
159
|
+
## [0.2.3] - 2024-11-24
|
|
160
|
+
|
|
161
|
+
### Optimized
|
|
162
|
+
- Upgrade to mistral-large-2411
|
|
163
|
+
|
|
159
164
|
## [0.2.2] - 2024-11-19
|
|
160
165
|
|
|
161
166
|
### Optimized
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[metadata]
|
|
2
2
|
name = llama-github
|
|
3
|
-
version = 0.2.
|
|
3
|
+
version = 0.2.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.2.2'
|
|
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.2.2 → llama_github-0.2.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
|