ai-parrot 0.5.15__tar.gz → 0.8.1rc0__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 (289) hide show
  1. ai_parrot-0.8.1rc0/EDSR_x4.pb +0 -0
  2. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/Makefile +5 -5
  3. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/PKG-INFO +56 -35
  4. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/ai_parrot.egg-info/SOURCES.txt +52 -0
  5. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/app.py +7 -0
  6. ai_parrot-0.8.1rc0/faiss_index/index.faiss +0 -0
  7. ai_parrot-0.8.1rc0/faiss_index/index.pkl +0 -0
  8. ai_parrot-0.8.1rc0/parrot/__init__.py +30 -0
  9. ai_parrot-0.8.1rc0/parrot/__pycache__/__init__.cpython-311.pyc +0 -0
  10. ai_parrot-0.8.1rc0/parrot/__pycache__/conf.cpython-311.pyc +0 -0
  11. ai_parrot-0.8.1rc0/parrot/__pycache__/manager.cpython-311.pyc +0 -0
  12. ai_parrot-0.8.1rc0/parrot/__pycache__/models.cpython-311.pyc +0 -0
  13. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/__pycache__/version.cpython-311.pyc +0 -0
  14. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/__init__.py +2 -6
  15. ai_parrot-0.8.1rc0/parrot/bots/__pycache__/__init__.cpython-311.pyc +0 -0
  16. ai_parrot-0.8.1rc0/parrot/bots/__pycache__/abstract.cpython-311.pyc +0 -0
  17. ai_parrot-0.8.1rc0/parrot/bots/__pycache__/agent.cpython-311.pyc +0 -0
  18. ai_parrot-0.8.1rc0/parrot/bots/__pycache__/chatbot.cpython-311.pyc +0 -0
  19. ai_parrot-0.8.1rc0/parrot/bots/__pycache__/data.cpython-311.pyc +0 -0
  20. ai_parrot-0.8.1rc0/parrot/bots/__pycache__/notebook.cpython-311.pyc +0 -0
  21. ai_parrot-0.8.1rc0/parrot/bots/__pycache__/pd.cpython-311.pyc +0 -0
  22. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/abstract.py +197 -104
  23. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/agent.py +104 -16
  24. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/chatbot.py +9 -0
  25. ai_parrot-0.8.1rc0/parrot/bots/data.py +730 -0
  26. ai_parrot-0.8.1rc0/parrot/bots/notebook.py +619 -0
  27. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/prompts/__init__.py +1 -1
  28. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/prompts/__pycache__/__init__.cpython-311.pyc +0 -0
  29. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/prompts/__pycache__/agents.cpython-311.pyc +0 -0
  30. ai_parrot-0.8.1rc0/parrot/bots/prompts/__pycache__/data.cpython-311.pyc +0 -0
  31. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/prompts/agents.py +35 -37
  32. ai_parrot-0.8.1rc0/parrot/bots/prompts/data.py +214 -0
  33. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/retrievals/__pycache__/multi.cpython-311.pyc +0 -0
  34. ai_parrot-0.8.1rc0/parrot/bots/tools/__init__.py +7 -0
  35. ai_parrot-0.8.1rc0/parrot/bots/tools/__pycache__/__init__.cpython-311.pyc +0 -0
  36. ai_parrot-0.8.1rc0/parrot/bots/tools/__pycache__/eda.cpython-311.pyc +0 -0
  37. ai_parrot-0.8.1rc0/parrot/bots/tools/__pycache__/gamma.cpython-311.pyc +0 -0
  38. ai_parrot-0.8.1rc0/parrot/bots/tools/__pycache__/pdf.cpython-311.pyc +0 -0
  39. ai_parrot-0.8.1rc0/parrot/bots/tools/__pycache__/plot.cpython-311.pyc +0 -0
  40. ai_parrot-0.8.1rc0/parrot/bots/tools/eda.py +325 -0
  41. ai_parrot-0.8.1rc0/parrot/bots/tools/pdf.py +50 -0
  42. ai_parrot-0.8.1rc0/parrot/bots/tools/plot.py +48 -0
  43. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/conf.py +27 -3
  44. ai_parrot-0.8.1rc0/parrot/handlers/__pycache__/agents.cpython-311.pyc +0 -0
  45. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/handlers/__pycache__/chat.cpython-311.pyc +0 -0
  46. ai_parrot-0.8.1rc0/parrot/handlers/agents.py +292 -0
  47. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/handlers/chat.py +8 -1
  48. ai_parrot-0.8.1rc0/parrot/interfaces/__pycache__/database.cpython-311.pyc +0 -0
  49. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/interfaces/__pycache__/http.cpython-311.pyc +0 -0
  50. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/interfaces/database.py +1 -3
  51. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/interfaces/http.py +2 -2
  52. ai_parrot-0.8.1rc0/parrot/interfaces/images/plugins/__init__.py +18 -0
  53. ai_parrot-0.8.1rc0/parrot/interfaces/images/plugins/abstract.py +58 -0
  54. ai_parrot-0.8.1rc0/parrot/interfaces/images/plugins/exif.py +427 -0
  55. ai_parrot-0.8.1rc0/parrot/interfaces/images/plugins/hash.py +52 -0
  56. ai_parrot-0.8.1rc0/parrot/interfaces/images/plugins/vision.py +104 -0
  57. ai_parrot-0.8.1rc0/parrot/interfaces/images/plugins/yolo.py +66 -0
  58. ai_parrot-0.8.1rc0/parrot/interfaces/images/plugins/zerodetect.py +197 -0
  59. ai_parrot-0.8.1rc0/parrot/llms/__init__.py +1 -0
  60. ai_parrot-0.8.1rc0/parrot/llms/__pycache__/__init__.cpython-311.pyc +0 -0
  61. ai_parrot-0.8.1rc0/parrot/llms/__pycache__/abstract.cpython-311.pyc +0 -0
  62. ai_parrot-0.8.1rc0/parrot/llms/__pycache__/anthropic.cpython-311.pyc +0 -0
  63. ai_parrot-0.8.1rc0/parrot/llms/__pycache__/gemma.cpython-311.pyc +0 -0
  64. ai_parrot-0.8.1rc0/parrot/llms/__pycache__/google.cpython-311.pyc +0 -0
  65. ai_parrot-0.8.1rc0/parrot/llms/__pycache__/groq.cpython-311.pyc +0 -0
  66. ai_parrot-0.8.1rc0/parrot/llms/__pycache__/openai.cpython-311.pyc +0 -0
  67. ai_parrot-0.8.1rc0/parrot/llms/__pycache__/vertex.cpython-311.pyc +0 -0
  68. ai_parrot-0.8.1rc0/parrot/llms/abstract.py +69 -0
  69. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/llms/anthropic.py +19 -7
  70. ai_parrot-0.8.1rc0/parrot/llms/gemma.py +15 -0
  71. ai_parrot-0.8.1rc0/parrot/llms/google.py +44 -0
  72. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/llms/groq.py +23 -5
  73. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/llms/openai.py +25 -10
  74. ai_parrot-0.8.1rc0/parrot/llms/vertex.py +89 -0
  75. ai_parrot-0.8.1rc0/parrot/loaders/__init__.py +9 -0
  76. ai_parrot-0.8.1rc0/parrot/loaders/__pycache__/__init__.cpython-311.pyc +0 -0
  77. ai_parrot-0.8.1rc0/parrot/loaders/__pycache__/abstract.cpython-311.pyc +0 -0
  78. ai_parrot-0.8.1rc0/parrot/loaders/__pycache__/txt.cpython-311.pyc +0 -0
  79. ai_parrot-0.8.1rc0/parrot/loaders/abstract.py +628 -0
  80. ai_parrot-0.8.1rc0/parrot/loaders/files/__init__.py +0 -0
  81. ai_parrot-0.8.1rc0/parrot/loaders/files/__pycache__/__init__.cpython-311.pyc +0 -0
  82. ai_parrot-0.8.1rc0/parrot/loaders/files/__pycache__/abstract.cpython-311.pyc +0 -0
  83. ai_parrot-0.8.1rc0/parrot/loaders/files/__pycache__/text.cpython-311.pyc +0 -0
  84. ai_parrot-0.8.1rc0/parrot/loaders/files/abstract.py +39 -0
  85. ai_parrot-0.8.1rc0/parrot/loaders/files/text.py +63 -0
  86. ai_parrot-0.8.1rc0/parrot/loaders/txt.py +26 -0
  87. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/manager.py +151 -4
  88. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/models.py +115 -3
  89. ai_parrot-0.8.1rc0/parrot/py.typed +0 -0
  90. ai_parrot-0.8.1rc0/parrot/stores/embeddings/__pycache__/base.cpython-311.pyc +0 -0
  91. ai_parrot-0.8.1rc0/parrot/stores/embeddings/__pycache__/transformers.cpython-311.pyc +0 -0
  92. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/stores/embeddings/base.py +11 -6
  93. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/tools/__init__.py +3 -0
  94. ai_parrot-0.8.1rc0/parrot/tools/__pycache__/__init__.cpython-311.pyc +0 -0
  95. ai_parrot-0.8.1rc0/parrot/tools/__pycache__/abstract.cpython-311.pyc +0 -0
  96. ai_parrot-0.8.1rc0/parrot/tools/__pycache__/basic.cpython-311.pyc +0 -0
  97. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/tools/__pycache__/bby.cpython-311.pyc +0 -0
  98. ai_parrot-0.8.1rc0/parrot/tools/__pycache__/docx.cpython-311.pyc +0 -0
  99. ai_parrot-0.8.1rc0/parrot/tools/__pycache__/duck.cpython-311.pyc +0 -0
  100. ai_parrot-0.8.1rc0/parrot/tools/__pycache__/gamma.cpython-311.pyc +0 -0
  101. ai_parrot-0.8.1rc0/parrot/tools/__pycache__/gvoice.cpython-311.pyc +0 -0
  102. ai_parrot-0.8.1rc0/parrot/tools/__pycache__/results.cpython-311.pyc +0 -0
  103. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/tools/abstract.py +4 -0
  104. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/tools/basic.py +3 -5
  105. ai_parrot-0.8.1rc0/parrot/tools/docx.py +343 -0
  106. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/tools/duck.py +2 -2
  107. ai_parrot-0.8.1rc0/parrot/tools/gamma.py +28 -0
  108. ai_parrot-0.8.1rc0/parrot/tools/gvoice.py +301 -0
  109. ai_parrot-0.8.1rc0/parrot/tools/results.py +278 -0
  110. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/version.py +1 -1
  111. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/setup.py +63 -37
  112. ai_parrot-0.8.1rc0/test_notebook_agent.py +185 -0
  113. ai_parrot-0.5.15/parrot/__init__.py +0 -21
  114. ai_parrot-0.5.15/parrot/__pycache__/__init__.cpython-311.pyc +0 -0
  115. ai_parrot-0.5.15/parrot/__pycache__/conf.cpython-311.pyc +0 -0
  116. ai_parrot-0.5.15/parrot/__pycache__/manager.cpython-311.pyc +0 -0
  117. ai_parrot-0.5.15/parrot/__pycache__/models.cpython-311.pyc +0 -0
  118. ai_parrot-0.5.15/parrot/bots/__pycache__/__init__.cpython-311.pyc +0 -0
  119. ai_parrot-0.5.15/parrot/bots/__pycache__/abstract.cpython-311.pyc +0 -0
  120. ai_parrot-0.5.15/parrot/bots/__pycache__/agent.cpython-311.pyc +0 -0
  121. ai_parrot-0.5.15/parrot/bots/__pycache__/chatbot.cpython-311.pyc +0 -0
  122. ai_parrot-0.5.15/parrot/interfaces/__pycache__/database.cpython-311.pyc +0 -0
  123. ai_parrot-0.5.15/parrot/llms/__init__.py +0 -137
  124. ai_parrot-0.5.15/parrot/llms/__pycache__/__init__.cpython-311.pyc +0 -0
  125. ai_parrot-0.5.15/parrot/llms/__pycache__/abstract.cpython-311.pyc +0 -0
  126. ai_parrot-0.5.15/parrot/llms/__pycache__/anthropic.cpython-311.pyc +0 -0
  127. ai_parrot-0.5.15/parrot/llms/__pycache__/google.cpython-311.pyc +0 -0
  128. ai_parrot-0.5.15/parrot/llms/__pycache__/groq.cpython-311.pyc +0 -0
  129. ai_parrot-0.5.15/parrot/llms/__pycache__/openai.cpython-311.pyc +0 -0
  130. ai_parrot-0.5.15/parrot/llms/__pycache__/vertex.cpython-311.pyc +0 -0
  131. ai_parrot-0.5.15/parrot/llms/abstract.py +0 -47
  132. ai_parrot-0.5.15/parrot/llms/google.py +0 -33
  133. ai_parrot-0.5.15/parrot/llms/vertex.py +0 -71
  134. ai_parrot-0.5.15/parrot/stores/embeddings/__pycache__/base.cpython-311.pyc +0 -0
  135. ai_parrot-0.5.15/parrot/stores/embeddings/__pycache__/transformers.cpython-311.pyc +0 -0
  136. ai_parrot-0.5.15/parrot/tools/__pycache__/__init__.cpython-311.pyc +0 -0
  137. ai_parrot-0.5.15/parrot/tools/__pycache__/abstract.cpython-311.pyc +0 -0
  138. ai_parrot-0.5.15/parrot/tools/__pycache__/basic.cpython-311.pyc +0 -0
  139. ai_parrot-0.5.15/parrot/tools/__pycache__/duck.cpython-311.pyc +0 -0
  140. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/.flake8 +0 -0
  141. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/.github/dependabot.yml +0 -0
  142. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/.github/workflows/codeql-analysis.yml +0 -0
  143. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/.github/workflows/release.yml +0 -0
  144. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/.gitignore +0 -0
  145. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/.isort.cfg +0 -0
  146. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/.pylintrc +0 -0
  147. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/INSTALL +0 -0
  148. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/LICENSE +0 -0
  149. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/MANIFEST.in +0 -0
  150. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/README.md +0 -0
  151. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/SECURITY.md +0 -0
  152. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/mypy.ini +0 -0
  153. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/__pycache__/a.cpython-311.pyc +0 -0
  154. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/__pycache__/askbrett.cpython-311.pyc +0 -0
  155. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/__pycache__/asktroc.cpython-311.pyc +0 -0
  156. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/__pycache__/base.cpython-311.pyc +0 -0
  157. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/__pycache__/basic.cpython-311.pyc +0 -0
  158. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/__pycache__/bose.cpython-311.pyc +0 -0
  159. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/__pycache__/cody.cpython-311.pyc +0 -0
  160. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/__pycache__/copilot.cpython-311.pyc +0 -0
  161. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/__pycache__/dataframe.cpython-311.pyc +0 -0
  162. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/__pycache__/hragents.cpython-311.pyc +0 -0
  163. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/__pycache__/hrbot.cpython-311.pyc +0 -0
  164. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/__pycache__/oddie.cpython-311.pyc +0 -0
  165. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/__pycache__/odoo.cpython-311.pyc +0 -0
  166. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/__pycache__/troc.cpython-311.pyc +0 -0
  167. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/basic.py +0 -0
  168. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/bose.py +0 -0
  169. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/cody.py +0 -0
  170. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/copilot.py +0 -0
  171. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/dataframe.py +0 -0
  172. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/hrbot.py +0 -0
  173. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/interfaces/__init__.py +0 -0
  174. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/interfaces/__pycache__/__init__.cpython-311.pyc +0 -0
  175. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/interfaces/__pycache__/retrievers.cpython-311.pyc +0 -0
  176. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/interfaces/retrievers.py +0 -0
  177. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/odoo.py +0 -0
  178. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/retrievals/__init__.py +0 -0
  179. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/retrievals/__pycache__/__init__.cpython-311.pyc +0 -0
  180. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/retrievals/constitutional.py +0 -0
  181. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/retrievals/multi.py +0 -0
  182. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/retrievals/retrieval.py +0 -0
  183. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/bots/troc.py +0 -0
  184. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/crew/__init__.py +0 -0
  185. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/crew/__pycache__/__init__.cpython-311.pyc +0 -0
  186. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/crew/tools/__init__.py +0 -0
  187. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/crew/tools/__pycache__/__init__.cpython-311.pyc +0 -0
  188. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/crew/tools/__pycache__/bing.cpython-311.pyc +0 -0
  189. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/crew/tools/__pycache__/config.cpython-311.pyc +0 -0
  190. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/crew/tools/__pycache__/duckgo.cpython-311.pyc +0 -0
  191. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/crew/tools/__pycache__/file.cpython-311.pyc +0 -0
  192. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/crew/tools/__pycache__/google.cpython-311.pyc +0 -0
  193. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/crew/tools/__pycache__/md2pdf.cpython-311.pyc +0 -0
  194. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/crew/tools/__pycache__/rag.cpython-311.pyc +0 -0
  195. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/crew/tools/__pycache__/url.cpython-311.pyc +0 -0
  196. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/crew/tools/__pycache__/weather.cpython-311.pyc +0 -0
  197. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/crew/tools/bing.py +0 -0
  198. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/crew/tools/config.py +0 -0
  199. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/crew/tools/duckgo.py +0 -0
  200. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/crew/tools/file.py +0 -0
  201. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/crew/tools/google.py +0 -0
  202. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/crew/tools/gtrends.py +0 -0
  203. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/crew/tools/md2pdf.py +0 -0
  204. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/crew/tools/rag.py +0 -0
  205. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/crew/tools/search.py +0 -0
  206. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/crew/tools/url.py +0 -0
  207. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/exceptions.c +0 -0
  208. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/exceptions.cpython-311-x86_64-linux-gnu.so +0 -0
  209. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/exceptions.pxd +0 -0
  210. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/exceptions.pyx +0 -0
  211. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/handlers/__init__.py +0 -0
  212. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/handlers/__pycache__/__init__.cpython-311.pyc +0 -0
  213. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/handlers/__pycache__/bots.cpython-311.pyc +0 -0
  214. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/handlers/bots.py +0 -0
  215. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/interfaces/__init__.py +0 -0
  216. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/interfaces/__pycache__/__init__.cpython-311.pyc +0 -0
  217. /ai_parrot-0.5.15/parrot/py.typed → /ai_parrot-0.8.1rc0/parrot/interfaces/images/__init__.py +0 -0
  218. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/llms/__pycache__/hf.cpython-311.pyc +0 -0
  219. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/llms/__pycache__/pipes.cpython-311.pyc +0 -0
  220. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/llms/hf.py +0 -0
  221. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/llms/pipes.py +0 -0
  222. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/stores/__init__.py +0 -0
  223. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/stores/__pycache__/__init__.cpython-311.pyc +0 -0
  224. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/stores/__pycache__/abstract.cpython-311.pyc +0 -0
  225. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/stores/__pycache__/base.cpython-311.pyc +0 -0
  226. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/stores/__pycache__/chroma.cpython-311.pyc +0 -0
  227. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/stores/__pycache__/duck.cpython-311.pyc +0 -0
  228. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/stores/__pycache__/empty.cpython-311.pyc +0 -0
  229. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/stores/__pycache__/faiss.cpython-311.pyc +0 -0
  230. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/stores/__pycache__/milvus.cpython-311.pyc +0 -0
  231. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/stores/__pycache__/postgres.cpython-311.pyc +0 -0
  232. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/stores/__pycache__/qdrant.cpython-311.pyc +0 -0
  233. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/stores/abstract.py +0 -0
  234. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/stores/chroma.py +0 -0
  235. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/stores/duck.py +0 -0
  236. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/stores/embeddings/__init__.py +0 -0
  237. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/stores/embeddings/__pycache__/__init__.cpython-311.pyc +0 -0
  238. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/stores/embeddings/__pycache__/abstract.cpython-311.pyc +0 -0
  239. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/stores/embeddings/__pycache__/huggingface.cpython-311.pyc +0 -0
  240. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/stores/embeddings/abstract.py +0 -0
  241. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/stores/embeddings/bge.py +0 -0
  242. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/stores/embeddings/fastembed.py +0 -0
  243. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/stores/embeddings/google.py +0 -0
  244. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/stores/embeddings/huggingface.py +0 -0
  245. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/stores/embeddings/ollama.py +0 -0
  246. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/stores/embeddings/openai.py +0 -0
  247. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/stores/embeddings/transformers.py +0 -0
  248. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/stores/embeddings/vertexai.py +0 -0
  249. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/stores/empty.py +0 -0
  250. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/stores/faiss.py +0 -0
  251. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/stores/milvus.py +0 -0
  252. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/stores/postgres.py +0 -0
  253. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/stores/qdrant.py +0 -0
  254. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/tools/__pycache__/asknews.cpython-311.pyc +0 -0
  255. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/tools/__pycache__/bing.cpython-311.pyc +0 -0
  256. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/tools/__pycache__/execute.cpython-311.pyc +0 -0
  257. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/tools/__pycache__/google.cpython-311.pyc +0 -0
  258. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/tools/__pycache__/stack.cpython-311.pyc +0 -0
  259. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/tools/__pycache__/weather.cpython-311.pyc +0 -0
  260. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/tools/__pycache__/wikipedia.cpython-311.pyc +0 -0
  261. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/tools/__pycache__/zipcode.cpython-311.pyc +0 -0
  262. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/tools/asknews.py +0 -0
  263. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/tools/bby.py +0 -0
  264. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/tools/bing.py +0 -0
  265. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/tools/execute.py +0 -0
  266. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/tools/google.py +0 -0
  267. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/tools/stack.py +0 -0
  268. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/tools/weather.py +0 -0
  269. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/tools/wikipedia.py +0 -0
  270. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/tools/zipcode.py +0 -0
  271. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/utils/__init__.py +0 -0
  272. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/utils/__pycache__/__init__.cpython-311.pyc +0 -0
  273. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/utils/__pycache__/toml.cpython-311.pyc +0 -0
  274. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/utils/parsers/__init__.py +0 -0
  275. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/utils/parsers/__pycache__/__init__.cpython-311.pyc +0 -0
  276. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/utils/parsers/toml.c +0 -0
  277. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/utils/parsers/toml.cpython-311-x86_64-linux-gnu.so +0 -0
  278. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/utils/parsers/toml.pyx +0 -0
  279. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/utils/toml.py +0 -0
  280. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/utils/types.cpp +0 -0
  281. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/utils/types.cpython-311-x86_64-linux-gnu.so +0 -0
  282. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/utils/types.pyx +0 -0
  283. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/parrot/utils/uv.py +0 -0
  284. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/pyproject.toml +0 -0
  285. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/pytest.ini +0 -0
  286. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/requirements/requirements-dev.txt +0 -0
  287. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/run.py +0 -0
  288. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/setup.cfg +0 -0
  289. {ai_parrot-0.5.15 → ai_parrot-0.8.1rc0}/tox.ini +0 -0
