ai-parrot 0.2.1__cp311-cp311-manylinux_2_28_x86_64.whl → 0.2.2__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.1
3
+ Version: 0.2.2
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,9 +4,9 @@ parrot/exceptions.cpython-311-x86_64-linux-gnu.so,sha256=p2epCb17B2DCUg3-CZizDQI
4
4
  parrot/manager.py,sha256=UShLbqfNyPvnGYHzprzQYwu_oj1L-Mhhk2qMRRnsfwo,5187
5
5
  parrot/models.py,sha256=GlyWMe2OCgM9dySm2BzK60yKOMHqFth7TYHidTWnioY,12513
6
6
  parrot/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
- parrot/version.py,sha256=ySJiD_gpM6lKn3IqSBYrc1kqg43oubJCIQHgj6rU0Z8,373
7
+ parrot/version.py,sha256=-soyx6MTab6HIEb_c5TDLZ5-rdqnRO3gWdWhzpWVQj8,373
8
8
  parrot/chatbots/__init__.py,sha256=ypskCnME0xUv6psBEGCEyXCrD0J0ULHSllpVmSxqb4A,200
9
- parrot/chatbots/abstract.py,sha256=sQsvcBmAnN9QRa2Ls-P72GOJixEoe5Pf6d4K8orM9d8,33278
9
+ parrot/chatbots/abstract.py,sha256=axQkULxAoWGzwa8OZdgVo202DYWLBULW8CrHLqrvbYE,33106
10
10
  parrot/chatbots/asktroc.py,sha256=gyWzyvpAnmXwXd-3DEKoIJtAxt6NnP5mUZdZbkFky8s,604
11
11
  parrot/chatbots/base.py,sha256=fXqCzxeA2dU2wYlOV7jCMF4S9_8ohqGMdUfm2VQTfQQ,8054
12
12
  parrot/chatbots/basic.py,sha256=DIMTPoGc90BRSlokeOdnjlEXAAfZlIFqxXWaMyAX9uk,232
@@ -17,7 +17,7 @@ parrot/chatbots/dataframe.py,sha256=CfZiLKIwnaku52nl2PNjciqRlH8m2lM4buO6xI7P408,
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=MfcCFvD4Z5mon7R9ZxGtbAONm36rsRRmYv-C_iwoGe8,19802
20
+ parrot/chatbots/retrievals/__init__.py,sha256=i6ExSr7k9rysBzMpweBS9gbKSxJDjIikrGCjwzt-Wh0,19575
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
@@ -102,8 +102,8 @@ resources/users/handlers.py,sha256=BGzqBvPY_OaIF_nONWX4b_B5OyyBrdGuSihIsdlFwjk,2
102
102
  resources/users/models.py,sha256=glk7Emv7QCi6i32xRFDrGc8UwK23_LPg0XUOJoHnwRU,6799
103
103
  settings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
104
104
  settings/settings.py,sha256=9ueEvyLNurUX-AaIeRPV8GKX1c4YjDLbksUAeqEq6Ck,1854
105
- ai_parrot-0.2.1.dist-info/LICENSE,sha256=vRKOoa7onTsLNvSzJtGtMaNhWWh8B3YAT733Tlu6M4o,1070
106
- ai_parrot-0.2.1.dist-info/METADATA,sha256=d1pyf6EdFGj4pmmk1wZFIFYKI6roPFZpgpSpf5f2_xw,9336
107
- ai_parrot-0.2.1.dist-info/WHEEL,sha256=czZm5XKxt3lM6KcAi6fwGhndrA0uZKYAkkvqX1vZAww,113
108
- ai_parrot-0.2.1.dist-info/top_level.txt,sha256=qHoO4BhYDfeTkyKnciZSQtn5FSLN3Q-P5xCTkyvbuxg,26
109
- ai_parrot-0.2.1.dist-info/RECORD,,
105
+ ai_parrot-0.2.2.dist-info/LICENSE,sha256=vRKOoa7onTsLNvSzJtGtMaNhWWh8B3YAT733Tlu6M4o,1070
106
+ ai_parrot-0.2.2.dist-info/METADATA,sha256=HQMbR7U-zS_IJUSlQwbU7zkDRgHIkFl3NQjYPQ8YaK8,9336
107
+ ai_parrot-0.2.2.dist-info/WHEEL,sha256=czZm5XKxt3lM6KcAi6fwGhndrA0uZKYAkkvqX1vZAww,113
108
+ ai_parrot-0.2.2.dist-info/top_level.txt,sha256=qHoO4BhYDfeTkyKnciZSQtn5FSLN3Q-P5xCTkyvbuxg,26
109
+ ai_parrot-0.2.2.dist-info/RECORD,,
@@ -626,9 +626,6 @@ class AbstractChatbot(ABC, DBInterface):
626
626
  )
627
627
  elif vector_db == 'MilvusStore':
628
628
  if MILVUS_ENABLED is True:
629
- print('EMBEDDINGS > ', self.embeddings)
630
- print('AQUI MILVUS >> ', embed)
631
- print('AQUI MILVUS >> ', self.embedding_model_name)
632
629
  self._store = MilvusStore(
633
630
  embeddings=embed,
634
631
  embedding_name=self.embedding_model_name,
@@ -124,7 +124,7 @@ class RetrievalManager:
124
124
  question: str = None,
125
125
  chain_type: str = 'stuff',
126
126
  search_type: str = 'similarity',
127
- search_kwargs: dict = {"k": 5, "fetch_k": 20, "lambda_mult": 0.89},
127
+ search_kwargs: dict = {"k": 4, "fetch_k": 10, "lambda_mult": 0.89},
128
128
  return_docs: bool = True,
129
129
  metric_type: str = None,
130
130
  memory: Any = None,
@@ -220,7 +220,7 @@ class RetrievalManager:
220
220
  question: str = None,
221
221
  chain_type: str = 'stuff',
222
222
  search_type: str = 'mmr',
223
- search_kwargs: dict = {"k": 5, "fetch_k": 40, "lambda_mult": 0.85},
223
+ search_kwargs: dict = {"k": 4, "fetch_k": 10, "lambda_mult": 0.89},
224
224
  return_docs: bool = True,
225
225
  metric_type: str = None,
226
226
  use_llm: str = None
@@ -452,19 +452,15 @@ class RetrievalManager:
452
452
  question: str = None,
453
453
  chain_type: str = 'stuff',
454
454
  search_type: str = 'similarity',
455
- search_kwargs: dict = {"k": 5, "fetch_k": 20, "lambda_mult": 0.89},
455
+ search_kwargs: dict = {"k": 4, "fetch_k": 10, "lambda_mult": 0.89},
456
456
  return_docs: bool = True,
457
457
  metric_type: str = None,
458
458
  memory: Any = None,
459
459
  **kwargs
460
460
  ):
461
461
  # Generating Vector:
462
- # print('COLLECTION > ', self.store.collection, self.store.embedding_name)
463
- # print('DB > ', self.store.database)
464
462
  async with self.store as store: #pylint: disable=E1101
465
463
  vector = store.get_vector(metric_type=metric_type)
466
- # docs = vector.similarity_search(question, k=1)
467
- # print('DOCS > ', docs)
468
464
  retriever = VectorStoreRetriever(
469
465
  vectorstore=vector,
470
466
  search_type=search_type,
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.1"
6
+ __version__ = "0.2.2"
7
7
  __author__ = "Jesus Lara"
8
8
  __author_email__ = "jesuslarag@gmail.com"
9
9
  __license__ = "MIT"