ai-parrot 0.2.8__cp311-cp311-manylinux_2_28_x86_64.whl → 0.3.1__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.8.dist-info → ai_parrot-0.3.1.dist-info}/METADATA +1 -1
- {ai_parrot-0.2.8.dist-info → ai_parrot-0.3.1.dist-info}/RECORD +9 -9
- parrot/chatbots/copilot.py +1 -0
- parrot/loaders/videolocal.py +13 -0
- parrot/tools/google.py +0 -2
- parrot/version.py +1 -1
- {ai_parrot-0.2.8.dist-info → ai_parrot-0.3.1.dist-info}/LICENSE +0 -0
- {ai_parrot-0.2.8.dist-info → ai_parrot-0.3.1.dist-info}/WHEEL +0 -0
- {ai_parrot-0.2.8.dist-info → ai_parrot-0.3.1.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.
|
|
3
|
+
Version: 0.3.1
|
|
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
|
|
@@ -4,7 +4,7 @@ parrot/exceptions.cpython-311-x86_64-linux-gnu.so,sha256=gDwsnUlOlwphVU97XaqG5e7
|
|
|
4
4
|
parrot/manager.py,sha256=NhzXoWxSgtoWHpmYP8cV2Ujq_SlvCbQYQBaohAeL2TM,5935
|
|
5
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=4J1UyyW-XSClqr_4-Z-C1QFQ9XMZ0LjzaF_4UIlbgic,373
|
|
8
8
|
parrot/chatbots/__init__.py,sha256=ypskCnME0xUv6psBEGCEyXCrD0J0ULHSllpVmSxqb4A,200
|
|
9
9
|
parrot/chatbots/abstract.py,sha256=CmDn3k4r9uKImOZRN4L9zxLbCdC-1MPUAorDlfZT-kA,26421
|
|
10
10
|
parrot/chatbots/asktroc.py,sha256=gyWzyvpAnmXwXd-3DEKoIJtAxt6NnP5mUZdZbkFky8s,604
|
|
@@ -12,7 +12,7 @@ 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=JTnc-fdszwZ2nLmpNu-tVe6Al8z9PNIYHxv8fd42YQU,2051
|
|
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
|
|
@@ -68,7 +68,7 @@ parrot/loaders/repo.py,sha256=vBqBAnwU6p3_DCvI9DVhi1Bs8iCDYHwFGp0P9zvGRyw,3737
|
|
|
68
68
|
parrot/loaders/rtd.py,sha256=oKOC9Qn3iwulYx5BEvXy4_kusKRsy5RLYNHS-e5p-1k,1988
|
|
69
69
|
parrot/loaders/txt.py,sha256=AeGroWffFT--7TYlTSTr5Av5zAr8YIp1fxt8r5qdi-A,2802
|
|
70
70
|
parrot/loaders/video.py,sha256=pl5Ho69bp5vrWMqg5tLbsnHUus1LByTDoL6NPk57Ays,2929
|
|
71
|
-
parrot/loaders/videolocal.py,sha256=
|
|
71
|
+
parrot/loaders/videolocal.py,sha256=3EASzbettSO2tboTe3GndR4p6Nihwj6HGZoiPXekYo0,4302
|
|
72
72
|
parrot/loaders/vimeo.py,sha256=zOvOOIiaZr_bRswJFI7uIMKISgALOxcSim9ZRUFY1Fc,4114
|
|
73
73
|
parrot/loaders/web.py,sha256=3x06JNpfTGFtvSBPAEBVoVdZkpVXePcJeMtj61B2xJk,8867
|
|
74
74
|
parrot/loaders/web_base.py,sha256=5SjQddT0Vhne8C9s30iU3Ex_9O1PJ8kyDmy8EdhGBo0,4380
|
|
@@ -87,7 +87,7 @@ parrot/tools/abstract.py,sha256=pVSZw8MDpbVcQ-CHaGwP6CpqXHIs8hH8Oy1AqUuMmrw,1706
|
|
|
87
87
|
parrot/tools/asknews.py,sha256=hEpPJMyNBVfj2maHbqnumn3VkY45oFvrjkE3Rq8EdGA,1039
|
|
88
88
|
parrot/tools/bing.py,sha256=BtmFD66OIuCaOue5U2_yIqtjWf24IhEgNOX1LAVvHtA,464
|
|
89
89
|
parrot/tools/duck.py,sha256=UAAZzlF-Q0sZh0_IcS96dwSgCuBPdeepkwRrMM5cJPY,1920
|
|
90
|
-
parrot/tools/google.py,sha256=
|
|
90
|
+
parrot/tools/google.py,sha256=NjijcUWH6Crk5Uty_x3FstjDTGZV8JXfBFDQEtMHhac,6236
|
|
91
91
|
parrot/tools/stack.py,sha256=M-VRWjIDa18bl5p88dSKtxMj4Kn21YB76to0u6yXA30,942
|
|
92
92
|
parrot/tools/weather.py,sha256=4v9Ft5lkVzb9Pg7afNs7BK5T3WEcsZbHPlBrF9oXSo8,2541
|
|
93
93
|
parrot/tools/wikipedia.py,sha256=oadBTRAupu2dKThEORSHqqVs4u0G9lWOltbP6vSZgPE,1999
|
|
@@ -103,8 +103,8 @@ resources/users/handlers.py,sha256=BGzqBvPY_OaIF_nONWX4b_B5OyyBrdGuSihIsdlFwjk,2
|
|
|
103
103
|
resources/users/models.py,sha256=glk7Emv7QCi6i32xRFDrGc8UwK23_LPg0XUOJoHnwRU,6799
|
|
104
104
|
settings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
105
105
|
settings/settings.py,sha256=9ueEvyLNurUX-AaIeRPV8GKX1c4YjDLbksUAeqEq6Ck,1854
|
|
106
|
-
ai_parrot-0.
|
|
107
|
-
ai_parrot-0.
|
|
108
|
-
ai_parrot-0.
|
|
109
|
-
ai_parrot-0.
|
|
110
|
-
ai_parrot-0.
|
|
106
|
+
ai_parrot-0.3.1.dist-info/LICENSE,sha256=vRKOoa7onTsLNvSzJtGtMaNhWWh8B3YAT733Tlu6M4o,1070
|
|
107
|
+
ai_parrot-0.3.1.dist-info/METADATA,sha256=rtYKLZ9cdUv1OELsaBCbmadVUKnx14fMUraNIp5EbD0,10410
|
|
108
|
+
ai_parrot-0.3.1.dist-info/WHEEL,sha256=tFO7F0mawMNWa_NzTDA1ygqZBeMykVNIr04O5Zxk1TE,113
|
|
109
|
+
ai_parrot-0.3.1.dist-info/top_level.txt,sha256=qHoO4BhYDfeTkyKnciZSQtn5FSLN3Q-P5xCTkyvbuxg,26
|
|
110
|
+
ai_parrot-0.3.1.dist-info/RECORD,,
|
parrot/chatbots/copilot.py
CHANGED
parrot/loaders/videolocal.py
CHANGED
|
@@ -105,3 +105,16 @@ class VideoLocalLoader(BaseVideoLoader):
|
|
|
105
105
|
if set(item.parts).isdisjoint(self.skip_directories):
|
|
106
106
|
documents.extend(self.load_video(item))
|
|
107
107
|
return self.split_documents(documents)
|
|
108
|
+
|
|
109
|
+
def extract(self) -> list:
|
|
110
|
+
documents = []
|
|
111
|
+
if self.path.is_file():
|
|
112
|
+
docs = self.load_video(self.path)
|
|
113
|
+
documents.extend(docs)
|
|
114
|
+
if self.path.is_dir():
|
|
115
|
+
# iterate over the files in the directory
|
|
116
|
+
for ext in self._extension:
|
|
117
|
+
for item in self.path.glob(f'*{ext}'):
|
|
118
|
+
if set(item.parts).isdisjoint(self.skip_directories):
|
|
119
|
+
documents.extend(self.load_video(item))
|
|
120
|
+
return documents
|
parrot/tools/google.py
CHANGED
|
@@ -107,7 +107,6 @@ class GoogleLocationFinder(BaseTool):
|
|
|
107
107
|
super().__init__(**kwargs)
|
|
108
108
|
self.google_key = kwargs.get('api_key', GOOGLE_API_KEY)
|
|
109
109
|
self.kwargs = kwargs
|
|
110
|
-
print(':: LOCATION FINDER STARTED :: ')
|
|
111
110
|
|
|
112
111
|
def extract_location(self, data):
|
|
113
112
|
city = state = state_code = zipcode = None
|
|
@@ -134,7 +133,6 @@ class GoogleLocationFinder(BaseTool):
|
|
|
134
133
|
self.base_url,
|
|
135
134
|
params=params
|
|
136
135
|
)
|
|
137
|
-
print('LOCATION FINDER > ', response)
|
|
138
136
|
if response.status_code == 200:
|
|
139
137
|
result = response.json()
|
|
140
138
|
if result['status'] == 'OK':
|
parrot/version.py
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
__title__ = "ai-parrot"
|
|
4
4
|
__description__ = "Live Chatbots based on Langchain chatbots and Agents \
|
|
5
5
|
Integrated into Navigator Framework or used into aiohttp applications."
|
|
6
|
-
__version__ = "0.
|
|
6
|
+
__version__ = "0.3.1"
|
|
7
7
|
__author__ = "Jesus Lara"
|
|
8
8
|
__author_email__ = "jesuslarag@gmail.com"
|
|
9
9
|
__license__ = "MIT"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|