Binary file
@@ -15,13 +15,13 @@ install:
15
15
  # pip install --upgrade querysource[analytics]
16
16
  pip install --upgrade querysource
17
17
  # and Parrot:
18
- pip install -e .[google,milvus,groq,agents]
19
- # downgrade pydantic (google requirement)
20
- pip install pydantic==2.9.2
18
+ pip install -e .[google,milvus,groq,agents,vector,images,loaders,openai,anthropic,google]
19
+ # (google requirement)
20
+ # pip install pydantic==2.9.2
21
21
  # avoid warning of google-gemini:
22
- pip install grpcio==1.67.1
22
+ # pip install grpcio==1.67.1
23
23
  # fix version of httpx:
24
- pip install httpx==0.27.2
24
+ # pip install httpx==0.27.2
25
25
 
26
26
  develop:
27
27
  # Install Parrot
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: ai-parrot
3
- Version: 0.5.15
3
+ Version: 0.8.1rc0
4
4
  Summary: Live Chatbots based on Langchain chatbots and Agents Integrated into Navigator Framework or used into any aiohttp applications.
5
5
  Home-page: https://github.com/phenobarbital/ai-parrot
6
6
  Author: Jesus Lara
@@ -30,45 +30,67 @@ Requires-Python: >=3.9.20
30
30
  Description-Content-Type: text/markdown
