lrag 0.1.0__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.
- lrag-0.1.0/LICENSE +22 -0
- lrag-0.1.0/MANIFEST.in +5 -0
- lrag-0.1.0/PKG-INFO +21 -0
- lrag-0.1.0/README.md +28 -0
- lrag-0.1.0/lrag.egg-info/PKG-INFO +21 -0
- lrag-0.1.0/lrag.egg-info/SOURCES.txt +11 -0
- lrag-0.1.0/lrag.egg-info/dependency_links.txt +1 -0
- lrag-0.1.0/lrag.egg-info/requires.txt +1 -0
- lrag-0.1.0/lrag.egg-info/top_level.txt +1 -0
- lrag-0.1.0/requirements.txt +1 -0
- lrag-0.1.0/setup.cfg +4 -0
- lrag-0.1.0/setup.py +28 -0
- lrag-0.1.0/version +1 -0
lrag-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024- ABrain One and contributors
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
SOFTWARE.
|
lrag-0.1.0/MANIFEST.in
ADDED
lrag-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: lrag
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Neural Retrieval-Augmented Generation for GitHub Search
|
|
5
|
+
Home-page: https://github.com/ABrain-One/lrag
|
|
6
|
+
Author: ABrain One and contributors
|
|
7
|
+
Author-email: AI@ABrain.one
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Requires-Python: >=3.6
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Requires-Dist: nn-rag==0.1.0
|
|
14
|
+
Dynamic: author
|
|
15
|
+
Dynamic: author-email
|
|
16
|
+
Dynamic: classifier
|
|
17
|
+
Dynamic: home-page
|
|
18
|
+
Dynamic: license-file
|
|
19
|
+
Dynamic: requires-dist
|
|
20
|
+
Dynamic: requires-python
|
|
21
|
+
Dynamic: summary
|
lrag-0.1.0/README.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# <img src='https://abrain.one/img/lemur-nn-icon-64x64.png' width='32px'/> LLM Retrieval Augmented Generation
|
|
2
|
+
|
|
3
|
+
# nn-rag
|
|
4
|
+
|
|
5
|
+
A minimal Retrieval-Augmented Generation (RAG) pipeline for code and dataset details.
|
|
6
|
+
This project aims to provide LLMs with additional context from the internet or local repos,
|
|
7
|
+
then optionally fine-tune the LLM for specific tasks.
|
|
8
|
+
|
|
9
|
+
## Requirements
|
|
10
|
+
|
|
11
|
+
- **Python** 3.8+ recommended
|
|
12
|
+
- **Pip** or **Conda** for installing dependencies
|
|
13
|
+
- (Optional) **GPU** with CUDA if you plan to use `faiss-gpu` or do large-scale training
|
|
14
|
+
|
|
15
|
+
### Installing Dependencies
|
|
16
|
+
|
|
17
|
+
1. Create and activate a virtual environment (recommended):
|
|
18
|
+
```bash
|
|
19
|
+
python -m venv venv
|
|
20
|
+
source venv/bin/activate # Linux/Mac
|
|
21
|
+
venv\Scripts\activate # Windows
|
|
22
|
+
|
|
23
|
+
2. ### Latest Development Version
|
|
24
|
+
|
|
25
|
+
Install the latest version directly from GitHub:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
pip install git+https://github.com/ABrain-One/nn-rag --upgrade
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: lrag
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Neural Retrieval-Augmented Generation for GitHub Search
|
|
5
|
+
Home-page: https://github.com/ABrain-One/lrag
|
|
6
|
+
Author: ABrain One and contributors
|
|
7
|
+
Author-email: AI@ABrain.one
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Requires-Python: >=3.6
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Requires-Dist: nn-rag==0.1.0
|
|
14
|
+
Dynamic: author
|
|
15
|
+
Dynamic: author-email
|
|
16
|
+
Dynamic: classifier
|
|
17
|
+
Dynamic: home-page
|
|
18
|
+
Dynamic: license-file
|
|
19
|
+
Dynamic: requires-dist
|
|
20
|
+
Dynamic: requires-python
|
|
21
|
+
Dynamic: summary
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
nn-rag==0.1.0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
nn-rag==0.1.0
|
lrag-0.1.0/setup.cfg
ADDED
lrag-0.1.0/setup.py
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
from setuptools import setup, find_packages
|
|
2
|
+
from pathlib import Path
|
|
3
|
+
|
|
4
|
+
# Read the dependencies from requirements.txt
|
|
5
|
+
with open("requirements.txt") as f:
|
|
6
|
+
required = f.read().splitlines()
|
|
7
|
+
|
|
8
|
+
def version():
|
|
9
|
+
with open(Path(__file__).parent / 'version', 'r') as file:
|
|
10
|
+
v = file.readline()
|
|
11
|
+
return v
|
|
12
|
+
|
|
13
|
+
setup(
|
|
14
|
+
name="lrag",
|
|
15
|
+
version=version(),
|
|
16
|
+
description="Neural Retrieval-Augmented Generation for GitHub Search",
|
|
17
|
+
author="ABrain One and contributors",
|
|
18
|
+
author_email="AI@ABrain.one",
|
|
19
|
+
url="https://github.com/ABrain-One/lrag",
|
|
20
|
+
packages=find_packages(),
|
|
21
|
+
install_requires=required,
|
|
22
|
+
classifiers=[
|
|
23
|
+
"Programming Language :: Python :: 3",
|
|
24
|
+
"License :: OSI Approved :: MIT License",
|
|
25
|
+
"Operating System :: OS Independent",
|
|
26
|
+
],
|
|
27
|
+
python_requires=">=3.6",
|
|
28
|
+
)
|
lrag-0.1.0/version
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.1.0
|