ai-parrot 0.2.7__cp311-cp311-manylinux_2_28_x86_64.whl → 0.3.0__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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ai-parrot
3
- Version: 0.2.7
3
+ Version: 0.3.0
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
@@ -95,7 +95,7 @@ Requires-Dist: huggingface-hub ==0.23.5
95
95
  Requires-Dist: llama-index ==0.10.20
96
96
  Requires-Dist: llama-cpp-python ==0.2.56
97
97
  Requires-Dist: asyncdb[all] >=2.7.10
98
- Requires-Dist: querysource[analytics] >=3.10.1
98
+ Requires-Dist: querysource >=3.10.1
99
99
  Requires-Dist: yfinance ==0.2.40
100
100
  Requires-Dist: youtube-search ==2.1.2
101
101
  Requires-Dist: wikipedia ==1.4.0
@@ -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=xEjtbWMHN7Dh_-7dUkLHuz1Ggdxq2bKaW7CrrH6bwY4,373
7
+ parrot/version.py,sha256=FGfo76wlKkd0zQ9C4qQseeRf_HKXNQSmd2Lfu8iOctk,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,12 +12,12 @@ 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=WDDNhjyH-xvOOA831E9qmPpGXGCpFbzO3vKj9zbfudg,2038
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
19
19
  parrot/chatbots/odoo.py,sha256=RMbANmJZP1_vLVGKRNBKmA8otyAiWPkvpA0rJ0U3tZk,796
20
- parrot/chatbots/retrievals/__init__.py,sha256=FV3RmHSeMWAG2kJkh5cDM8bR6dT9PzGfv6Y8qyLh3kQ,19590
20
+ parrot/chatbots/retrievals/__init__.py,sha256=Lx-bNLAbMYwi-eeh5ln_IvqvwKrnjB1tI9ieWKhQRXM,19589
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
@@ -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.2.7.dist-info/LICENSE,sha256=vRKOoa7onTsLNvSzJtGtMaNhWWh8B3YAT733Tlu6M4o,1070
107
- ai_parrot-0.2.7.dist-info/METADATA,sha256=3dyKDgSYCgNEXrjvET--EP7GMS261HKNyPOsAYCEl20,10421
108
- ai_parrot-0.2.7.dist-info/WHEEL,sha256=tFO7F0mawMNWa_NzTDA1ygqZBeMykVNIr04O5Zxk1TE,113
109
- ai_parrot-0.2.7.dist-info/top_level.txt,sha256=qHoO4BhYDfeTkyKnciZSQtn5FSLN3Q-P5xCTkyvbuxg,26
110
- ai_parrot-0.2.7.dist-info/RECORD,,
106
+ ai_parrot-0.3.0.dist-info/LICENSE,sha256=vRKOoa7onTsLNvSzJtGtMaNhWWh8B3YAT733Tlu6M4o,1070
107
+ ai_parrot-0.3.0.dist-info/METADATA,sha256=84sQiAphAjSB9xEqCw1DWLUfwbDciz-1hp8cekb_-MA,10410
108
+ ai_parrot-0.3.0.dist-info/WHEEL,sha256=tFO7F0mawMNWa_NzTDA1ygqZBeMykVNIr04O5Zxk1TE,113
109
+ ai_parrot-0.3.0.dist-info/top_level.txt,sha256=qHoO4BhYDfeTkyKnciZSQtn5FSLN3Q-P5xCTkyvbuxg,26
110
+ ai_parrot-0.3.0.dist-info/RECORD,,
@@ -54,6 +54,7 @@ class CopilotAgent(BaseAgent):
54
54
  except Exception as e:
55
55
  print('ERROR LOADING ZIPCODE TOOLS')
56
56
 
57
+ try:
57
58
  wk1 = WikipediaTool()
58
59
  wk12 = WikidataTool()
59
60
 
@@ -85,25 +85,25 @@ class RetrievalManager:
85
85
  self.request = request
86
86
 
87
87
  def __enter__(self):
88
- # self.client_id: str = str(uuid.uuid4())
89
- # self.client, self.client_id = self.store.connect()
88
+ self.client_id: str = str(uuid.uuid4())
89
+ self.client, _ = self.store.connect(alias=self.client_id)
90
90
  return self
91
91
 
92
92
  async def __aenter__(self):
93
- # self.client_id: str = str(uuid.uuid4())
94
- # self.client, self.client_id = self.store.connect()
93
+ self.client_id: str = str(uuid.uuid4())
94
+ self.client, _ = self.store.connect(alias=self.client_id)
95
95
  return self
96
96
 
97
97
  async def __aexit__(self, exc_type, exc_value, traceback):
98
- #self.client.close() # closing database connection
98
+ self.client.close() # closing database connection
99
99
  # closing the connection:
100
- # self.store.close(alias=self.client_id)
100
+ self.store.close(alias=self.client_id)
101
101
  pass
102
102
 
103
103
  def __exit__(self, exc_type, exc_value, traceback):
104
- # self.client.close() # closing database connection
104
+ self.client.close() # closing database connection
105
105
  # closing the connection:
106
- # self.store.close(alias=self.client_id)
106
+ self.store.close(alias=self.client_id)
107
107
  pass
108
108
 
109
109
  def create_memory(
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.2.7"
6
+ __version__ = "0.3.0"
7
7
  __author__ = "Jesus Lara"
8
8
  __author_email__ = "jesuslarag@gmail.com"
9
9
  __license__ = "MIT"