31
31
  License-File: LICENSE
32
32
  Requires-Dist: Cython==3.0.11
33
- Requires-Dist: langchain>=0.3.19
34
- Requires-Dist: langchain-core==0.3.40
35
- Requires-Dist: langchain-community==0.3.18
33
+ Requires-Dist: langchain>=0.3.25
34
+ Requires-Dist: langchain-core==0.3.58
35
+ Requires-Dist: langchain-community==0.3.21
36
36
  Requires-Dist: langchain-experimental==0.3.4
37
- Requires-Dist: langchain-text-splitters==0.3.6
37
+ Requires-Dist: langchain-text-splitters==0.3.8
38
38
  Requires-Dist: langchainhub==0.1.21
39
- Requires-Dist: huggingface-hub==0.29.1
40
- Requires-Dist: langgraph==0.3.0
39
+ Requires-Dist: huggingface-hub==0.30.2
40
+ Requires-Dist: langgraph==0.3.27
41
41
  Requires-Dist: faiss-cpu>=1.9.0
42
42
  Requires-Dist: jq==1.7.0
43
43
  Requires-Dist: rank_bm25==0.2.2
44
- Requires-Dist: matplotlib==3.9.2
45
44
  Requires-Dist: tabulate==0.9.0
46
- Requires-Dist: selenium>=4.18.1
47
- Requires-Dist: webdriver_manager>=4.0.1
48
45
  Requires-Dist: transitions==0.9.0
