ai-parrot 0.2.2__cp311-cp311-manylinux_2_28_x86_64.whl → 0.2.4__cp311-cp311-manylinux_2_28_x86_64.whl
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.
Potentially problematic release.
This version of ai-parrot might be problematic. Click here for more details.
- {ai_parrot-0.2.2.dist-info → ai_parrot-0.2.4.dist-info}/METADATA +24 -4
- {ai_parrot-0.2.2.dist-info → ai_parrot-0.2.4.dist-info}/RECORD +28 -27
- {ai_parrot-0.2.2.dist-info → ai_parrot-0.2.4.dist-info}/WHEEL +1 -1
- parrot/__init__.py +3 -0
- parrot/chatbots/abstract.py +150 -390
- parrot/chatbots/base.py +146 -37
- parrot/chatbots/copilot.py +52 -79
- parrot/chatbots/retrievals/__init__.py +14 -14
- parrot/conf.py +2 -0
- parrot/exceptions.cpython-311-x86_64-linux-gnu.so +0 -0
- parrot/llms/__init__.py +137 -0
- parrot/llms/abstract.py +7 -1
- parrot/llms/anthropic.py +7 -1
- parrot/llms/google.py +5 -0
- parrot/llms/groq.py +12 -0
- parrot/llms/hf.py +6 -0
- parrot/llms/openai.py +11 -1
- parrot/llms/pipes.py +12 -1
- parrot/llms/vertex.py +10 -0
- parrot/loaders/audio.py +106 -0
- parrot/manager.py +47 -33
- parrot/models.py +25 -0
- parrot/stores/__init__.py +48 -0
- parrot/stores/milvus.py +104 -42
- parrot/tools/__init__.py +0 -4
- parrot/version.py +1 -1
- {ai_parrot-0.2.2.dist-info → ai_parrot-0.2.4.dist-info}/LICENSE +0 -0
- {ai_parrot-0.2.2.dist-info → ai_parrot-0.2.4.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ai-parrot
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.4
|
|
4
4
|
Summary: Live Chatbots based on Langchain chatbots and Agents Integrated into Navigator Framework or used into aiohttp applications.
|
|
5
5
|
Home-page: https://github.com/phenobarbital/ai-parrot
|
|
6
6
|
Author: Jesus Lara
|
|
@@ -64,7 +64,7 @@ Requires-Dist: moviepy ==1.0.3
|
|
|
64
64
|
Requires-Dist: safetensors ==0.4.2
|
|
65
65
|
Requires-Dist: sentence-transformers ==2.6.1
|
|
66
66
|
Requires-Dist: tabulate ==0.9.0
|
|
67
|
-
Requires-Dist: tiktoken ==0.
|
|
67
|
+
Requires-Dist: tiktoken ==0.7.0
|
|
68
68
|
Requires-Dist: tokenizers ==0.19.1
|
|
69
69
|
Requires-Dist: unstructured ==0.14.3
|
|
70
70
|
Requires-Dist: unstructured-client ==0.18.0
|
|
@@ -87,7 +87,7 @@ Requires-Dist: mammoth ==1.7.1
|
|
|
87
87
|
Requires-Dist: accelerate ==0.29.3
|
|
88
88
|
Requires-Dist: langchain >=0.2.6
|
|
89
89
|
Requires-Dist: langchain-community >=0.2.6
|
|
90
|
-
Requires-Dist: langchain-core ==0.2.
|
|
90
|
+
Requires-Dist: langchain-core ==0.2.32
|
|
91
91
|
Requires-Dist: langchain-experimental ==0.0.62
|
|
92
92
|
Requires-Dist: langchainhub ==0.1.15
|
|
93
93
|
Requires-Dist: langchain-text-splitters ==0.2.2
|
|
@@ -105,12 +105,32 @@ Requires-Dist: asknews ==0.7.30
|
|
|
105
105
|
Requires-Dist: pyowm ==3.3.0
|
|
106
106
|
Requires-Dist: O365 ==2.0.35
|
|
107
107
|
Requires-Dist: langchain-huggingface ==0.0.3
|
|
108
|
+
Requires-Dist: stackapi ==0.3.1
|
|
109
|
+
Provides-Extra: all
|
|
110
|
+
Requires-Dist: langchain-milvus ==0.1.1 ; extra == 'all'
|
|
111
|
+
Requires-Dist: milvus ==2.3.5 ; extra == 'all'
|
|
112
|
+
Requires-Dist: pymilvus ==2.4.4 ; extra == 'all'
|
|
113
|
+
Requires-Dist: groq ==0.6.0 ; extra == 'all'
|
|
114
|
+
Requires-Dist: langchain-groq ==0.1.4 ; extra == 'all'
|
|
115
|
+
Requires-Dist: llama-index-llms-huggingface ==0.2.7 ; extra == 'all'
|
|
116
|
+
Requires-Dist: langchain-google-vertexai ==1.0.8 ; extra == 'all'
|
|
117
|
+
Requires-Dist: langchain-google-genai ==1.0.8 ; extra == 'all'
|
|
118
|
+
Requires-Dist: google-generativeai ==0.7.2 ; extra == 'all'
|
|
119
|
+
Requires-Dist: vertexai ==1.60.0 ; extra == 'all'
|
|
120
|
+
Requires-Dist: google-cloud-aiplatform >=1.60.0 ; extra == 'all'
|
|
121
|
+
Requires-Dist: grpc-google-iam-v1 ==0.13.0 ; extra == 'all'
|
|
122
|
+
Requires-Dist: langchain-openai ==0.1.21 ; extra == 'all'
|
|
123
|
+
Requires-Dist: openai ==1.40.8 ; extra == 'all'
|
|
124
|
+
Requires-Dist: llama-index-llms-openai ==0.1.11 ; extra == 'all'
|
|
125
|
+
Requires-Dist: langchain-anthropic ==0.1.23 ; extra == 'all'
|
|
126
|
+
Requires-Dist: anthropic ==0.34.0 ; extra == 'all'
|
|
108
127
|
Provides-Extra: analytics
|
|
109
128
|
Requires-Dist: annoy ==1.17.3 ; extra == 'analytics'
|
|
110
129
|
Requires-Dist: gradio-tools ==0.0.9 ; extra == 'analytics'
|
|
111
130
|
Requires-Dist: gradio-client ==0.2.9 ; extra == 'analytics'
|
|
112
131
|
Requires-Dist: streamlit ==1.37.1 ; extra == 'analytics'
|
|
113
132
|
Requires-Dist: simsimd ==4.3.1 ; extra == 'analytics'
|
|
133
|
+
Requires-Dist: opencv-python ==4.10.0.84 ; extra == 'analytics'
|
|
114
134
|
Provides-Extra: anthropic
|
|
115
135
|
Requires-Dist: langchain-anthropic ==0.1.11 ; extra == 'anthropic'
|
|
116
136
|
Requires-Dist: anthropic ==0.25.2 ; extra == 'anthropic'
|
|
@@ -129,7 +149,7 @@ Provides-Extra: groq
|
|
|
129
149
|
Requires-Dist: groq ==0.6.0 ; extra == 'groq'
|
|
130
150
|
Requires-Dist: langchain-groq ==0.1.4 ; extra == 'groq'
|
|
131
151
|
Provides-Extra: hunggingfaces
|
|
132
|
-
Requires-Dist: llama-index-llms-huggingface ==0.
|
|
152
|
+
Requires-Dist: llama-index-llms-huggingface ==0.2.7 ; extra == 'hunggingfaces'
|
|
133
153
|
Provides-Extra: milvus
|
|
134
154
|
Requires-Dist: langchain-milvus ==0.1.1 ; extra == 'milvus'
|
|
135
155
|
Requires-Dist: milvus ==2.3.5 ; extra == 'milvus'
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
parrot/__init__.py,sha256=
|
|
2
|
-
parrot/conf.py,sha256
|
|
3
|
-
parrot/exceptions.cpython-311-x86_64-linux-gnu.so,sha256=
|
|
4
|
-
parrot/manager.py,sha256=
|
|
5
|
-
parrot/models.py,sha256=
|
|
1
|
+
parrot/__init__.py,sha256=eTkAkHeJ5BBDG2fxrXA4M37ODBJoS1DQYpeBAWL2xeI,387
|
|
2
|
+
parrot/conf.py,sha256=-9bVGC7Rf-6wpIg6-ojvU4S_G1wBLUCVDt46KEGHEhM,4257
|
|
3
|
+
parrot/exceptions.cpython-311-x86_64-linux-gnu.so,sha256=gDwsnUlOlwphVU97XaqG5e7BJs_PWPKdwgwDsjyVZIg,361200
|
|
4
|
+
parrot/manager.py,sha256=cgiF0JS-canOaBVIYIt-zSJRtOQLZqe2eMPQjGonlGc,5939
|
|
5
|
+
parrot/models.py,sha256=RsVQCqhSXBKRPcu-BCga9Y1wyvENFXDCuq3_ObIKvAo,13452
|
|
6
6
|
parrot/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
-
parrot/version.py,sha256
|
|
7
|
+
parrot/version.py,sha256=kyyCtmrsmuMOE5McZnh2AM3REVoHFUTdFh73U1cmXVE,373
|
|
8
8
|
parrot/chatbots/__init__.py,sha256=ypskCnME0xUv6psBEGCEyXCrD0J0ULHSllpVmSxqb4A,200
|
|
9
|
-
parrot/chatbots/abstract.py,sha256=
|
|
9
|
+
parrot/chatbots/abstract.py,sha256=CmDn3k4r9uKImOZRN4L9zxLbCdC-1MPUAorDlfZT-kA,26421
|
|
10
10
|
parrot/chatbots/asktroc.py,sha256=gyWzyvpAnmXwXd-3DEKoIJtAxt6NnP5mUZdZbkFky8s,604
|
|
11
|
-
parrot/chatbots/base.py,sha256=
|
|
11
|
+
parrot/chatbots/base.py,sha256=cRw7k5FRKOfLdXQJeQvACVE5ZgE1NUWf3IY7OsSsxuo,12912
|
|
12
12
|
parrot/chatbots/basic.py,sha256=DIMTPoGc90BRSlokeOdnjlEXAAfZlIFqxXWaMyAX9uk,232
|
|
13
13
|
parrot/chatbots/bose.py,sha256=z8rm8G_tAwHjDUodXfrAKnhaMzufQyf-GrhxwHeHle4,757
|
|
14
14
|
parrot/chatbots/cody.py,sha256=Z0LNiNtZjEe7bA3hwexclBZK5zEF9m2ODVmrzZjC3Bw,623
|
|
15
|
-
parrot/chatbots/copilot.py,sha256=
|
|
15
|
+
parrot/chatbots/copilot.py,sha256=iwwH3qMqmnNwoVvWKyyrfTi46gAIjlkAPI4yqUGGOEA,1756
|
|
16
16
|
parrot/chatbots/dataframe.py,sha256=CfZiLKIwnaku52nl2PNjciqRlH8m2lM4buO6xI7P408,3914
|
|
17
17
|
parrot/chatbots/hragents.py,sha256=PyNIBJ2OH5CtfVydccgpY50V6GI3cLKuVdOMaa7sQz0,574
|
|
18
18
|
parrot/chatbots/oddie.py,sha256=RMbANmJZP1_vLVGKRNBKmA8otyAiWPkvpA0rJ0U3tZk,796
|
|
19
19
|
parrot/chatbots/odoo.py,sha256=RMbANmJZP1_vLVGKRNBKmA8otyAiWPkvpA0rJ0U3tZk,796
|
|
20
|
-
parrot/chatbots/retrievals/__init__.py,sha256=
|
|
20
|
+
parrot/chatbots/retrievals/__init__.py,sha256=x04qJFPT_oY4Yx0aC7NmjbhtgBZA7Yw0QUcLfjYvzyQ,19558
|
|
21
21
|
parrot/chatbots/retrievals/constitutional.py,sha256=x7kFR0KpmkR0Wz6bXNOeU3Hesn_EXc6eOSd4TdXxb8o,600
|
|
22
22
|
parrot/crew/__init__.py,sha256=oWLEWNNdYHB2AZUDUZVlSsdMOJiWamvM-jVZ8SzoWQE,77
|
|
23
23
|
parrot/crew/tools/__init__.py,sha256=n2nXEVl8VeWmdI_NyGbiVTAq_S51ebNExuyRM7u9SeI,569
|
|
@@ -36,17 +36,18 @@ parrot/handlers/bots.py,sha256=GG2W8y_GC71f8_mMHxwAYP-ope7ecNP_GShL9c66_uY,5782
|
|
|
36
36
|
parrot/handlers/chat.py,sha256=iqTChdNqcbhCR2meOqLhPx2XQiSiDzzFP8nRAcPH_7s,5437
|
|
37
37
|
parrot/interfaces/__init__.py,sha256=m3FpxsFeEKq_hvQR9YRGAhZS6u8LZZBuzf6-njugiHE,69
|
|
38
38
|
parrot/interfaces/database.py,sha256=PHy133KTqa9K0tALOQt1q0ufwUZ4n7rndZrhob6Wbk4,609
|
|
39
|
-
parrot/llms/__init__.py,sha256=
|
|
40
|
-
parrot/llms/abstract.py,sha256=
|
|
41
|
-
parrot/llms/anthropic.py,sha256=
|
|
42
|
-
parrot/llms/google.py,sha256=
|
|
43
|
-
parrot/llms/groq.py,sha256=
|
|
44
|
-
parrot/llms/hf.py,sha256=
|
|
45
|
-
parrot/llms/openai.py,sha256=
|
|
46
|
-
parrot/llms/pipes.py,sha256=
|
|
47
|
-
parrot/llms/vertex.py,sha256=
|
|
39
|
+
parrot/llms/__init__.py,sha256=bxhPgslU6TjWlOgUFkWV6heavRqmm53PuKNjjZ-Hr1o,3838
|
|
40
|
+
parrot/llms/abstract.py,sha256=bIrAMkRbP4hf8MYQESUzcNnIqc70vbDuoseoee7Xhho,1395
|
|
41
|
+
parrot/llms/anthropic.py,sha256=8g7hA5LKfGWCahOPw_zV4pniwa4Fg4KTkAnL9qcq9KU,1311
|
|
42
|
+
parrot/llms/google.py,sha256=z17aF26h28Dbtt4b7BIfadB9G1cO0a6JeCAxX6aI-6c,1315
|
|
43
|
+
parrot/llms/groq.py,sha256=EZCbcvqojg5DrE41qYTAinLifSn_oIqgVJS22alPKvE,1491
|
|
44
|
+
parrot/llms/hf.py,sha256=f2HhHCICaSHp0y3KRhqNcYXNO-amYTxDXJ_2_9L5Bk8,1594
|
|
45
|
+
parrot/llms/openai.py,sha256=NgWv6IwJ1DborlYhTyureBBdgHfAPc_lGHQRGt80ca8,1759
|
|
46
|
+
parrot/llms/pipes.py,sha256=Ns_wh-alkKocZKlbQyQLKOSBxqfRC_hCbz34vpOOyP8,3798
|
|
47
|
+
parrot/llms/vertex.py,sha256=a0UsH9sa_GiMkg31E52cWE8pXFZjyMtIanr7eAA7iyE,2615
|
|
48
48
|
parrot/loaders/__init__.py,sha256=LGEaj54DP3FA5-C2IDaA8u-MF4lj-Lbd_Mx5R19qHYY,665
|
|
49
49
|
parrot/loaders/abstract.py,sha256=_tsGDb7TracwkL20J2VYd5hC9MR262c2mmS9VvYB4vM,15870
|
|
50
|
+
parrot/loaders/audio.py,sha256=0yF5hOgCgjRFjOrYfYfS9kJ5j63J72QD0xHTiaer9Eo,3694
|
|
50
51
|
parrot/loaders/basepdf.py,sha256=Qh_hzR0JArQEVP31SgWt9utt7qWmbfwVoCzUDyBHcXw,3243
|
|
51
52
|
parrot/loaders/basevideo.py,sha256=WcX-q0Rn_E1dYurbA1eH5NOcUBdOye2iWiFTCY_DVgo,10292
|
|
52
53
|
parrot/loaders/csv.py,sha256=DLcFK3z9boMNH3y9Qca5BWDfYXgXjXsGkzxVN1_2wyo,1103
|
|
@@ -77,11 +78,11 @@ parrot/loaders/handlers/__init__.py,sha256=ksEDtUOEJELmyCIi0KNv7tR2fCUyADBVkwCcy
|
|
|
77
78
|
parrot/loaders/handlers/data.py,sha256=olZ2p-wyUMGoazah7tgHY7V9buGX1FOeJ-cv2vGEoH8,7386
|
|
78
79
|
parrot/loaders/utils/__init__.py,sha256=SkDyK3MuPGhp0NM6kHvaxQDe97Gcl3n9t5A741OVh1c,28
|
|
79
80
|
parrot/loaders/utils/models.py,sha256=BHcnFzS7oOKUGG-vPy_TlqeFNAC8puRgsIMX2mSgKxY,1059
|
|
80
|
-
parrot/stores/__init__.py,sha256=
|
|
81
|
+
parrot/stores/__init__.py,sha256=ZFjZvcLhcqJqndx9tiEANpyiude1fvjrCxyt2S42VqY,1496
|
|
81
82
|
parrot/stores/abstract.py,sha256=hbRI6wJGCShMlfDc0UkQx7gD9r3LJrBpif6tAKXeDAE,5106
|
|
82
|
-
parrot/stores/milvus.py,sha256=
|
|
83
|
+
parrot/stores/milvus.py,sha256=GqGzKhRrsOV5Tht2C3vHPfVVFRvh2cxjITtes30f28s,20448
|
|
83
84
|
parrot/stores/qdrant.py,sha256=y-jG5sB6ICESyxdpyGBhQ-hgTDLxxPtM5xYZTWIRiAY,4720
|
|
84
|
-
parrot/tools/__init__.py,sha256=
|
|
85
|
+
parrot/tools/__init__.py,sha256=XKZwogdGr6ObPfAGbzAdyDjFnXI286eapsi180VwdjE,614
|
|
85
86
|
parrot/tools/abstract.py,sha256=pVSZw8MDpbVcQ-CHaGwP6CpqXHIs8hH8Oy1AqUuMmrw,1706
|
|
86
87
|
parrot/tools/asknews.py,sha256=hEpPJMyNBVfj2maHbqnumn3VkY45oFvrjkE3Rq8EdGA,1039
|
|
87
88
|
parrot/tools/bing.py,sha256=BtmFD66OIuCaOue5U2_yIqtjWf24IhEgNOX1LAVvHtA,464
|
|
@@ -102,8 +103,8 @@ resources/users/handlers.py,sha256=BGzqBvPY_OaIF_nONWX4b_B5OyyBrdGuSihIsdlFwjk,2
|
|
|
102
103
|
resources/users/models.py,sha256=glk7Emv7QCi6i32xRFDrGc8UwK23_LPg0XUOJoHnwRU,6799
|
|
103
104
|
settings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
104
105
|
settings/settings.py,sha256=9ueEvyLNurUX-AaIeRPV8GKX1c4YjDLbksUAeqEq6Ck,1854
|
|
105
|
-
ai_parrot-0.2.
|
|
106
|
-
ai_parrot-0.2.
|
|
107
|
-
ai_parrot-0.2.
|
|
108
|
-
ai_parrot-0.2.
|
|
109
|
-
ai_parrot-0.2.
|
|
106
|
+
ai_parrot-0.2.4.dist-info/LICENSE,sha256=vRKOoa7onTsLNvSzJtGtMaNhWWh8B3YAT733Tlu6M4o,1070
|
|
107
|
+
ai_parrot-0.2.4.dist-info/METADATA,sha256=RqOk4z0eJ37Wpcy8HfRJgfhOoWPQOpyFh9SvP7F1MWI,10421
|
|
108
|
+
ai_parrot-0.2.4.dist-info/WHEEL,sha256=tFO7F0mawMNWa_NzTDA1ygqZBeMykVNIr04O5Zxk1TE,113
|
|
109
|
+
ai_parrot-0.2.4.dist-info/top_level.txt,sha256=qHoO4BhYDfeTkyKnciZSQtn5FSLN3Q-P5xCTkyvbuxg,26
|
|
110
|
+
ai_parrot-0.2.4.dist-info/RECORD,,
|
parrot/__init__.py
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
Basic Chatbots for Navigator Services.
|
|
5
5
|
"""
|
|
6
|
+
import os
|
|
6
7
|
from pathlib import Path
|
|
7
8
|
from .version import (
|
|
8
9
|
__author__,
|
|
@@ -12,6 +13,8 @@ from .version import (
|
|
|
12
13
|
__version__
|
|
13
14
|
)
|
|
14
15
|
|
|
16
|
+
os.environ["USER_AGENT"] = "Parrot.AI/1.0"
|
|
17
|
+
|
|
15
18
|
def get_project_root() -> Path:
|
|
16
19
|
return Path(__file__).parent.parent
|
|
17
20
|
|