ai-parrot 0.2.4__cp311-cp311-manylinux_2_28_x86_64.whl → 0.2.5__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.4
3
+ Version: 0.2.5
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=cgiF0JS-canOaBVIYIt-zSJRtOQLZqe2eMPQjGonlGc,5939
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=kyyCtmrsmuMOE5McZnh2AM3REVoHFUTdFh73U1cmXVE,373
7
+ parrot/version.py,sha256=AaiY69n7AuoPnmB6WjTj2x60dJgRcJAKHS_d_3SO-G0,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
@@ -79,8 +79,8 @@ parrot/loaders/handlers/data.py,sha256=olZ2p-wyUMGoazah7tgHY7V9buGX1FOeJ-cv2vGEo
79
79
  parrot/loaders/utils/__init__.py,sha256=SkDyK3MuPGhp0NM6kHvaxQDe97Gcl3n9t5A741OVh1c,28
80
80
  parrot/loaders/utils/models.py,sha256=BHcnFzS7oOKUGG-vPy_TlqeFNAC8puRgsIMX2mSgKxY,1059
81
81
  parrot/stores/__init__.py,sha256=ZFjZvcLhcqJqndx9tiEANpyiude1fvjrCxyt2S42VqY,1496
82
- parrot/stores/abstract.py,sha256=hbRI6wJGCShMlfDc0UkQx7gD9r3LJrBpif6tAKXeDAE,5106
83
- parrot/stores/milvus.py,sha256=GqGzKhRrsOV5Tht2C3vHPfVVFRvh2cxjITtes30f28s,20448
82
+ parrot/stores/abstract.py,sha256=aqDhkVr5VwdKqg7StroIXf32-11MLyyMAlZuh5hJeCY,5138
83
+ parrot/stores/milvus.py,sha256=RKU0GX0Z1r-xocGesKgMNbBgfdO098xISvZOpDfb054,20450
84
84
  parrot/stores/qdrant.py,sha256=y-jG5sB6ICESyxdpyGBhQ-hgTDLxxPtM5xYZTWIRiAY,4720
85
85
  parrot/tools/__init__.py,sha256=XKZwogdGr6ObPfAGbzAdyDjFnXI286eapsi180VwdjE,614
86
86
  parrot/tools/abstract.py,sha256=pVSZw8MDpbVcQ-CHaGwP6CpqXHIs8hH8Oy1AqUuMmrw,1706
@@ -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.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,,
106
+ ai_parrot-0.2.5.dist-info/LICENSE,sha256=vRKOoa7onTsLNvSzJtGtMaNhWWh8B3YAT733Tlu6M4o,1070
107
+ ai_parrot-0.2.5.dist-info/METADATA,sha256=1plIbp5DK4AE62_7GB87hDDtNGwBccPLdcjEgio_k_8,10421
108
+ ai_parrot-0.2.5.dist-info/WHEEL,sha256=tFO7F0mawMNWa_NzTDA1ygqZBeMykVNIr04O5Zxk1TE,113
109
+ ai_parrot-0.2.5.dist-info/top_level.txt,sha256=qHoO4BhYDfeTkyKnciZSQtn5FSLN3Q-P5xCTkyvbuxg,26
110
+ ai_parrot-0.2.5.dist-info/RECORD,,
parrot/stores/abstract.py CHANGED
@@ -47,6 +47,7 @@ class AbstractStore(ABC):
47
47
  self.logger = logging.getLogger(f"Store.{__name__}")
48
48
  # client
49
49
  self._client = None
50
+ self._client_id = None
50
51
 
51
52
  @property
52
53
  def connected(self) -> bool:
@@ -61,7 +62,7 @@ class AbstractStore(ABC):
61
62
  self._embed_ = self.create_embedding(
62
63
  model_name=self.embedding_name
63
64
  )
64
- self._client, self.client_id = self.connect()
65
+ self._client, self._client_id = self.connect()
65
66
  return self
66
67
 
67
68
  @abstractmethod
parrot/stores/milvus.py CHANGED
@@ -163,7 +163,7 @@ class MilvusStore(AbstractStore):
163
163
  self._embed_ = None
164
164
  del self.tensor
165
165
  try:
166
- self.close(alias=self.client_id)
166
+ self.close(alias=self._client_id)
167
167
  torch.cuda.empty_cache()
168
168
  except RuntimeError:
169
169
  pass
@@ -175,7 +175,7 @@ class MilvusStore(AbstractStore):
175
175
  else:
176
176
  self._client_id = alias
177
177
  # making the connection:
178
- self._client, self.client_id = self.connect(
178
+ self._client, self._client_id = self.connect(
179
179
  alias=self._client_id
180
180
  )
181
181
  return self
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.4"
6
+ __version__ = "0.2.5"
7
7
  __author__ = "Jesus Lara"
8
8
  __author_email__ = "jesuslarag@gmail.com"
9
9
  __license__ = "MIT"