49
46
  Requires-Dist: sentencepiece==0.2.0
50
- Requires-Dist: weasyprint==61.2
51
47
  Requires-Dist: markdown2==2.4.13
52
- Requires-Dist: psycopg-binary==3.2.5
48
+ Requires-Dist: psycopg-binary==3.2.6
49
+ Requires-Dist: langchain_postgres==0.0.14
50
+ Requires-Dist: python-datamodel>=0.10.17
51
+ Requires-Dist: backoff==2.2.1
52
+ Requires-Dist: asyncdb>=2.11.6
53
+ Requires-Dist: google-cloud-bigquery==3.30.0
54
+ Requires-Dist: numexpr==2.10.2
55
+ Requires-Dist: fpdf==1.7.2
56
+ Requires-Dist: python-docx==1.1.2
53
57
  Provides-Extra: agents
54
- Requires-Dist: numexpr==2.10.2; extra == "agents"
55
- Requires-Dist: numba==0.59.0; extra == "agents"
56
58
  Requires-Dist: yfinance==0.2.54; extra == "agents"
57
59
  Requires-Dist: youtube_search==2.1.2; extra == "agents"
58
60
  Requires-Dist: wikipedia==1.4.0; extra == "agents"
59
61
  Requires-Dist: mediawikiapi==1.2; extra == "agents"
