pirag 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.
- {pirag-0.1.0 → pirag-0.1.1}/PKG-INFO +1 -1
- pirag-0.1.1/app/rag/ask/__init__.py +2 -0
- pirag-0.1.1/app/rag/ask/config.py +9 -0
- pirag-0.1.1/app/rag/ask/router.py +4 -0
- pirag-0.1.1/app/rag/ask/service.py +0 -0
- pirag-0.1.1/app/rag/doctor/__init__.py +2 -0
- pirag-0.1.1/app/rag/doctor/config.py +20 -0
- pirag-0.1.1/app/rag/doctor/router.py +4 -0
- pirag-0.1.1/app/rag/doctor/service.py +0 -0
- pirag-0.1.1/app/rag/test/__init__.py +2 -0
- pirag-0.1.1/app/rag/test/config.py +9 -0
- pirag-0.1.1/app/rag/test/router.py +15 -0
- pirag-0.1.1/app/rag/test/service.py +9 -0
- pirag-0.1.1/app/rag/train/__init__.py +2 -0
- pirag-0.1.1/app/rag/train/config.py +20 -0
- pirag-0.1.1/app/rag/train/router.py +4 -0
- pirag-0.1.1/app/rag/train/service.py +0 -0
- {pirag-0.1.0 → pirag-0.1.1}/app/setup.py +1 -2
- {pirag-0.1.0 → pirag-0.1.1}/pirag.egg-info/PKG-INFO +1 -1
- pirag-0.1.1/pirag.egg-info/SOURCES.txt +30 -0
- pirag-0.1.1/pirag.egg-info/top_level.txt +4 -0
- {pirag-0.1.0 → pirag-0.1.1}/pyproject.toml +3 -6
- pirag-0.1.0/pirag.egg-info/SOURCES.txt +0 -14
- pirag-0.1.0/pirag.egg-info/top_level.txt +0 -1
- {pirag-0.1.0 → pirag-0.1.1}/LICENSE +0 -0
- {pirag-0.1.0 → pirag-0.1.1}/README.md +0 -0
- {pirag-0.1.0 → pirag-0.1.1}/app/main.py +0 -0
- {pirag-0.1.0 → pirag-0.1.1}/app/rag/agent.py +0 -0
- {pirag-0.1.0 → pirag-0.1.1}/app/rag/config.py +0 -0
- {pirag-0.1.0 → pirag-0.1.1}/app/requirements.txt +0 -0
- {pirag-0.1.0 → pirag-0.1.1}/pirag.egg-info/dependency_links.txt +0 -0
- {pirag-0.1.0 → pirag-0.1.1}/pirag.egg-info/entry_points.txt +0 -0
- {pirag-0.1.0 → pirag-0.1.1}/pirag.egg-info/requires.txt +0 -0
- {pirag-0.1.0 → pirag-0.1.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: pirag
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.1
|
4
4
|
Summary: CLI Projects of On-Premise RAG. You can use your own LLM and vector DB. Or just add remote LLM servers and vector DB.
|
5
5
|
Author-email: semir4in <semir4in@gmail.com>, jyje <jyjeon@outlook.com>
|
6
6
|
Project-URL: Homepage, https://github.com/jyje/pilot-onpremise-rag
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import argparse
|
2
|
+
|
3
|
+
help = "Ask a question to the RAG system."
|
4
|
+
|
5
|
+
parser = argparse.ArgumentParser(
|
6
|
+
description = f"{help} Queries the knowledge base with natural language questions, retrieves relevant context, and generates accurate, contextually-aware responses based on the retrieved information",
|
7
|
+
add_help = False,
|
8
|
+
formatter_class = argparse.ArgumentDefaultsHelpFormatter,
|
9
|
+
)
|
File without changes
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import argparse
|
2
|
+
|
3
|
+
help = "Diagnose the RAG system."
|
4
|
+
|
5
|
+
parser = argparse.ArgumentParser(
|
6
|
+
description = f"{help} Performs comprehensive health checks on all components, validates configurations, and reports issues to ensure optimal system operation",
|
7
|
+
add_help = False,
|
8
|
+
formatter_class = argparse.ArgumentDefaultsHelpFormatter,
|
9
|
+
)
|
10
|
+
|
11
|
+
subparsers = parser.add_subparsers(
|
12
|
+
title = "subcommands",
|
13
|
+
dest = "subcommand",
|
14
|
+
)
|
15
|
+
|
16
|
+
subparsers.add_parser(
|
17
|
+
"check",
|
18
|
+
help = "Check RAG System. Scan all components of the system and diagnose status",
|
19
|
+
description = "Check RAG System. Scan all components of the system and diagnose status",
|
20
|
+
)
|
File without changes
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import argparse
|
2
|
+
|
3
|
+
help = "Test the RAG system."
|
4
|
+
|
5
|
+
parser = argparse.ArgumentParser(
|
6
|
+
description = f"{help} Evaluates system performance by running predefined test cases, measuring accuracy, relevance, and latency metrics to validate retrieval and generation capabilities",
|
7
|
+
add_help = False,
|
8
|
+
formatter_class = argparse.ArgumentDefaultsHelpFormatter,
|
9
|
+
)
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import argparse
|
2
|
+
|
3
|
+
help = "Train the RAG system."
|
4
|
+
|
5
|
+
parser = argparse.ArgumentParser(
|
6
|
+
description = f"{help} Processes documents, extracts knowledge, generates embeddings, and builds a searchable vector database for efficient semantic retrieval and contextual responses",
|
7
|
+
add_help = False,
|
8
|
+
formatter_class = argparse.ArgumentDefaultsHelpFormatter,
|
9
|
+
)
|
10
|
+
|
11
|
+
subparsers = parser.add_subparsers(
|
12
|
+
title = "subcommands",
|
13
|
+
dest = "subcommand",
|
14
|
+
)
|
15
|
+
|
16
|
+
subparsers.add_parser(
|
17
|
+
"check",
|
18
|
+
help = "Check RAG System. Scan all components of the system and diagnose status",
|
19
|
+
description = "Check RAG System. Scan all components of the system and diagnose status",
|
20
|
+
)
|
File without changes
|
@@ -16,8 +16,7 @@ APP_NAME = "pirag"
|
|
16
16
|
setup(
|
17
17
|
name = APP_NAME,
|
18
18
|
version = version,
|
19
|
-
packages =
|
20
|
-
package_dir = {"": ".", "rag": "rag"},
|
19
|
+
packages = find_packages(),
|
21
20
|
include_package_data = True,
|
22
21
|
install_requires = requirements,
|
23
22
|
entry_points = {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: pirag
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.1
|
4
4
|
Summary: CLI Projects of On-Premise RAG. You can use your own LLM and vector DB. Or just add remote LLM servers and vector DB.
|
5
5
|
Author-email: semir4in <semir4in@gmail.com>, jyje <jyjeon@outlook.com>
|
6
6
|
Project-URL: Homepage, https://github.com/jyje/pilot-onpremise-rag
|
@@ -0,0 +1,30 @@
|
|
1
|
+
LICENSE
|
2
|
+
README.md
|
3
|
+
pyproject.toml
|
4
|
+
app/main.py
|
5
|
+
app/requirements.txt
|
6
|
+
app/setup.py
|
7
|
+
app/rag/agent.py
|
8
|
+
app/rag/config.py
|
9
|
+
app/rag/ask/__init__.py
|
10
|
+
app/rag/ask/config.py
|
11
|
+
app/rag/ask/router.py
|
12
|
+
app/rag/ask/service.py
|
13
|
+
app/rag/doctor/__init__.py
|
14
|
+
app/rag/doctor/config.py
|
15
|
+
app/rag/doctor/router.py
|
16
|
+
app/rag/doctor/service.py
|
17
|
+
app/rag/test/__init__.py
|
18
|
+
app/rag/test/config.py
|
19
|
+
app/rag/test/router.py
|
20
|
+
app/rag/test/service.py
|
21
|
+
app/rag/train/__init__.py
|
22
|
+
app/rag/train/config.py
|
23
|
+
app/rag/train/router.py
|
24
|
+
app/rag/train/service.py
|
25
|
+
pirag.egg-info/PKG-INFO
|
26
|
+
pirag.egg-info/SOURCES.txt
|
27
|
+
pirag.egg-info/dependency_links.txt
|
28
|
+
pirag.egg-info/entry_points.txt
|
29
|
+
pirag.egg-info/requires.txt
|
30
|
+
pirag.egg-info/top_level.txt
|
@@ -1,6 +1,6 @@
|
|
1
1
|
[project]
|
2
2
|
name = "pirag"
|
3
|
-
version = "0.1.
|
3
|
+
version = "0.1.1"
|
4
4
|
description = "CLI Projects of On-Premise RAG. You can use your own LLM and vector DB. Or just add remote LLM servers and vector DB."
|
5
5
|
authors = [
|
6
6
|
{ name="semir4in", email="semir4in@gmail.com" },
|
@@ -29,11 +29,8 @@ requires = [
|
|
29
29
|
build-backend = "setuptools.build_meta"
|
30
30
|
|
31
31
|
[tool.setuptools]
|
32
|
-
packages =
|
33
|
-
|
34
|
-
[tool.setuptools.package-dir]
|
35
|
-
app = "app"
|
36
|
-
"app.rag" = "app/rag"
|
32
|
+
packages = {find = {namespaces = true}}
|
33
|
+
include-package-data = true
|
37
34
|
|
38
35
|
[tool.setuptools.dynamic]
|
39
36
|
dependencies = {file = ["app/requirements.txt"]}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
LICENSE
|
2
|
-
README.md
|
3
|
-
pyproject.toml
|
4
|
-
app/main.py
|
5
|
-
app/requirements.txt
|
6
|
-
app/setup.py
|
7
|
-
app/rag/agent.py
|
8
|
-
app/rag/config.py
|
9
|
-
pirag.egg-info/PKG-INFO
|
10
|
-
pirag.egg-info/SOURCES.txt
|
11
|
-
pirag.egg-info/dependency_links.txt
|
12
|
-
pirag.egg-info/entry_points.txt
|
13
|
-
pirag.egg-info/requires.txt
|
14
|
-
pirag.egg-info/top_level.txt
|
@@ -1 +0,0 @@
|
|
1
|
-
app
|
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
|