dynamic-learning-model 1.5__tar.gz → 1.5.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.
- {dynamic_learning_model-1.5/dynamic_learning_model.egg-info → dynamic_learning_model-1.5.1}/PKG-INFO +16 -13
- {dynamic_learning_model-1.5 → dynamic_learning_model-1.5.1}/README.md +15 -12
- {dynamic_learning_model-1.5 → dynamic_learning_model-1.5.1/dynamic_learning_model.egg-info}/PKG-INFO +16 -13
- {dynamic_learning_model-1.5 → dynamic_learning_model-1.5.1}/setup.py +1 -1
- {dynamic_learning_model-1.5 → dynamic_learning_model-1.5.1}/LICENSE +0 -0
- {dynamic_learning_model-1.5 → dynamic_learning_model-1.5.1}/dlm/DLM.py +0 -0
- {dynamic_learning_model-1.5 → dynamic_learning_model-1.5.1}/dlm/__init__.py +0 -0
- {dynamic_learning_model-1.5 → dynamic_learning_model-1.5.1}/dynamic_learning_model.egg-info/SOURCES.txt +0 -0
- {dynamic_learning_model-1.5 → dynamic_learning_model-1.5.1}/dynamic_learning_model.egg-info/dependency_links.txt +0 -0
- {dynamic_learning_model-1.5 → dynamic_learning_model-1.5.1}/dynamic_learning_model.egg-info/requires.txt +0 -0
- {dynamic_learning_model-1.5 → dynamic_learning_model-1.5.1}/dynamic_learning_model.egg-info/top_level.txt +0 -0
- {dynamic_learning_model-1.5 → dynamic_learning_model-1.5.1}/pyproject.toml +0 -0
- {dynamic_learning_model-1.5 → dynamic_learning_model-1.5.1}/setup.cfg +0 -0
{dynamic_learning_model-1.5/dynamic_learning_model.egg-info → dynamic_learning_model-1.5.1}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dynamic-learning-model
|
|
3
|
-
Version: 1.5
|
|
3
|
+
Version: 1.5.1
|
|
4
4
|
Summary: A Dynamic Learning Model for processing NLP queries using hybrid AI and reasoning.
|
|
5
5
|
Home-page: https://github.com/VigneshT24/Dynamic_Learning_Model
|
|
6
6
|
Author: Vignesh Thondikulam
|
|
@@ -48,8 +48,11 @@ Whether you're building a student support bot, a domain-specific assistant, or a
|
|
|
48
48
|
|
|
49
49
|
**REQUIRED PARAMETERS**:
|
|
50
50
|
* The constructor requires passing in two parameters:
|
|
51
|
-
- Bot Mode:
|
|
52
|
-
|
|
51
|
+
- Bot Mode:
|
|
52
|
+
- 'learn' = Enables training using the memory model. The bot can be updated with new information,
|
|
53
|
+
- 'recall' = The bot uses the memory model in read-only mode (no training),
|
|
54
|
+
- 'compute' = Activates the computation model for processing and solving queries algorithmically (no training)
|
|
55
|
+
- Empty SQL Database for training the bot with queries and for the memory model
|
|
53
56
|
* The ask() method also requires passing in two parameters:
|
|
54
57
|
- Query: "What is the definition of FAFSA" (as an example)
|
|
55
58
|
- Display Thought: "True" to allow the bot's Chain of Thought to be displayed, or else "False"
|
|
@@ -61,32 +64,32 @@ pip install dynamic-learning-model
|
|
|
61
64
|
```
|
|
62
65
|
* ***Python 3.12 or higher is required to use this bot in your program***
|
|
63
66
|
|
|
64
|
-
(
|
|
67
|
+
('learn' mode [training queries])
|
|
68
|
+
* You can find the training password in the ```__trainingPwd``` variable defined within the DLM.py file
|
|
65
69
|
```python
|
|
66
70
|
from dlm import DLM
|
|
67
71
|
|
|
68
|
-
|
|
72
|
+
training_bot = DLM("learn", "college_knowledge.db")
|
|
69
73
|
|
|
70
|
-
|
|
74
|
+
training_bot.ask("What is FAFSA in college?", True)
|
|
71
75
|
```
|
|
72
76
|
|
|
73
|
-
(
|
|
74
|
-
* You can find the training password in the ```__trainingPwd``` variable defined within the DLM.py file
|
|
77
|
+
('recall' mode [deployment/production use after training])
|
|
75
78
|
```python
|
|
76
79
|
from dlm import DLM
|
|
77
80
|
|
|
78
|
-
|
|
81
|
+
commercial_bot = DLM("recall", "college_knowledge.db")
|
|
79
82
|
|
|
80
|
-
|
|
83
|
+
commercial_bot.ask("What is the difference between FAFSA and CADAA in California?", False)
|
|
81
84
|
```
|
|
82
85
|
|
|
83
|
-
(
|
|
86
|
+
('compute' mode [computation queries])
|
|
84
87
|
```python
|
|
85
88
|
from dlm import DLM
|
|
86
89
|
|
|
87
|
-
|
|
90
|
+
computation_bot = DLM("compute", "college_knowledge.db")
|
|
88
91
|
|
|
89
|
-
|
|
92
|
+
computation_bot.ask("Tell me the result for the following: 5 * 5 * 5 + 5 / 5", True)
|
|
90
93
|
```
|
|
91
94
|
|
|
92
95
|
**HIGH-LEVEL PIPELINE VISUALS**:
|
|
@@ -18,8 +18,11 @@ Whether you're building a student support bot, a domain-specific assistant, or a
|
|
|
18
18
|
|
|
19
19
|
**REQUIRED PARAMETERS**:
|
|
20
20
|
* The constructor requires passing in two parameters:
|
|
21
|
-
- Bot Mode:
|
|
22
|
-
|
|
21
|
+
- Bot Mode:
|
|
22
|
+
- 'learn' = Enables training using the memory model. The bot can be updated with new information,
|
|
23
|
+
- 'recall' = The bot uses the memory model in read-only mode (no training),
|
|
24
|
+
- 'compute' = Activates the computation model for processing and solving queries algorithmically (no training)
|
|
25
|
+
- Empty SQL Database for training the bot with queries and for the memory model
|
|
23
26
|
* The ask() method also requires passing in two parameters:
|
|
24
27
|
- Query: "What is the definition of FAFSA" (as an example)
|
|
25
28
|
- Display Thought: "True" to allow the bot's Chain of Thought to be displayed, or else "False"
|
|
@@ -31,32 +34,32 @@ pip install dynamic-learning-model
|
|
|
31
34
|
```
|
|
32
35
|
* ***Python 3.12 or higher is required to use this bot in your program***
|
|
33
36
|
|
|
34
|
-
(
|
|
37
|
+
('learn' mode [training queries])
|
|
38
|
+
* You can find the training password in the ```__trainingPwd``` variable defined within the DLM.py file
|
|
35
39
|
```python
|
|
36
40
|
from dlm import DLM
|
|
37
41
|
|
|
38
|
-
|
|
42
|
+
training_bot = DLM("learn", "college_knowledge.db")
|
|
39
43
|
|
|
40
|
-
|
|
44
|
+
training_bot.ask("What is FAFSA in college?", True)
|
|
41
45
|
```
|
|
42
46
|
|
|
43
|
-
(
|
|
44
|
-
* You can find the training password in the ```__trainingPwd``` variable defined within the DLM.py file
|
|
47
|
+
('recall' mode [deployment/production use after training])
|
|
45
48
|
```python
|
|
46
49
|
from dlm import DLM
|
|
47
50
|
|
|
48
|
-
|
|
51
|
+
commercial_bot = DLM("recall", "college_knowledge.db")
|
|
49
52
|
|
|
50
|
-
|
|
53
|
+
commercial_bot.ask("What is the difference between FAFSA and CADAA in California?", False)
|
|
51
54
|
```
|
|
52
55
|
|
|
53
|
-
(
|
|
56
|
+
('compute' mode [computation queries])
|
|
54
57
|
```python
|
|
55
58
|
from dlm import DLM
|
|
56
59
|
|
|
57
|
-
|
|
60
|
+
computation_bot = DLM("compute", "college_knowledge.db")
|
|
58
61
|
|
|
59
|
-
|
|
62
|
+
computation_bot.ask("Tell me the result for the following: 5 * 5 * 5 + 5 / 5", True)
|
|
60
63
|
```
|
|
61
64
|
|
|
62
65
|
**HIGH-LEVEL PIPELINE VISUALS**:
|
{dynamic_learning_model-1.5 → dynamic_learning_model-1.5.1/dynamic_learning_model.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dynamic-learning-model
|
|
3
|
-
Version: 1.5
|
|
3
|
+
Version: 1.5.1
|
|
4
4
|
Summary: A Dynamic Learning Model for processing NLP queries using hybrid AI and reasoning.
|
|
5
5
|
Home-page: https://github.com/VigneshT24/Dynamic_Learning_Model
|
|
6
6
|
Author: Vignesh Thondikulam
|
|
@@ -48,8 +48,11 @@ Whether you're building a student support bot, a domain-specific assistant, or a
|
|
|
48
48
|
|
|
49
49
|
**REQUIRED PARAMETERS**:
|
|
50
50
|
* The constructor requires passing in two parameters:
|
|
51
|
-
- Bot Mode:
|
|
52
|
-
|
|
51
|
+
- Bot Mode:
|
|
52
|
+
- 'learn' = Enables training using the memory model. The bot can be updated with new information,
|
|
53
|
+
- 'recall' = The bot uses the memory model in read-only mode (no training),
|
|
54
|
+
- 'compute' = Activates the computation model for processing and solving queries algorithmically (no training)
|
|
55
|
+
- Empty SQL Database for training the bot with queries and for the memory model
|
|
53
56
|
* The ask() method also requires passing in two parameters:
|
|
54
57
|
- Query: "What is the definition of FAFSA" (as an example)
|
|
55
58
|
- Display Thought: "True" to allow the bot's Chain of Thought to be displayed, or else "False"
|
|
@@ -61,32 +64,32 @@ pip install dynamic-learning-model
|
|
|
61
64
|
```
|
|
62
65
|
* ***Python 3.12 or higher is required to use this bot in your program***
|
|
63
66
|
|
|
64
|
-
(
|
|
67
|
+
('learn' mode [training queries])
|
|
68
|
+
* You can find the training password in the ```__trainingPwd``` variable defined within the DLM.py file
|
|
65
69
|
```python
|
|
66
70
|
from dlm import DLM
|
|
67
71
|
|
|
68
|
-
|
|
72
|
+
training_bot = DLM("learn", "college_knowledge.db")
|
|
69
73
|
|
|
70
|
-
|
|
74
|
+
training_bot.ask("What is FAFSA in college?", True)
|
|
71
75
|
```
|
|
72
76
|
|
|
73
|
-
(
|
|
74
|
-
* You can find the training password in the ```__trainingPwd``` variable defined within the DLM.py file
|
|
77
|
+
('recall' mode [deployment/production use after training])
|
|
75
78
|
```python
|
|
76
79
|
from dlm import DLM
|
|
77
80
|
|
|
78
|
-
|
|
81
|
+
commercial_bot = DLM("recall", "college_knowledge.db")
|
|
79
82
|
|
|
80
|
-
|
|
83
|
+
commercial_bot.ask("What is the difference between FAFSA and CADAA in California?", False)
|
|
81
84
|
```
|
|
82
85
|
|
|
83
|
-
(
|
|
86
|
+
('compute' mode [computation queries])
|
|
84
87
|
```python
|
|
85
88
|
from dlm import DLM
|
|
86
89
|
|
|
87
|
-
|
|
90
|
+
computation_bot = DLM("compute", "college_knowledge.db")
|
|
88
91
|
|
|
89
|
-
|
|
92
|
+
computation_bot.ask("Tell me the result for the following: 5 * 5 * 5 + 5 / 5", True)
|
|
90
93
|
```
|
|
91
94
|
|
|
92
95
|
**HIGH-LEVEL PIPELINE VISUALS**:
|
|
@@ -5,7 +5,7 @@ with open('README.md', 'r', encoding='utf-8') as f:
|
|
|
5
5
|
|
|
6
6
|
setup(
|
|
7
7
|
name='dynamic-learning-model',
|
|
8
|
-
version='1.5',
|
|
8
|
+
version='1.5.1',
|
|
9
9
|
author='Vignesh Thondikulam',
|
|
10
10
|
author_email='vignesh.tho2006@gmail.com',
|
|
11
11
|
description='A Dynamic Learning Model for processing NLP queries using hybrid AI and reasoning.',
|
|
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
|