60
62
  Requires-Dist: wikibase-rest-api-client==0.2.2; extra == "agents"
61
- Requires-Dist: asknews>=0.10.0; extra == "agents"
62
63
  Requires-Dist: pyowm==3.3.0; extra == "agents"
63
64
  Requires-Dist: O365==2.0.35; extra == "agents"
64
65
  Requires-Dist: stackapi==0.3.1; extra == "agents"
65
66
  Requires-Dist: duckduckgo-search==7.5.0; extra == "agents"
66
67
  Requires-Dist: google-search-results==2.4.2; extra == "agents"
67
- Requires-Dist: google-api-python-client>=2.86.0; extra == "agents"
68
- Requires-Dist: google-api-core==2.24.1; extra == "agents"
69
- Requires-Dist: grpcio-status==1.67.1; extra == "agents"
68
+ Requires-Dist: google-api-python-client>=2.151.0; extra == "agents"
69
+ Requires-Dist: pomegranate==1.1.0; extra == "agents"
70
+ Requires-Dist: autoviz==0.1.905; extra == "agents"
71
+ Requires-Dist: spacy==3.8.5; extra == "agents"
72
+ Provides-Extra: loaders
73
+ Requires-Dist: mammoth==1.8.0; extra == "loaders"
74
+ Requires-Dist: markdownify==1.1.0; extra == "loaders"
75
+ Requires-Dist: python-docx==1.1.2; extra == "loaders"
76
+ Requires-Dist: pymupdf==1.25.5; extra == "loaders"
77
+ Requires-Dist: pymupdf4llm==0.0.22; extra == "loaders"
78
+ Requires-Dist: pdf4llm==0.0.22; extra == "loaders"
79
+ Requires-Dist: langchain-huggingface==0.1.2; extra == "loaders"
80
+ Provides-Extra: images
81
+ Requires-Dist: torchvision==0.21.0; extra == "images"
82
+ Requires-Dist: timm==1.0.15; extra == "images"
83
+ Requires-Dist: ultralytics==8.3.121; extra == "images"
84
+ Requires-Dist: albumentations==2.0.6; extra == "images"
85
+ Requires-Dist: filetype==1.2.0; extra == "images"
86
+ Requires-Dist: imagehash==4.3.1; extra == "images"
87
+ Requires-Dist: pgvector==0.3.6; extra == "images"
88
+ Requires-Dist: pyheif==0.8.0; extra == "images"
89
+ Requires-Dist: exif==1.6.1; extra == "images"
90
+ Requires-Dist: pillow-avif-plugin==1.5.2; extra == "images"
91
+ Requires-Dist: pillow-heif==0.22.0; extra == "images"
70
92
  Provides-Extra: vector
