ai-parrot 0.2.7__tar.gz → 0.3.0__tar.gz

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.

Files changed (151) hide show
  1. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/PKG-INFO +2 -2
  2. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/ai_parrot.egg-info/PKG-INFO +2 -2
  3. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/ai_parrot.egg-info/requires.txt +1 -1
  4. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/chatbots/copilot.py +1 -0
  5. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/chatbots/retrievals/__init__.py +8 -8
  6. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/version.py +1 -1
  7. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/setup.py +1 -1
  8. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/.flake8 +0 -0
  9. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/.github/dependabot.yml +0 -0
  10. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/.github/workflows/codeql-analysis.yml +0 -0
  11. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/.github/workflows/release.yml +0 -0
  12. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/.gitignore +0 -0
  13. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/.isort.cfg +0 -0
  14. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/.pylintrc +0 -0
  15. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/INSTALL +0 -0
  16. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/LICENSE +0 -0
  17. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/Makefile +0 -0
  18. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/README.md +0 -0
  19. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/SECURITY.md +0 -0
  20. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/ai_parrot.egg-info/SOURCES.txt +0 -0
  21. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/ai_parrot.egg-info/dependency_links.txt +0 -0
  22. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/ai_parrot.egg-info/top_level.txt +0 -0
  23. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/app.py +0 -0
  24. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/documents/ex-code-loaders.txt +0 -0
  25. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/etc/navigator-ssl.ini +0 -0
  26. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/etc/navigator.ini +0 -0
  27. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/etc/ssl/domain.ext +0 -0
  28. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/etc/ssl/navigator.local.crt +0 -0
  29. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/etc/ssl/navigator.local.csr +0 -0
  30. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/etc/ssl/navigator.local.key +0 -0
  31. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/etc/ssl/rootCA.crt +0 -0
  32. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/etc/ssl/rootCA.key +0 -0
  33. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/etc/ssl/rootCA.srl +0 -0
  34. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/examples/check_bot.py +0 -0
  35. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/examples/test_bot.py +0 -0
  36. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/examples/test_question.py +0 -0
  37. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/mypy.ini +0 -0
  38. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/__init__.py +0 -0
  39. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/chatbots/__init__.py +0 -0
  40. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/chatbots/abstract.py +0 -0
  41. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/chatbots/asktroc.py +0 -0
  42. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/chatbots/base.py +0 -0
  43. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/chatbots/basic.py +0 -0
  44. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/chatbots/bose.py +0 -0
  45. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/chatbots/cody.py +0 -0
  46. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/chatbots/dataframe.py +0 -0
  47. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/chatbots/hragents.py +0 -0
  48. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/chatbots/odoo.py +0 -0
  49. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/chatbots/retrievals/constitutional.py +0 -0
  50. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/conf.py +0 -0
  51. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/crew/__init__.py +0 -0
  52. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/crew/tools/__init__.py +0 -0
  53. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/crew/tools/bing.py +0 -0
  54. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/crew/tools/config.py +0 -0
  55. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/crew/tools/duckgo.py +0 -0
  56. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/crew/tools/file.py +0 -0
  57. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/crew/tools/google.py +0 -0
  58. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/crew/tools/gtrends.py +0 -0
  59. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/crew/tools/md2pdf.py +0 -0
  60. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/crew/tools/rag.py +0 -0
  61. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/crew/tools/search.py +0 -0
  62. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/crew/tools/url.py +0 -0
  63. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/exceptions.c +0 -0
  64. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/exceptions.pyx +0 -0
  65. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/handlers/__init__.py +0 -0
  66. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/handlers/bots.py +0 -0
  67. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/handlers/chat.py +0 -0
  68. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/interfaces/__init__.py +0 -0
  69. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/interfaces/database.py +0 -0
  70. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/llms/__init__.py +0 -0
  71. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/llms/abstract.py +0 -0
  72. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/llms/anthropic.py +0 -0
  73. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/llms/google.py +0 -0
  74. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/llms/groq.py +0 -0
  75. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/llms/hf.py +0 -0
  76. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/llms/openai.py +0 -0
  77. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/llms/pipes.py +0 -0
  78. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/llms/vertex.py +0 -0
  79. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/loaders/__init__.py +0 -0
  80. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/loaders/abstract.py +0 -0
  81. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/loaders/audio.py +0 -0
  82. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/loaders/basepdf.py +0 -0
  83. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/loaders/basevideo.py +0 -0
  84. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/loaders/csv.py +0 -0
  85. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/loaders/dir.py +0 -0
  86. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/loaders/excel.py +0 -0
  87. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/loaders/github.py +0 -0
  88. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/loaders/handlers/__init__.py +0 -0
  89. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/loaders/handlers/data.py +0 -0
  90. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/loaders/image.py +0 -0
  91. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/loaders/json.py +0 -0
  92. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/loaders/pdf.py +0 -0
  93. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/loaders/pdfchapters.py +0 -0
  94. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/loaders/pdffn.py +0 -0
  95. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/loaders/pdfimages.py +0 -0
  96. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/loaders/pdfmark.py +0 -0
  97. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/loaders/pdftables.py +0 -0
  98. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/loaders/ppt.py +0 -0
  99. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/loaders/qa.py +0 -0
  100. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/loaders/repo.py +0 -0
  101. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/loaders/rtd.py +0 -0
  102. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/loaders/txt.py +0 -0
  103. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/loaders/utils/__init__.py +0 -0
  104. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/loaders/utils/models.py +0 -0
  105. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/loaders/video.py +0 -0
  106. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/loaders/videolocal.py +0 -0
  107. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/loaders/vimeo.py +0 -0
  108. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/loaders/web.py +0 -0
  109. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/loaders/web_base.py +0 -0
  110. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/loaders/word.py +0 -0
  111. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/loaders/youtube.py +0 -0
  112. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/manager.py +0 -0
  113. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/models.py +0 -0
  114. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/py.typed +0 -0
  115. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/stores/__init__.py +0 -0
  116. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/stores/abstract.py +0 -0
  117. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/stores/milvus.py +0 -0
  118. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/stores/qdrant.py +0 -0
  119. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/tools/__init__.py +0 -0
  120. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/tools/abstract.py +0 -0
  121. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/tools/asknews.py +0 -0
  122. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/tools/bing.py +0 -0
  123. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/tools/duck.py +0 -0
  124. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/tools/google.py +0 -0
  125. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/tools/stack.py +0 -0
  126. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/tools/weather.py +0 -0
  127. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/tools/wikipedia.py +0 -0
  128. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/tools/zipcode.py +0 -0
  129. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/utils/__init__.py +0 -0
  130. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/utils/parsers/__init__.py +0 -0
  131. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/utils/parsers/toml.c +0 -0
  132. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/utils/parsers/toml.pyx +0 -0
  133. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/utils/toml.py +0 -0
  134. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/utils/types.cpp +0 -0
  135. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/utils/types.pyx +0 -0
  136. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/parrot/utils/uv.py +0 -0
  137. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/pyproject.toml +0 -0
  138. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/pytest.ini +0 -0
  139. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/requirements/requirements-dev.txt +0 -0
  140. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/resources/__init__.py +0 -0
  141. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/resources/quick.py +0 -0
  142. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/resources/users/__init__.py +0 -0
  143. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/resources/users/handlers.py +0 -0
  144. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/resources/users/models.py +0 -0
  145. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/run.py +0 -0
  146. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/settings/__init__.py +0 -0
  147. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/settings/settings.py +0 -0
  148. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/setup.cfg +0 -0
  149. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/templates/.compiled +0 -0
  150. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/templates/README.md +0 -0
  151. {ai_parrot-0.2.7 → ai_parrot-0.3.0}/tox.ini +0 -0
@@ -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
@@ -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
@@ -64,7 +64,7 @@ huggingface-hub==0.23.5
64
64
  llama-index==0.10.20
65
65
  llama_cpp_python==0.2.56
66
66
  asyncdb[all]>=2.7.10
67
- querysource[analytics]>=3.10.1
67
+ querysource>=3.10.1
68
68
  yfinance==0.2.40
69
69
  youtube_search==2.1.2
70
70
  wikipedia==1.4.0
@@ -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(
@@ -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"
@@ -206,7 +206,7 @@ setup(
206
206
  "llama-index==0.10.20",
207
207
  "llama_cpp_python==0.2.56",
208
208
  "asyncdb[all]>=2.7.10",
209
- "querysource[analytics]>=3.10.1",
209
+ "querysource>=3.10.1",
210
210
  "yfinance==0.2.40",
211
211
  "youtube_search==2.1.2",
212
212
  "wikipedia==1.4.0",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes