pirag 0.1.2__tar.gz → 0.1.5__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 (34) hide show
  1. {pirag-0.1.2 → pirag-0.1.5}/PKG-INFO +2 -1
  2. {pirag-0.1.2 → pirag-0.1.5}/README.md +1 -0
  3. {pirag-0.1.2/app/rag/doctor → pirag-0.1.5/app/rag/test}/router.py +0 -3
  4. pirag-0.1.5/app/rag/train/router.py +4 -0
  5. pirag-0.1.5/app/rag/train/service.py +0 -0
  6. {pirag-0.1.2 → pirag-0.1.5}/pirag.egg-info/PKG-INFO +2 -1
  7. {pirag-0.1.2 → pirag-0.1.5}/pyproject.toml +1 -1
  8. pirag-0.1.2/app/rag/test/router.py +0 -15
  9. pirag-0.1.2/app/rag/test/service.py +0 -9
  10. {pirag-0.1.2 → pirag-0.1.5}/LICENSE +0 -0
  11. {pirag-0.1.2 → pirag-0.1.5}/app/main.py +0 -0
  12. {pirag-0.1.2 → pirag-0.1.5}/app/rag/agent.py +0 -0
  13. {pirag-0.1.2 → pirag-0.1.5}/app/rag/ask/__init__.py +0 -0
  14. {pirag-0.1.2 → pirag-0.1.5}/app/rag/ask/config.py +0 -0
  15. {pirag-0.1.2 → pirag-0.1.5}/app/rag/ask/router.py +0 -0
  16. {pirag-0.1.2 → pirag-0.1.5}/app/rag/ask/service.py +0 -0
  17. {pirag-0.1.2 → pirag-0.1.5}/app/rag/config.py +0 -0
  18. {pirag-0.1.2 → pirag-0.1.5}/app/rag/doctor/__init__.py +0 -0
  19. {pirag-0.1.2 → pirag-0.1.5}/app/rag/doctor/config.py +0 -0
  20. {pirag-0.1.2/app/rag/train → pirag-0.1.5/app/rag/doctor}/router.py +0 -0
  21. {pirag-0.1.2 → pirag-0.1.5}/app/rag/doctor/service.py +0 -0
  22. {pirag-0.1.2 → pirag-0.1.5}/app/rag/test/__init__.py +0 -0
  23. {pirag-0.1.2 → pirag-0.1.5}/app/rag/test/config.py +0 -0
  24. {pirag-0.1.2/app/rag/train → pirag-0.1.5/app/rag/test}/service.py +0 -0
  25. {pirag-0.1.2 → pirag-0.1.5}/app/rag/train/__init__.py +0 -0
  26. {pirag-0.1.2 → pirag-0.1.5}/app/rag/train/config.py +0 -0
  27. {pirag-0.1.2 → pirag-0.1.5}/app/requirements.txt +0 -0
  28. {pirag-0.1.2 → pirag-0.1.5}/app/setup.py +0 -0
  29. {pirag-0.1.2 → pirag-0.1.5}/pirag.egg-info/SOURCES.txt +0 -0
  30. {pirag-0.1.2 → pirag-0.1.5}/pirag.egg-info/dependency_links.txt +0 -0
  31. {pirag-0.1.2 → pirag-0.1.5}/pirag.egg-info/entry_points.txt +0 -0
  32. {pirag-0.1.2 → pirag-0.1.5}/pirag.egg-info/requires.txt +0 -0
  33. {pirag-0.1.2 → pirag-0.1.5}/pirag.egg-info/top_level.txt +0 -0
  34. {pirag-0.1.2 → pirag-0.1.5}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pirag