71
- Requires-Dist: torch==2.5.1; extra == "vector"
93
+ Requires-Dist: torch<=2.6.0,>=2.5.1; extra == "vector"
72
94
  Requires-Dist: langchain_huggingface==0.1.2; extra == "vector"
73
95
  Requires-Dist: fastembed==0.3.4; extra == "vector"
74
96
  Requires-Dist: tiktoken==0.7.0; extra == "vector"
@@ -78,36 +100,34 @@ Requires-Dist: llama_cpp_python==0.2.56; extra == "vector"
78
100
  Requires-Dist: bitsandbytes==0.44.1; extra == "vector"
79
101
  Requires-Dist: datasets>=3.0.2; extra == "vector"
80
102
  Requires-Dist: safetensors>=0.4.3; extra == "vector"
81
- Requires-Dist: transformers>=4.44.2; extra == "vector"
82
- Requires-Dist: sentence-transformers==3.4.1; extra == "vector"
103
+ Requires-Dist: transformers<=4.51.2,>=4.44.2; extra == "vector"
104
+ Requires-Dist: sentence-transformers==4.0.2; extra == "vector"
83
105
  Requires-Dist: tokenizers==0.20.1; extra == "vector"
84
- Requires-Dist: torchvision==0.20.1; extra == "vector"
85
106
  Requires-Dist: tensorflow==2.18.0; extra == "vector"
86
107
  Requires-Dist: tf-keras==2.18.0; extra == "vector"
87
- Requires-Dist: simsimd==4.3.1; extra == "vector"
108
+ Requires-Dist: simsimd>=4.3.1; extra == "vector"
88
109
  Requires-Dist: opencv-python==4.10.0.84; extra == "vector"
89
- Requires-Dist: langchain-postgres==0.0.13; extra == "vector"
90
110
  Requires-Dist: langchain_chroma==0.2.2; extra == "vector"
91
111
  Requires-Dist: chromadb==0.6.3; extra == "vector"
92
112
  Requires-Dist: langchain_duckdb==0.1.1; extra == "vector"
93
113
  Requires-Dist: langchain-ollama==0.2.3; extra == "vector"
94
114
  Provides-Extra: anthropic
95
- Requires-Dist: langchain-anthropic==0.2.4; extra == "anthropic"
96
- Requires-Dist: anthropic==0.25.2; extra == "anthropic"
115
+ Requires-Dist: anthropic==0.50.0; extra == "anthropic"
116
+ Requires-Dist: langchain_anthropic==0.3.12; extra == "anthropic"
97
117
  Provides-Extra: openai
98
- Requires-Dist: langchain-openai==0.1.21; extra == "openai"
99
- Requires-Dist: openai==1.40.3; extra == "openai"
100
- Requires-Dist: llama-index-llms-openai==0.1.11; extra == "openai"
118
+ Requires-Dist: langchain_openai==0.3.16; extra == "openai"
119
+ Requires-Dist: openai==1.76.2; extra == "openai"
101
120
  Requires-Dist: tiktoken==0.7.0; extra == "openai"
102
121
  Provides-Extra: google
103
- Requires-Dist: langchain-google-genai==2.0.1; extra == "google"
104
- Requires-Dist: langchain-google-vertexai==2.0.5; extra == "google"
105
- Requires-Dist: vertexai==1.71.1; extra == "google"
122
+ Requires-Dist: langchain-google-genai>=2.1.4; extra == "google"
123
+ Requires-Dist: langchain-google-vertexai>=2.0.10; extra == "google"
124
+ Requires-Dist: google-cloud-texttospeech==2.26.0; extra == "google"
125
+ Requires-Dist: google-genai>=1.0.0; extra == "google"
106
126
  Provides-Extra: hunggingfaces
107
127
  Requires-Dist: llama-index-llms-huggingface==0.2.7; extra == "hunggingfaces"
108
128
  Provides-Extra: groq
109
- Requires-Dist: groq==0.11.0; extra == "groq"
110
- Requires-Dist: langchain-groq==0.2.0; extra == "groq"
129
+ Requires-Dist: groq==0.22.0; extra == "groq"
130
+ Requires-Dist: langchain-groq==0.3.2; extra == "groq"
111
131
  Provides-Extra: qdrant
112
132
  Requires-Dist: qdrant-client==1.13.2; extra == "qdrant"
113
133
  Requires-Dist: langchain-qdrant==0.2.0; extra == "qdrant"
@@ -135,6 +155,7 @@ Dynamic: description-content-type
135
155
  Dynamic: home-page
136
156
  Dynamic: keywords
137
157
  Dynamic: license
158
+ Dynamic: license-file
138
159
  Dynamic: platform
139
160
  Dynamic: project-url
140
161
  Dynamic: provides-extra
@@ -2,6 +2,7 @@
2
2
  .gitignore
3
3
  .isort.cfg
4
4
  .pylintrc
5
+ EDSR_x4.pb
5
6
  INSTALL
6
7
  LICENSE
7
8
  MANIFEST.in
@@ -14,10 +15,13 @@ pyproject.toml
14
15
  pytest.ini
15
16
  run.py
16
17
  setup.py
18
+ test_notebook_agent.py
17
19
  tox.ini
18
20
  .github/dependabot.yml
