ragbits-cli 0.0.1__tar.gz → 0.2.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.
- ragbits_cli-0.2.0/CHANGELOG.md +19 -0
- {ragbits_cli-0.0.1 → ragbits_cli-0.2.0}/PKG-INFO +4 -3
- {ragbits_cli-0.0.1 → ragbits_cli-0.2.0}/pyproject.toml +4 -6
- {ragbits_cli-0.0.1 → ragbits_cli-0.2.0}/src/ragbits/cli/__init__.py +5 -1
- {ragbits_cli-0.0.1 → ragbits_cli-0.2.0}/.gitignore +0 -0
- {ragbits_cli-0.0.1 → ragbits_cli-0.2.0}/README.md +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# CHANGELOG
|
|
2
|
+
|
|
3
|
+
## Unreleased
|
|
4
|
+
|
|
5
|
+
## 0.2.0 (2024-10-23)
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Improved performance by lazy-loading the modules (#111 #113 #120)
|
|
10
|
+
- ragbits-core updated to version v0.2.0
|
|
11
|
+
|
|
12
|
+
## 0.1.0 (2024-10-08)
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
|
|
16
|
+
- Initial release of the package.
|
|
17
|
+
- Add prompts lab command.
|
|
18
|
+
- Add prompts generate-promptfoo-configs command.
|
|
19
|
+
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: ragbits-cli
|
|
3
|
-
Version: 0.0
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: A CLI application for ragbits - building blocks for rapid development of GenAI applications
|
|
5
|
-
Author-email: "deepsense.ai" <
|
|
5
|
+
Author-email: "deepsense.ai" <ragbits@deepsense.ai>
|
|
6
6
|
License-Expression: MIT
|
|
7
7
|
Keywords: GenAI,Generative AI,LLMs,Large Language Models,Prompt Management,RAG,Retrieval Augmented Generation
|
|
8
|
-
Classifier: Development Status ::
|
|
8
|
+
Classifier: Development Status :: 4 - Beta
|
|
9
9
|
Classifier: Environment :: Console
|
|
10
10
|
Classifier: Intended Audience :: Science/Research
|
|
11
11
|
Classifier: License :: OSI Approved :: MIT License
|
|
@@ -17,6 +17,7 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
17
17
|
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
18
18
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
19
19
|
Requires-Python: >=3.10
|
|
20
|
+
Requires-Dist: ragbits-core==0.2.0
|
|
20
21
|
Requires-Dist: typer>=0.12.5
|
|
21
22
|
Description-Content-Type: text/markdown
|
|
22
23
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "ragbits-cli"
|
|
3
|
-
version = "0.0
|
|
3
|
+
version = "0.2.0"
|
|
4
4
|
description = "A CLI application for ragbits - building blocks for rapid development of GenAI applications"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.10"
|
|
7
7
|
license = "MIT"
|
|
8
8
|
authors = [
|
|
9
|
-
{ name = "deepsense.ai", email = "
|
|
9
|
+
{ name = "deepsense.ai", email = "ragbits@deepsense.ai"}
|
|
10
10
|
]
|
|
11
11
|
keywords = [
|
|
12
12
|
"Retrieval Augmented Generation",
|
|
@@ -18,7 +18,7 @@ keywords = [
|
|
|
18
18
|
"Prompt Management"
|
|
19
19
|
]
|
|
20
20
|
classifiers = [
|
|
21
|
-
"Development Status ::
|
|
21
|
+
"Development Status :: 4 - Beta",
|
|
22
22
|
"Environment :: Console",
|
|
23
23
|
"Intended Audience :: Science/Research",
|
|
24
24
|
"License :: OSI Approved :: MIT License",
|
|
@@ -30,9 +30,7 @@ classifiers = [
|
|
|
30
30
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
31
31
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
32
32
|
]
|
|
33
|
-
dependencies = [
|
|
34
|
-
"typer>=0.12.5",
|
|
35
|
-
]
|
|
33
|
+
dependencies = ["typer>=0.12.5", "ragbits-core==0.2.0"]
|
|
36
34
|
|
|
37
35
|
[project.scripts]
|
|
38
36
|
ragbits = "ragbits.cli:main"
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import importlib.util
|
|
2
2
|
import pkgutil
|
|
3
|
+
from pathlib import Path
|
|
3
4
|
|
|
4
5
|
from typer import Typer
|
|
5
6
|
|
|
@@ -22,8 +23,11 @@ def main() -> None:
|
|
|
22
23
|
cli_enabled_modules = [
|
|
23
24
|
module
|
|
24
25
|
for module in pkgutil.iter_modules(ragbits.__path__)
|
|
25
|
-
if module.ispkg
|
|
26
|
+
if module.ispkg
|
|
27
|
+
and module.name != "cli"
|
|
28
|
+
and (Path(module.module_finder.path) / module.name / "cli.py").exists() # type: ignore
|
|
26
29
|
]
|
|
30
|
+
|
|
27
31
|
for module in cli_enabled_modules:
|
|
28
32
|
register_func = importlib.import_module(f"ragbits.{module.name}.cli").register
|
|
29
33
|
register_func(app)
|
|
File without changes
|
|
File without changes
|