3
- Version: 0.1.2
3
+ Version: 0.1.5
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
@@ -31,6 +31,7 @@ Dynamic: license-file
31
31
  [![LangChain](https://img.shields.io/badge/LangChain-blue?style=flat&logo=Langchain&logoColor=white)](https://langchain.com)
32
32
  [![Milvus](https://img.shields.io/badge/Milvus-red?style=flat&logo=Milvus&logoColor=white)](https://milvus.io/)
33
33
  [![MinIO](https://img.shields.io/badge/MinIO-red?style=flat&logo=MinIO&logoColor=white)](https://min.io/)
34
+ [![Build Status](https://github.com/jyje/pilot-onpremise-rag/actions/workflows/build-and-publish.yml/badge.svg)](https://github.com/jyje/pilot-onpremise-rag/actions/workflows/build-and-publish.yml)
34
35
  <!-- [![Docker](https://img.shields.io/badge/Docker-blue?style=flat&logo=Docker&logoColor=white)](https://docker.com) -->
35
36
 
36
37
  </div>
@@ -12,6 +12,7 @@
12
12
  [![LangChain](https://img.shields.io/badge/LangChain-blue?style=flat&logo=Langchain&logoColor=white)](https://langchain.com)
13
13
  [![Milvus](https://img.shields.io/badge/Milvus-red?style=flat&logo=Milvus&logoColor=white)](https://milvus.io/)
14
14
  [![MinIO](https://img.shields.io/badge/MinIO-red?style=flat&logo=MinIO&logoColor=white)](https://min.io/)
15
+ [![Build Status](https://github.com/jyje/pilot-onpremise-rag/actions/workflows/build-and-publish.yml/badge.svg)](https://github.com/jyje/pilot-onpremise-rag/actions/workflows/build-and-publish.yml)
15
16
  <!-- [![Docker](https://img.shields.io/badge/Docker-blue?style=flat&logo=Docker&logoColor=white)](https://docker.com) -->
16
17
 
17
18
  </div>
@@ -1,7 +1,4 @@
1
1
  from argparse import Namespace
2
- from loguru import logger
3
2
 
4
3
  def route(args: Namespace):
5
- logger.info("Doctor route")
6
4
  print(args)
7
-
@@ -0,0 +1,4 @@
1
+ from argparse import Namespace
2
+
3
+ def route(args: Namespace):
4
+ print(args)
File without changes
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pirag
3
- Version: 0.1.2
3
+ Version: 0.1.5
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
@@ -31,6 +31,7 @@ Dynamic: license-file
31
31
  [![LangChain](https://img.shields.io/badge/LangChain-blue?style=flat&logo=Langchain&logoColor=white)](https://langchain.com)
32
32
  [![Milvus](https://img.shields.io/badge/Milvus-red?style=flat&logo=Milvus&logoColor=white)](https://milvus.io/)
33
33
  [![MinIO](https://img.shields.io/badge/MinIO-red?style=flat&logo=MinIO&logoColor=white)](https://min.io/)
34
+ [![Build Status](https://github.com/jyje/pilot-onpremise-rag/actions/workflows/build-and-publish.yml/badge.svg)](https://github.com/jyje/pilot-onpremise-rag/actions/workflows/build-and-publish.yml)
34
35
  <!-- [![Docker](https://img.shields.io/badge/Docker-blue?style=flat&logo=Docker&logoColor=white)](https://docker.com) -->
35
36
 
36
37
  </div>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pirag"
3
- version = "0.1.2"
3
+ version = "0.1.5"
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" },
@@ -1,15 +0,0 @@
1
- from argparse import Namespace
2
- from ragas import evaluate
3
- from ragas.metrics import (
4
- answer_relevancy,
5
- faithfulness,
6
- context_precision,
7
- context_recall,
8
- )
9
-
10
- def route(args: Namespace):
11
-
12
- result = evaluate(
13
-
14
- )
15
- print(args)
@@ -1,9 +0,0 @@
1
- # https://milvus.io/docs/integrate_with_ragas.md
2
- from ragas.metrics import (
3
- answer_relevancy,
4
- faithfulness,
5
- context_precision,
6
- context_recall,
7
- )
8
-
9
-
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
File without changes