19
21
  .github/workflows/codeql-analysis.yml
20
22
  .github/workflows/release.yml
23
+ faiss_index/index.faiss
24
+ faiss_index/index.pkl
21
25
  parrot/__init__.py
22
26
  parrot/conf.py
23
27
  parrot/exceptions.c
@@ -41,8 +45,10 @@ parrot/bots/bose.py
41
45
  parrot/bots/chatbot.py
42
46
  parrot/bots/cody.py
43
47
  parrot/bots/copilot.py
48
+ parrot/bots/data.py
44
49
  parrot/bots/dataframe.py
45
50
  parrot/bots/hrbot.py
51
+ parrot/bots/notebook.py
46
52
  parrot/bots/odoo.py
47
53
  parrot/bots/troc.py
48
54
  parrot/bots/__pycache__/__init__.cpython-311.pyc
@@ -57,11 +63,14 @@ parrot/bots/__pycache__/bose.cpython-311.pyc
57
63
  parrot/bots/__pycache__/chatbot.cpython-311.pyc
58
64
  parrot/bots/__pycache__/cody.cpython-311.pyc
59
65
  parrot/bots/__pycache__/copilot.cpython-311.pyc
66
+ parrot/bots/__pycache__/data.cpython-311.pyc
60
67
  parrot/bots/__pycache__/dataframe.cpython-311.pyc
61
68
  parrot/bots/__pycache__/hragents.cpython-311.pyc
62
69
  parrot/bots/__pycache__/hrbot.cpython-311.pyc
70
+ parrot/bots/__pycache__/notebook.cpython-311.pyc
63
71
  parrot/bots/__pycache__/oddie.cpython-311.pyc
64
72
  parrot/bots/__pycache__/odoo.cpython-311.pyc
73
+ parrot/bots/__pycache__/pd.cpython-311.pyc
65
74
  parrot/bots/__pycache__/troc.cpython-311.pyc
66
75
  parrot/bots/interfaces/__init__.py
67
76
  parrot/bots/interfaces/retrievers.py
@@ -69,14 +78,25 @@ parrot/bots/interfaces/__pycache__/__init__.cpython-311.pyc
69
78
  parrot/bots/interfaces/__pycache__/retrievers.cpython-311.pyc
70
79
  parrot/bots/prompts/__init__.py
71
80
  parrot/bots/prompts/agents.py
81
+ parrot/bots/prompts/data.py
72
82
  parrot/bots/prompts/__pycache__/__init__.cpython-311.pyc
73
83
  parrot/bots/prompts/__pycache__/agents.cpython-311.pyc
84
+ parrot/bots/prompts/__pycache__/data.cpython-311.pyc
74
85
  parrot/bots/retrievals/__init__.py
75
86
  parrot/bots/retrievals/constitutional.py
76
87
  parrot/bots/retrievals/multi.py
77
88
  parrot/bots/retrievals/retrieval.py
78
89
  parrot/bots/retrievals/__pycache__/__init__.cpython-311.pyc
79
90
  parrot/bots/retrievals/__pycache__/multi.cpython-311.pyc
91
+ parrot/bots/tools/__init__.py
92
+ parrot/bots/tools/eda.py
93
+ parrot/bots/tools/pdf.py
94
+ parrot/bots/tools/plot.py
95
+ parrot/bots/tools/__pycache__/__init__.cpython-311.pyc
96
+ parrot/bots/tools/__pycache__/eda.cpython-311.pyc
97
+ parrot/bots/tools/__pycache__/gamma.cpython-311.pyc
98
+ parrot/bots/tools/__pycache__/pdf.cpython-311.pyc
99
+ parrot/bots/tools/__pycache__/plot.cpython-311.pyc
80
100
  parrot/crew/__init__.py
81
101
  parrot/crew/__pycache__/__init__.cpython-311.pyc
82
102
  parrot/crew/tools/__init__.py
@@ -101,9 +121,11 @@ parrot/crew/tools/__pycache__/rag.cpython-311.pyc
101
121
  parrot/crew/tools/__pycache__/url.cpython-311.pyc
102
122
  parrot/crew/tools/__pycache__/weather.cpython-311.pyc
103
123
  parrot/handlers/__init__.py
124
+ parrot/handlers/agents.py
104
125
  parrot/handlers/bots.py
105
126
  parrot/handlers/chat.py
106
127
  parrot/handlers/__pycache__/__init__.cpython-311.pyc
128
+ parrot/handlers/__pycache__/agents.cpython-311.pyc
107
129
  parrot/handlers/__pycache__/bots.cpython-311.pyc
108
130
  parrot/handlers/__pycache__/chat.cpython-311.pyc
109
131
  parrot/interfaces/__init__.py
@@ -112,9 +134,18 @@ parrot/interfaces/http.py
112
134
  parrot/interfaces/__pycache__/__init__.cpython-311.pyc
113
135
  parrot/interfaces/__pycache__/database.cpython-311.pyc
114
136
  parrot/interfaces/__pycache__/http.cpython-311.pyc
137
+ parrot/interfaces/images/__init__.py
138
+ parrot/interfaces/images/plugins/__init__.py
139
+ parrot/interfaces/images/plugins/abstract.py
140
+ parrot/interfaces/images/plugins/exif.py
141
+ parrot/interfaces/images/plugins/hash.py
142
+ parrot/interfaces/images/plugins/vision.py
143
+ parrot/interfaces/images/plugins/yolo.py
144
+ parrot/interfaces/images/plugins/zerodetect.py
115
145
  parrot/llms/__init__.py
116
146
  parrot/llms/abstract.py
117
147
  parrot/llms/anthropic.py
148
+ parrot/llms/gemma.py
118
149
  parrot/llms/google.py
119
150
  parrot/llms/groq.py
120
151
  parrot/llms/hf.py
@@ -124,12 +155,25 @@ parrot/llms/vertex.py
124
155
  parrot/llms/__pycache__/__init__.cpython-311.pyc
125
156
  parrot/llms/__pycache__/abstract.cpython-311.pyc
126
157
  parrot/llms/__pycache__/anthropic.cpython-311.pyc
158
+ parrot/llms/__pycache__/gemma.cpython-311.pyc
127
159
  parrot/llms/__pycache__/google.cpython-311.pyc
128
160
  parrot/llms/__pycache__/groq.cpython-311.pyc
129
161
  parrot/llms/__pycache__/hf.cpython-311.pyc
130
162
  parrot/llms/__pycache__/openai.cpython-311.pyc
131
163
  parrot/llms/__pycache__/pipes.cpython-311.pyc
132
164
  parrot/llms/__pycache__/vertex.cpython-311.pyc
165
+ parrot/loaders/__init__.py
166
+ parrot/loaders/abstract.py
167
+ parrot/loaders/txt.py
168
+ parrot/loaders/__pycache__/__init__.cpython-311.pyc
169
+ parrot/loaders/__pycache__/abstract.cpython-311.pyc
170
+ parrot/loaders/__pycache__/txt.cpython-311.pyc
171
+ parrot/loaders/files/__init__.py
172
+ parrot/loaders/files/abstract.py
173
+ parrot/loaders/files/text.py
174
+ parrot/loaders/files/__pycache__/__init__.cpython-311.pyc
175
+ parrot/loaders/files/__pycache__/abstract.cpython-311.pyc
176
+ parrot/loaders/files/__pycache__/text.cpython-311.pyc
133
177
  parrot/stores/__init__.py
134
178
  parrot/stores/abstract.py
135
179
  parrot/stores/chroma.py
@@ -171,9 +215,13 @@ parrot/tools/asknews.py
171
215
  parrot/tools/basic.py
172
216
  parrot/tools/bby.py
173
217
  parrot/tools/bing.py
218
+ parrot/tools/docx.py
174
219
  parrot/tools/duck.py
175
220
  parrot/tools/execute.py
221
+ parrot/tools/gamma.py
176
222
  parrot/tools/google.py
223
+ parrot/tools/gvoice.py
224
+ parrot/tools/results.py
177
225
  parrot/tools/stack.py
178
226
  parrot/tools/weather.py
179
227
  parrot/tools/wikipedia.py
@@ -184,9 +232,13 @@ parrot/tools/__pycache__/asknews.cpython-311.pyc
184
232
  parrot/tools/__pycache__/basic.cpython-311.pyc
185
233
  parrot/tools/__pycache__/bby.cpython-311.pyc
186
234
  parrot/tools/__pycache__/bing.cpython-311.pyc
235
+ parrot/tools/__pycache__/docx.cpython-311.pyc
187
236
  parrot/tools/__pycache__/duck.cpython-311.pyc
188
237
  parrot/tools/__pycache__/execute.cpython-311.pyc
238
+ parrot/tools/__pycache__/gamma.cpython-311.pyc
189
239
  parrot/tools/__pycache__/google.cpython-311.pyc
240
+ parrot/tools/__pycache__/gvoice.cpython-311.pyc
241
+ parrot/tools/__pycache__/results.cpython-311.pyc
190
242
  parrot/tools/__pycache__/stack.cpython-311.pyc
191
243
  parrot/tools/__pycache__/weather.cpython-311.pyc
192
244
  parrot/tools/__pycache__/wikipedia.cpython-311.pyc
@@ -2,6 +2,7 @@ from navigator.handlers.types import AppHandler
2
2
  # Tasker:
3
3
  from navigator.background import BackgroundQueue
4
4
  from navigator_auth import AuthHandler
5
+ from querysource.services import QuerySource
5
6
  from parrot.manager import BotManager
6
7
  from parrot.conf import STATIC_DIR
7
8
  from parrot.handlers.bots import (
@@ -33,6 +34,12 @@ class Main(AppHandler):
33
34
  max_workers=5,
34
35
  queue_size=5
35
36
  )
37
+ # Loading QUerySource
38
+ qry = QuerySource(
39
+ lazy=False,
40
+ loop=self.event_loop()
41
+ )
42
+ qry.setup(self.app)
36
43
  # Chatbot System
37
44
  self.bot_manager = BotManager()
38
45
  self.bot_manager.setup(self.app)
Binary file
@@ -0,0 +1,30 @@
1
+ # -*- coding: utf-8 -*-
2
+ """Navigator Parrot.
3
+
4
+ Basic Chatbots for Navigator Services.
5
+ """
6
+ import os
7
+ from pathlib import Path
8
+ from navconfig.logging import logging
9
+ from .version import (
10
+ __author__,
11
+ __author_email__,
12
+ __description__,
13
+ __title__,
14
+ __version__
15
+ )
16
+
17
+ logging.getLogger('h5py').setLevel(logging.ERROR)
18
+ logging.getLogger('tensorflow').setLevel(logging.ERROR)
19
+ logging.getLogger('matplotlib').setLevel(logging.ERROR)
20
+ logging.getLogger('langchain').setLevel(logging.ERROR)
21
+ logging.getLogger("grpc").setLevel(logging.CRITICAL)
22
+
23
+ os.environ["USER_AGENT"] = "Parrot.AI/1.0"
24
+ # This environment variable can help prevent some gRPC cleanup issues
25
+ os.environ["GRPC_ENABLE_FORK_SUPPORT"] = "false"
26
+
27
+ def get_project_root() -> Path:
28
+ return Path(__file__).parent.parent
29
+
30
+ ABS_PATH = get_project_root()
@@ -1,9 +1,5 @@
1
1
  from .abstract import AbstractBot
2
2
  from .basic import BasicBot
3
3
  from .hrbot import HRAgent
4
-
5
- __all__ = (
6
- 'AbstractBot',
7
- 'BasicBot',
8
- 'HRAgent'
9
- )
4
+ from .data import PandasAgent
5
+ from .notebook import NotebookAgent