ai-parrot 0.3.11__tar.gz → 0.3.18__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 (263) hide show
  1. ai_parrot-0.3.18/MANIFEST.in +18 -0
  2. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/Makefile +4 -1
  3. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/PKG-INFO +17 -16
  4. ai_parrot-0.3.18/ai_parrot.egg-info/SOURCES.txt +226 -0
  5. ai_parrot-0.3.18/parrot/__pycache__/__init__.cpython-311.pyc +0 -0
  6. ai_parrot-0.3.18/parrot/__pycache__/conf.cpython-311.pyc +0 -0
  7. ai_parrot-0.3.18/parrot/__pycache__/manager.cpython-311.pyc +0 -0
  8. ai_parrot-0.3.18/parrot/__pycache__/models.cpython-311.pyc +0 -0
  9. ai_parrot-0.3.18/parrot/__pycache__/version.cpython-311.pyc +0 -0
  10. ai_parrot-0.3.18/parrot/chatbots/__pycache__/__init__.cpython-311.pyc +0 -0
  11. ai_parrot-0.3.18/parrot/chatbots/__pycache__/abstract.cpython-311.pyc +0 -0
  12. ai_parrot-0.3.18/parrot/chatbots/__pycache__/askbrett.cpython-311.pyc +0 -0
  13. ai_parrot-0.3.18/parrot/chatbots/__pycache__/asktroc.cpython-311.pyc +0 -0
  14. ai_parrot-0.3.18/parrot/chatbots/__pycache__/base.cpython-311.pyc +0 -0
  15. ai_parrot-0.3.18/parrot/chatbots/__pycache__/basic.cpython-311.pyc +0 -0
  16. ai_parrot-0.3.18/parrot/chatbots/__pycache__/bose.cpython-311.pyc +0 -0
  17. ai_parrot-0.3.18/parrot/chatbots/__pycache__/cody.cpython-311.pyc +0 -0
  18. ai_parrot-0.3.18/parrot/chatbots/__pycache__/copilot.cpython-311.pyc +0 -0
  19. ai_parrot-0.3.18/parrot/chatbots/__pycache__/dataframe.cpython-311.pyc +0 -0
  20. ai_parrot-0.3.18/parrot/chatbots/__pycache__/hragents.cpython-311.pyc +0 -0
  21. ai_parrot-0.3.18/parrot/chatbots/__pycache__/oddie.cpython-311.pyc +0 -0
  22. ai_parrot-0.3.18/parrot/chatbots/__pycache__/odoo.cpython-311.pyc +0 -0
  23. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/chatbots/base.py +3 -0
  24. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/chatbots/copilot.py +36 -3
  25. ai_parrot-0.3.18/parrot/chatbots/retrievals/__pycache__/__init__.cpython-311.pyc +0 -0
  26. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/conf.py +2 -0
  27. ai_parrot-0.3.18/parrot/crew/__pycache__/__init__.cpython-311.pyc +0 -0
  28. ai_parrot-0.3.18/parrot/crew/tools/__pycache__/__init__.cpython-311.pyc +0 -0
  29. ai_parrot-0.3.18/parrot/crew/tools/__pycache__/bing.cpython-311.pyc +0 -0
  30. ai_parrot-0.3.18/parrot/crew/tools/__pycache__/config.cpython-311.pyc +0 -0
  31. ai_parrot-0.3.18/parrot/crew/tools/__pycache__/duckgo.cpython-311.pyc +0 -0
  32. ai_parrot-0.3.18/parrot/crew/tools/__pycache__/file.cpython-311.pyc +0 -0
  33. ai_parrot-0.3.18/parrot/crew/tools/__pycache__/google.cpython-311.pyc +0 -0
  34. ai_parrot-0.3.18/parrot/crew/tools/__pycache__/md2pdf.cpython-311.pyc +0 -0
  35. ai_parrot-0.3.18/parrot/crew/tools/__pycache__/rag.cpython-311.pyc +0 -0
  36. ai_parrot-0.3.18/parrot/crew/tools/__pycache__/url.cpython-311.pyc +0 -0
  37. ai_parrot-0.3.18/parrot/crew/tools/__pycache__/weather.cpython-311.pyc +0 -0
  38. ai_parrot-0.3.18/parrot/exceptions.cpython-311-x86_64-linux-gnu.so +0 -0
  39. ai_parrot-0.3.18/parrot/handlers/__pycache__/__init__.cpython-311.pyc +0 -0
  40. ai_parrot-0.3.18/parrot/handlers/__pycache__/bots.cpython-311.pyc +0 -0
  41. ai_parrot-0.3.18/parrot/handlers/__pycache__/chat.cpython-311.pyc +0 -0
  42. ai_parrot-0.3.18/parrot/interfaces/__pycache__/__init__.cpython-311.pyc +0 -0
  43. ai_parrot-0.3.18/parrot/interfaces/__pycache__/database.cpython-311.pyc +0 -0
  44. ai_parrot-0.3.18/parrot/llms/__pycache__/__init__.cpython-311.pyc +0 -0
  45. ai_parrot-0.3.18/parrot/llms/__pycache__/abstract.cpython-311.pyc +0 -0
  46. ai_parrot-0.3.18/parrot/llms/__pycache__/anthropic.cpython-311.pyc +0 -0
  47. ai_parrot-0.3.18/parrot/llms/__pycache__/google.cpython-311.pyc +0 -0
  48. ai_parrot-0.3.18/parrot/llms/__pycache__/groq.cpython-311.pyc +0 -0
  49. ai_parrot-0.3.18/parrot/llms/__pycache__/hf.cpython-311.pyc +0 -0
  50. ai_parrot-0.3.18/parrot/llms/__pycache__/openai.cpython-311.pyc +0 -0
  51. ai_parrot-0.3.18/parrot/llms/__pycache__/pipes.cpython-311.pyc +0 -0
  52. ai_parrot-0.3.18/parrot/llms/__pycache__/vertex.cpython-311.pyc +0 -0
  53. ai_parrot-0.3.18/parrot/loaders/__pycache__/__init__.cpython-311.pyc +0 -0
  54. ai_parrot-0.3.18/parrot/loaders/__pycache__/abstract.cpython-311.pyc +0 -0
  55. ai_parrot-0.3.18/parrot/loaders/__pycache__/basepdf.cpython-311.pyc +0 -0
  56. ai_parrot-0.3.18/parrot/loaders/__pycache__/basevideo.cpython-311.pyc +0 -0
  57. ai_parrot-0.3.18/parrot/loaders/__pycache__/dir.cpython-311.pyc +0 -0
  58. ai_parrot-0.3.18/parrot/loaders/__pycache__/excel.cpython-311.pyc +0 -0
  59. ai_parrot-0.3.18/parrot/loaders/__pycache__/github.cpython-311.pyc +0 -0
  60. ai_parrot-0.3.18/parrot/loaders/__pycache__/image.cpython-311.pyc +0 -0
  61. ai_parrot-0.3.18/parrot/loaders/__pycache__/json.cpython-311.pyc +0 -0
  62. ai_parrot-0.3.18/parrot/loaders/__pycache__/pdf.cpython-311.pyc +0 -0
  63. ai_parrot-0.3.18/parrot/loaders/__pycache__/pdfchapters.cpython-311.pyc +0 -0
  64. ai_parrot-0.3.18/parrot/loaders/__pycache__/pdffn.cpython-311.pyc +0 -0
  65. ai_parrot-0.3.18/parrot/loaders/__pycache__/pdfimages.cpython-311.pyc +0 -0
  66. ai_parrot-0.3.18/parrot/loaders/__pycache__/pdfmark.cpython-311.pyc +0 -0
  67. ai_parrot-0.3.18/parrot/loaders/__pycache__/pdftables.cpython-311.pyc +0 -0
  68. ai_parrot-0.3.18/parrot/loaders/__pycache__/ppt.cpython-311.pyc +0 -0
  69. ai_parrot-0.3.18/parrot/loaders/__pycache__/qa.cpython-311.pyc +0 -0
  70. ai_parrot-0.3.18/parrot/loaders/__pycache__/repo.cpython-311.pyc +0 -0
  71. ai_parrot-0.3.18/parrot/loaders/__pycache__/rtd.cpython-311.pyc +0 -0
  72. ai_parrot-0.3.18/parrot/loaders/__pycache__/tables.cpython-311.pyc +0 -0
  73. ai_parrot-0.3.18/parrot/loaders/__pycache__/txt.cpython-311.pyc +0 -0
  74. ai_parrot-0.3.18/parrot/loaders/__pycache__/video.cpython-311.pyc +0 -0
  75. ai_parrot-0.3.18/parrot/loaders/__pycache__/videolocal.cpython-311.pyc +0 -0
  76. ai_parrot-0.3.18/parrot/loaders/__pycache__/vimeo.cpython-311.pyc +0 -0
  77. ai_parrot-0.3.18/parrot/loaders/__pycache__/web.cpython-311.pyc +0 -0
  78. ai_parrot-0.3.18/parrot/loaders/__pycache__/web_base.cpython-311.pyc +0 -0
  79. ai_parrot-0.3.18/parrot/loaders/__pycache__/word.cpython-311.pyc +0 -0
  80. ai_parrot-0.3.18/parrot/loaders/__pycache__/youtube.cpython-311.pyc +0 -0
  81. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/loaders/abstract.py +44 -1
  82. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/loaders/basevideo.py +48 -3
  83. ai_parrot-0.3.18/parrot/loaders/handlers/__pycache__/__init__.cpython-311.pyc +0 -0
  84. ai_parrot-0.3.18/parrot/loaders/handlers/__pycache__/data.cpython-311.pyc +0 -0
  85. ai_parrot-0.3.18/parrot/loaders/utils/__pycache__/__init__.cpython-311.pyc +0 -0
  86. ai_parrot-0.3.18/parrot/loaders/utils/__pycache__/models.cpython-311.pyc +0 -0
  87. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/loaders/video.py +1 -1
  88. ai_parrot-0.3.18/parrot/loaders/videolocal.py +259 -0
  89. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/loaders/youtube.py +50 -1
  90. ai_parrot-0.3.18/parrot/stores/__pycache__/__init__.cpython-311.pyc +0 -0
  91. ai_parrot-0.3.18/parrot/stores/__pycache__/abstract.cpython-311.pyc +0 -0
  92. ai_parrot-0.3.18/parrot/stores/__pycache__/base.cpython-311.pyc +0 -0
  93. ai_parrot-0.3.18/parrot/stores/__pycache__/milvus.cpython-311.pyc +0 -0
  94. ai_parrot-0.3.18/parrot/stores/__pycache__/qdrant.cpython-311.pyc +0 -0
  95. ai_parrot-0.3.18/parrot/tools/__pycache__/__init__.cpython-311.pyc +0 -0
  96. ai_parrot-0.3.18/parrot/tools/__pycache__/abstract.cpython-311.pyc +0 -0
  97. ai_parrot-0.3.18/parrot/tools/__pycache__/asknews.cpython-311.pyc +0 -0
  98. ai_parrot-0.3.18/parrot/tools/__pycache__/bing.cpython-311.pyc +0 -0
  99. ai_parrot-0.3.18/parrot/tools/__pycache__/duck.cpython-311.pyc +0 -0
  100. ai_parrot-0.3.18/parrot/tools/__pycache__/execute.cpython-311.pyc +0 -0
  101. ai_parrot-0.3.18/parrot/tools/__pycache__/google.cpython-311.pyc +0 -0
  102. ai_parrot-0.3.18/parrot/tools/__pycache__/stack.cpython-311.pyc +0 -0
  103. ai_parrot-0.3.18/parrot/tools/__pycache__/weather.cpython-311.pyc +0 -0
  104. ai_parrot-0.3.18/parrot/tools/__pycache__/wikipedia.cpython-311.pyc +0 -0
  105. ai_parrot-0.3.18/parrot/tools/__pycache__/zipcode.cpython-311.pyc +0 -0
  106. ai_parrot-0.3.18/parrot/tools/execute.py +56 -0
  107. ai_parrot-0.3.18/parrot/utils/__pycache__/__init__.cpython-311.pyc +0 -0
  108. ai_parrot-0.3.18/parrot/utils/__pycache__/toml.cpython-311.pyc +0 -0
  109. ai_parrot-0.3.18/parrot/utils/parsers/__pycache__/__init__.cpython-311.pyc +0 -0
  110. ai_parrot-0.3.18/parrot/utils/parsers/toml.cpython-311-x86_64-linux-gnu.so +0 -0
  111. ai_parrot-0.3.18/parrot/utils/types.cpython-311-x86_64-linux-gnu.so +0 -0
  112. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/version.py +1 -1
  113. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/setup.py +17 -14
  114. ai_parrot-0.3.11/ai_parrot.egg-info/PKG-INFO +0 -303
  115. ai_parrot-0.3.11/ai_parrot.egg-info/SOURCES.txt +0 -159
  116. ai_parrot-0.3.11/ai_parrot.egg-info/dependency_links.txt +0 -1
  117. ai_parrot-0.3.11/ai_parrot.egg-info/requires.txt +0 -126
  118. ai_parrot-0.3.11/ai_parrot.egg-info/top_level.txt +0 -3
  119. ai_parrot-0.3.11/documents/AR_Certification_Skill_Practice_Scorecard_EXAMPLE.pdf +0 -0
  120. ai_parrot-0.3.11/documents/Day 1_Essentials_AR_PPT.pdf +0 -0
  121. ai_parrot-0.3.11/documents/ex-code-loaders.txt +0 -116
  122. ai_parrot-0.3.11/documents/video_2024-09-11_19-43-58.mp3 +0 -0
  123. ai_parrot-0.3.11/documents/video_2024-09-11_19-43-58.mp4 +0 -0
  124. ai_parrot-0.3.11/documents/video_2024-09-11_19-43-58.vtt +0 -122
  125. ai_parrot-0.3.11/etc/navigator-ssl.ini +0 -51
  126. ai_parrot-0.3.11/etc/navigator.ini +0 -46
  127. ai_parrot-0.3.11/etc/ssl/domain.ext +0 -5
  128. ai_parrot-0.3.11/etc/ssl/navigator.local.crt +0 -23
  129. ai_parrot-0.3.11/etc/ssl/navigator.local.csr +0 -18
  130. ai_parrot-0.3.11/etc/ssl/navigator.local.key +0 -27
  131. ai_parrot-0.3.11/etc/ssl/rootCA.crt +0 -39
  132. ai_parrot-0.3.11/etc/ssl/rootCA.key +0 -51
  133. ai_parrot-0.3.11/etc/ssl/rootCA.srl +0 -1
  134. ai_parrot-0.3.11/examples/analyze_video.py +0 -33
  135. ai_parrot-0.3.11/examples/askbuddy/create_bot.py +0 -32
  136. ai_parrot-0.3.11/examples/askbuddy/load_pdf.py +0 -52
  137. ai_parrot-0.3.11/examples/check_bot.py +0 -44
  138. ai_parrot-0.3.11/examples/extract_frames.py +0 -74
  139. ai_parrot-0.3.11/examples/load_pdf.py +0 -32
  140. ai_parrot-0.3.11/examples/test_bot.py +0 -51
  141. ai_parrot-0.3.11/examples/test_question.py +0 -49
  142. ai_parrot-0.3.11/parrot/loaders/__init__.py +0 -20
  143. ai_parrot-0.3.11/parrot/loaders/videolocal.py +0 -142
  144. ai_parrot-0.3.11/resources/quick.py +0 -23
  145. ai_parrot-0.3.11/resources/users/__init__.py +0 -5
  146. ai_parrot-0.3.11/resources/users/handlers.py +0 -13
  147. ai_parrot-0.3.11/resources/users/models.py +0 -205
  148. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/.flake8 +0 -0
  149. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/.github/dependabot.yml +0 -0
  150. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/.github/workflows/codeql-analysis.yml +0 -0
  151. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/.github/workflows/release.yml +0 -0
  152. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/.gitignore +0 -0
  153. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/.isort.cfg +0 -0
  154. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/.pylintrc +0 -0
  155. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/INSTALL +0 -0
  156. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/LICENSE +0 -0
  157. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/README.md +0 -0
  158. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/SECURITY.md +0 -0
  159. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/app.py +0 -0
  160. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/mypy.ini +0 -0
  161. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/__init__.py +0 -0
  162. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/chatbots/__init__.py +0 -0
  163. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/chatbots/abstract.py +0 -0
  164. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/chatbots/asktroc.py +0 -0
  165. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/chatbots/basic.py +0 -0
  166. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/chatbots/bose.py +0 -0
  167. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/chatbots/cody.py +0 -0
  168. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/chatbots/dataframe.py +0 -0
  169. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/chatbots/hragents.py +0 -0
  170. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/chatbots/odoo.py +0 -0
  171. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/chatbots/retrievals/__init__.py +0 -0
  172. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/chatbots/retrievals/constitutional.py +0 -0
  173. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/crew/__init__.py +0 -0
  174. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/crew/tools/__init__.py +0 -0
  175. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/crew/tools/bing.py +0 -0
  176. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/crew/tools/config.py +0 -0
  177. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/crew/tools/duckgo.py +0 -0
  178. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/crew/tools/file.py +0 -0
  179. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/crew/tools/google.py +0 -0
  180. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/crew/tools/gtrends.py +0 -0
  181. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/crew/tools/md2pdf.py +0 -0
  182. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/crew/tools/rag.py +0 -0
  183. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/crew/tools/search.py +0 -0
  184. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/crew/tools/url.py +0 -0
  185. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/exceptions.c +0 -0
  186. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/exceptions.pyx +0 -0
  187. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/handlers/__init__.py +0 -0
  188. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/handlers/bots.py +0 -0
  189. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/handlers/chat.py +0 -0
  190. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/interfaces/__init__.py +0 -0
  191. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/interfaces/database.py +0 -0
  192. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/llms/__init__.py +0 -0
  193. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/llms/abstract.py +0 -0
  194. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/llms/anthropic.py +0 -0
  195. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/llms/google.py +0 -0
  196. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/llms/groq.py +0 -0
  197. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/llms/hf.py +0 -0
  198. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/llms/openai.py +0 -0
  199. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/llms/pipes.py +0 -0
  200. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/llms/vertex.py +0 -0
  201. {ai_parrot-0.3.11/resources → ai_parrot-0.3.18/parrot/loaders}/__init__.py +0 -0
  202. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/loaders/audio.py +0 -0
  203. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/loaders/basepdf.py +0 -0
  204. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/loaders/csv.py +0 -0
  205. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/loaders/dir.py +0 -0
  206. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/loaders/excel.py +0 -0
  207. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/loaders/github.py +0 -0
  208. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/loaders/handlers/__init__.py +0 -0
  209. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/loaders/handlers/data.py +0 -0
  210. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/loaders/image.py +0 -0
  211. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/loaders/json.py +0 -0
  212. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/loaders/pdf.py +0 -0
  213. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/loaders/pdfchapters.py +0 -0
  214. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/loaders/pdffn.py +0 -0
  215. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/loaders/pdfimages.py +0 -0
  216. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/loaders/pdfmark.py +0 -0
  217. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/loaders/pdftables.py +0 -0
  218. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/loaders/ppt.py +0 -0
  219. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/loaders/qa.py +0 -0
  220. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/loaders/repo.py +0 -0
  221. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/loaders/rtd.py +0 -0
  222. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/loaders/txt.py +0 -0
  223. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/loaders/utils/__init__.py +0 -0
  224. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/loaders/utils/models.py +0 -0
  225. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/loaders/vimeo.py +0 -0
  226. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/loaders/web.py +0 -0
  227. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/loaders/web_base.py +0 -0
  228. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/loaders/word.py +0 -0
  229. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/manager.py +0 -0
  230. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/models.py +0 -0
  231. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/py.typed +0 -0
  232. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/stores/__init__.py +0 -0
  233. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/stores/abstract.py +0 -0
  234. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/stores/milvus.py +0 -0
  235. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/stores/qdrant.py +0 -0
  236. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/tools/__init__.py +0 -0
  237. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/tools/abstract.py +0 -0
  238. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/tools/asknews.py +0 -0
  239. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/tools/bing.py +0 -0
  240. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/tools/duck.py +0 -0
  241. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/tools/google.py +0 -0
  242. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/tools/stack.py +0 -0
  243. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/tools/weather.py +0 -0
  244. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/tools/wikipedia.py +0 -0
  245. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/tools/zipcode.py +0 -0
  246. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/utils/__init__.py +0 -0
  247. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/utils/parsers/__init__.py +0 -0
  248. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/utils/parsers/toml.c +0 -0
  249. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/utils/parsers/toml.pyx +0 -0
  250. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/utils/toml.py +0 -0
  251. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/utils/types.cpp +0 -0
  252. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/utils/types.pyx +0 -0
  253. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/parrot/utils/uv.py +0 -0
  254. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/pyproject.toml +0 -0
  255. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/pytest.ini +0 -0
  256. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/requirements/requirements-dev.txt +0 -0
  257. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/run.py +0 -0
  258. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/settings/__init__.py +0 -0
  259. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/settings/settings.py +0 -0
  260. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/setup.cfg +0 -0
  261. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/templates/.compiled +0 -0
  262. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/templates/README.md +0 -0
  263. {ai_parrot-0.3.11 → ai_parrot-0.3.18}/tox.ini +0 -0
@@ -0,0 +1,18 @@
1
+ include LICENSE
2
+ include README.md
3
+ global-include *.typed
4
+ recursive-include parrot *
5
+ # Exclude directories
6
+ prune videos
7
+ prune examples
8
+ prune docs
9
+ prune documents
10
+ prune etc
11
+ prune env
12
+ prune resources
13
+ prune dist
14
+
15
+
16
+ # Optionally, you can also specify any other unwanted directories
17
+ prune tests
18
+ prune *.egg-info
@@ -15,7 +15,7 @@ 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,analytics]
18
+ pip install -e .[google,milvus,groq]
19
19
 
20
20
  develop:
21
21
  # Install Parrot
@@ -31,6 +31,9 @@ develop:
31
31
  pip install --upgrade querysource
32
32
  python -m pip install -Ur requirements/requirements-dev.txt
33
33
 
34
+ setup:
35
+ python -m pip install -Ur requirements/requirements-dev.txt
36
+
34
37
  dev:
35
38
  flit install --symlink
36
39
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ai-parrot
3
- Version: 0.3.11
3
+ Version: 0.3.18
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
@@ -80,29 +80,30 @@ Requires-Dist: torchvision==0.19.1
80
80
  Requires-Dist: tf-keras==2.17.0
81
81
  Requires-Dist: simsimd==4.3.1
82
82
  Requires-Dist: opencv-python==4.10.0.84
83
+ Provides-Extra: basic-loaders
84
+ Requires-Dist: youtube-transcript-api==0.6.2; extra == "basic-loaders"
85
+ Requires-Dist: pymupdf==1.24.4; extra == "basic-loaders"
86
+ Requires-Dist: pymupdf4llm==0.0.1; extra == "basic-loaders"
87
+ Requires-Dist: pdf4llm==0.0.6; extra == "basic-loaders"
88
+ Requires-Dist: pytube==15.0.0; extra == "basic-loaders"
89
+ Requires-Dist: pydub==0.25.1; extra == "basic-loaders"
90
+ Requires-Dist: markdownify==0.12.1; extra == "basic-loaders"
91
+ Requires-Dist: yt_dlp==2024.4.9; extra == "basic-loaders"
92
+ Requires-Dist: moviepy==1.0.3; extra == "basic-loaders"
93
+ Requires-Dist: rapidocr-onnxruntime==1.3.15; extra == "basic-loaders"
94
+ Requires-Dist: pytesseract==0.3.10; extra == "basic-loaders"
95
+ Requires-Dist: python-docx==1.1.0; extra == "basic-loaders"
96
+ Requires-Dist: python-pptx==0.6.23; extra == "basic-loaders"
97
+ Requires-Dist: docx2txt==0.8; extra == "basic-loaders"
98
+ Requires-Dist: mammoth==1.7.1; extra == "basic-loaders"
83
99
  Provides-Extra: loaders
84
100
  Requires-Dist: unstructured==0.14.3; extra == "loaders"
85
101
  Requires-Dist: unstructured-client==0.18.0; extra == "loaders"
86
- Requires-Dist: youtube-transcript-api==0.6.2; extra == "loaders"
87
- Requires-Dist: pymupdf==1.24.4; extra == "loaders"
88
- Requires-Dist: pymupdf4llm==0.0.1; extra == "loaders"
89
- Requires-Dist: pdf4llm==0.0.6; extra == "loaders"
90
102
  Requires-Dist: PyPDF2==3.0.1; extra == "loaders"
91
103
  Requires-Dist: pdfminer.six==20231228; extra == "loaders"
92
104
  Requires-Dist: pdfplumber==0.11.0; extra == "loaders"
93
105
  Requires-Dist: GitPython==3.1.42; extra == "loaders"
94
106
  Requires-Dist: opentelemetry-sdk==1.24.0; extra == "loaders"
95
- Requires-Dist: rapidocr-onnxruntime==1.3.15; extra == "loaders"
96
- Requires-Dist: pytesseract==0.3.10; extra == "loaders"
97
- Requires-Dist: python-docx==1.1.0; extra == "loaders"
98
- Requires-Dist: python-pptx==0.6.23; extra == "loaders"
99
- Requires-Dist: docx2txt==0.8; extra == "loaders"
100
- Requires-Dist: pytube==15.0.0; extra == "loaders"
101
- Requires-Dist: pydub==0.25.1; extra == "loaders"
102
- Requires-Dist: markdownify==0.12.1; extra == "loaders"
103
- Requires-Dist: yt_dlp==2024.4.9; extra == "loaders"
104
- Requires-Dist: moviepy==1.0.3; extra == "loaders"
105
- Requires-Dist: mammoth==1.7.1; extra == "loaders"
106
107
  Requires-Dist: paddlepaddle==2.6.1; extra == "loaders"
107
108
  Requires-Dist: paddlepaddle_gpu==2.6.1; extra == "loaders"
108
109
  Requires-Dist: paddleocr==2.8.1; extra == "loaders"
@@ -0,0 +1,226 @@
1
+ .flake8
2
+ .gitignore
3
+ .isort.cfg
4
+ .pylintrc
5
+ INSTALL
6
+ LICENSE
7
+ MANIFEST.in
8
+ Makefile
9
+ README.md
10
+ SECURITY.md
11
+ app.py
12
+ mypy.ini
13
+ pyproject.toml
14
+ pytest.ini
15
+ run.py
16
+ setup.py
17
+ tox.ini
18
+ .github/dependabot.yml
19
+ .github/workflows/codeql-analysis.yml
20
+ .github/workflows/release.yml
21
+ parrot/__init__.py
22
+ parrot/conf.py
23
+ parrot/exceptions.c
24
+ parrot/exceptions.cpython-311-x86_64-linux-gnu.so
25
+ parrot/exceptions.pyx
26
+ parrot/manager.py
27
+ parrot/models.py
28
+ parrot/py.typed
29
+ parrot/version.py
30
+ parrot/__pycache__/__init__.cpython-311.pyc
31
+ parrot/__pycache__/conf.cpython-311.pyc
32
+ parrot/__pycache__/manager.cpython-311.pyc
33
+ parrot/__pycache__/models.cpython-311.pyc
34
+ parrot/__pycache__/version.cpython-311.pyc
35
+ parrot/chatbots/__init__.py
36
+ parrot/chatbots/abstract.py
37
+ parrot/chatbots/asktroc.py
38
+ parrot/chatbots/base.py
39
+ parrot/chatbots/basic.py
40
+ parrot/chatbots/bose.py
41
+ parrot/chatbots/cody.py
42
+ parrot/chatbots/copilot.py
43
+ parrot/chatbots/dataframe.py
44
+ parrot/chatbots/hragents.py
45
+ parrot/chatbots/odoo.py
46
+ parrot/chatbots/__pycache__/__init__.cpython-311.pyc
47
+ parrot/chatbots/__pycache__/abstract.cpython-311.pyc
48
+ parrot/chatbots/__pycache__/askbrett.cpython-311.pyc
49
+ parrot/chatbots/__pycache__/asktroc.cpython-311.pyc
50
+ parrot/chatbots/__pycache__/base.cpython-311.pyc
51
+ parrot/chatbots/__pycache__/basic.cpython-311.pyc
52
+ parrot/chatbots/__pycache__/bose.cpython-311.pyc
53
+ parrot/chatbots/__pycache__/cody.cpython-311.pyc
54
+ parrot/chatbots/__pycache__/copilot.cpython-311.pyc
55
+ parrot/chatbots/__pycache__/dataframe.cpython-311.pyc
56
+ parrot/chatbots/__pycache__/hragents.cpython-311.pyc
57
+ parrot/chatbots/__pycache__/oddie.cpython-311.pyc
58
+ parrot/chatbots/__pycache__/odoo.cpython-311.pyc
59
+ parrot/chatbots/retrievals/__init__.py
60
+ parrot/chatbots/retrievals/constitutional.py
61
+ parrot/chatbots/retrievals/__pycache__/__init__.cpython-311.pyc
62
+ parrot/crew/__init__.py
63
+ parrot/crew/__pycache__/__init__.cpython-311.pyc
64
+ parrot/crew/tools/__init__.py
65
+ parrot/crew/tools/bing.py
66
+ parrot/crew/tools/config.py
67
+ parrot/crew/tools/duckgo.py
68
+ parrot/crew/tools/file.py
69
+ parrot/crew/tools/google.py
70
+ parrot/crew/tools/gtrends.py
71
+ parrot/crew/tools/md2pdf.py
72
+ parrot/crew/tools/rag.py
73
+ parrot/crew/tools/search.py
74
+ parrot/crew/tools/url.py
75
+ parrot/crew/tools/__pycache__/__init__.cpython-311.pyc
76
+ parrot/crew/tools/__pycache__/bing.cpython-311.pyc
77
+ parrot/crew/tools/__pycache__/config.cpython-311.pyc
78
+ parrot/crew/tools/__pycache__/duckgo.cpython-311.pyc
79
+ parrot/crew/tools/__pycache__/file.cpython-311.pyc
80
+ parrot/crew/tools/__pycache__/google.cpython-311.pyc
81
+ parrot/crew/tools/__pycache__/md2pdf.cpython-311.pyc
82
+ parrot/crew/tools/__pycache__/rag.cpython-311.pyc
83
+ parrot/crew/tools/__pycache__/url.cpython-311.pyc
84
+ parrot/crew/tools/__pycache__/weather.cpython-311.pyc
85
+ parrot/handlers/__init__.py
86
+ parrot/handlers/bots.py
87
+ parrot/handlers/chat.py
88
+ parrot/handlers/__pycache__/__init__.cpython-311.pyc
89
+ parrot/handlers/__pycache__/bots.cpython-311.pyc
90
+ parrot/handlers/__pycache__/chat.cpython-311.pyc
91
+ parrot/interfaces/__init__.py
92
+ parrot/interfaces/database.py
93
+ parrot/interfaces/__pycache__/__init__.cpython-311.pyc
94
+ parrot/interfaces/__pycache__/database.cpython-311.pyc
95
+ parrot/llms/__init__.py
96
+ parrot/llms/abstract.py
97
+ parrot/llms/anthropic.py
98
+ parrot/llms/google.py
99
+ parrot/llms/groq.py
100
+ parrot/llms/hf.py
101
+ parrot/llms/openai.py
102
+ parrot/llms/pipes.py
103
+ parrot/llms/vertex.py
104
+ parrot/llms/__pycache__/__init__.cpython-311.pyc
105
+ parrot/llms/__pycache__/abstract.cpython-311.pyc
106
+ parrot/llms/__pycache__/anthropic.cpython-311.pyc
107
+ parrot/llms/__pycache__/google.cpython-311.pyc
108
+ parrot/llms/__pycache__/groq.cpython-311.pyc
109
+ parrot/llms/__pycache__/hf.cpython-311.pyc
110
+ parrot/llms/__pycache__/openai.cpython-311.pyc
111
+ parrot/llms/__pycache__/pipes.cpython-311.pyc
112
+ parrot/llms/__pycache__/vertex.cpython-311.pyc
113
+ parrot/loaders/__init__.py
114
+ parrot/loaders/abstract.py
115
+ parrot/loaders/audio.py
116
+ parrot/loaders/basepdf.py
117
+ parrot/loaders/basevideo.py
118
+ parrot/loaders/csv.py
119
+ parrot/loaders/dir.py
120
+ parrot/loaders/excel.py
121
+ parrot/loaders/github.py
122
+ parrot/loaders/image.py
123
+ parrot/loaders/json.py
124
+ parrot/loaders/pdf.py
125
+ parrot/loaders/pdfchapters.py
126
+ parrot/loaders/pdffn.py
127
+ parrot/loaders/pdfimages.py
128
+ parrot/loaders/pdfmark.py
129
+ parrot/loaders/pdftables.py
130
+ parrot/loaders/ppt.py
131
+ parrot/loaders/qa.py
132
+ parrot/loaders/repo.py
133
+ parrot/loaders/rtd.py
134
+ parrot/loaders/txt.py
135
+ parrot/loaders/video.py
136
+ parrot/loaders/videolocal.py
137
+ parrot/loaders/vimeo.py
138
+ parrot/loaders/web.py
139
+ parrot/loaders/web_base.py
140
+ parrot/loaders/word.py
141
+ parrot/loaders/youtube.py
142
+ parrot/loaders/__pycache__/__init__.cpython-311.pyc
143
+ parrot/loaders/__pycache__/abstract.cpython-311.pyc
144
+ parrot/loaders/__pycache__/basepdf.cpython-311.pyc
145
+ parrot/loaders/__pycache__/basevideo.cpython-311.pyc
146
+ parrot/loaders/__pycache__/dir.cpython-311.pyc
147
+ parrot/loaders/__pycache__/excel.cpython-311.pyc
148
+ parrot/loaders/__pycache__/github.cpython-311.pyc
149
+ parrot/loaders/__pycache__/image.cpython-311.pyc
150
+ parrot/loaders/__pycache__/json.cpython-311.pyc
151
+ parrot/loaders/__pycache__/pdf.cpython-311.pyc
152
+ parrot/loaders/__pycache__/pdfchapters.cpython-311.pyc
153
+ parrot/loaders/__pycache__/pdffn.cpython-311.pyc
154
+ parrot/loaders/__pycache__/pdfimages.cpython-311.pyc
155
+ parrot/loaders/__pycache__/pdfmark.cpython-311.pyc
156
+ parrot/loaders/__pycache__/pdftables.cpython-311.pyc
157
+ parrot/loaders/__pycache__/ppt.cpython-311.pyc
158
+ parrot/loaders/__pycache__/qa.cpython-311.pyc
159
+ parrot/loaders/__pycache__/repo.cpython-311.pyc
160
+ parrot/loaders/__pycache__/rtd.cpython-311.pyc
161
+ parrot/loaders/__pycache__/tables.cpython-311.pyc
162
+ parrot/loaders/__pycache__/txt.cpython-311.pyc
163
+ parrot/loaders/__pycache__/video.cpython-311.pyc
164
+ parrot/loaders/__pycache__/videolocal.cpython-311.pyc
165
+ parrot/loaders/__pycache__/vimeo.cpython-311.pyc
166
+ parrot/loaders/__pycache__/web.cpython-311.pyc
167
+ parrot/loaders/__pycache__/web_base.cpython-311.pyc
168
+ parrot/loaders/__pycache__/word.cpython-311.pyc
169
+ parrot/loaders/__pycache__/youtube.cpython-311.pyc
170
+ parrot/loaders/handlers/__init__.py
171
+ parrot/loaders/handlers/data.py
172
+ parrot/loaders/handlers/__pycache__/__init__.cpython-311.pyc
173
+ parrot/loaders/handlers/__pycache__/data.cpython-311.pyc
174
+ parrot/loaders/utils/__init__.py
175
+ parrot/loaders/utils/models.py
176
+ parrot/loaders/utils/__pycache__/__init__.cpython-311.pyc
177
+ parrot/loaders/utils/__pycache__/models.cpython-311.pyc
178
+ parrot/stores/__init__.py
179
+ parrot/stores/abstract.py
180
+ parrot/stores/milvus.py
181
+ parrot/stores/qdrant.py
182
+ parrot/stores/__pycache__/__init__.cpython-311.pyc
183
+ parrot/stores/__pycache__/abstract.cpython-311.pyc
184
+ parrot/stores/__pycache__/base.cpython-311.pyc
185
+ parrot/stores/__pycache__/milvus.cpython-311.pyc
186
+ parrot/stores/__pycache__/qdrant.cpython-311.pyc
187
+ parrot/tools/__init__.py
188
+ parrot/tools/abstract.py
189
+ parrot/tools/asknews.py
190
+ parrot/tools/bing.py
191
+ parrot/tools/duck.py
192
+ parrot/tools/execute.py
193
+ parrot/tools/google.py
194
+ parrot/tools/stack.py
195
+ parrot/tools/weather.py
196
+ parrot/tools/wikipedia.py
197
+ parrot/tools/zipcode.py
198
+ parrot/tools/__pycache__/__init__.cpython-311.pyc
199
+ parrot/tools/__pycache__/abstract.cpython-311.pyc
200
+ parrot/tools/__pycache__/asknews.cpython-311.pyc
201
+ parrot/tools/__pycache__/bing.cpython-311.pyc
202
+ parrot/tools/__pycache__/duck.cpython-311.pyc
203
+ parrot/tools/__pycache__/execute.cpython-311.pyc
204
+ parrot/tools/__pycache__/google.cpython-311.pyc
205
+ parrot/tools/__pycache__/stack.cpython-311.pyc
206
+ parrot/tools/__pycache__/weather.cpython-311.pyc
207
+ parrot/tools/__pycache__/wikipedia.cpython-311.pyc
208
+ parrot/tools/__pycache__/zipcode.cpython-311.pyc
209
+ parrot/utils/__init__.py
210
+ parrot/utils/toml.py
211
+ parrot/utils/types.cpp
212
+ parrot/utils/types.cpython-311-x86_64-linux-gnu.so
213
+ parrot/utils/types.pyx
214
+ parrot/utils/uv.py
215
+ parrot/utils/__pycache__/__init__.cpython-311.pyc
216
+ parrot/utils/__pycache__/toml.cpython-311.pyc
217
+ parrot/utils/parsers/__init__.py
218
+ parrot/utils/parsers/toml.c
219
+ parrot/utils/parsers/toml.cpython-311-x86_64-linux-gnu.so
220
+ parrot/utils/parsers/toml.pyx
221
+ parrot/utils/parsers/__pycache__/__init__.cpython-311.pyc
222
+ requirements/requirements-dev.txt
223
+ settings/__init__.py
224
+ settings/settings.py
225
+ templates/.compiled
226
+ templates/README.md
@@ -89,6 +89,9 @@ Whether you need help with a specific question or just want to have a conversati
89
89
  - OpenWeatherMap: Get weather information about a location.
90
90
  - yahoo_finance_news: Retrieve the latest financial news from Yahoo Finance.
91
91
  - python_repl_ast: A Python shell. Use this to execute python commands. Input should be a valid python command. When using this tool, sometimes output is abbreviated - make sure it does not look abbreviated before using it in your answer.
92
+ - executable_python_repl_ast: A Python shell. Use this to execute python commands. Input should be a valid python command. When using this tool, whenever you generate a visual output (like charts with matplotlib), instead of using plt.show(), render the image as a base64-encoded HTML string. Do this by saving the plot to a buffer and encoding it in base64, then return the result as a JSON object formatted as follows: "image": "format": "png", "base64": "base64-encoded-string".
93
+
94
+
92
95
  - youtube_search: Search for videos on YouTube based on specific keywords.
93
96
 
94
97
 
@@ -4,17 +4,43 @@ from .base import BaseAgent
4
4
  from ..tools import (
5
5
  ZipcodeAPIToolkit,
6
6
  WikipediaTool,
7
- WikidataTool,
7
+ # WikidataTool,
8
8
  GoogleSearchTool,
9
9
  GoogleLocationFinder,
10
10
  BingSearchTool,
11
- AskNewsTool,
11
+ # AskNewsTool,
12
12
  DuckDuckGoSearchTool,
13
13
  YouTubeSearchTool,
14
14
  OpenWeatherMapTool,
15
15
  StackExchangeTool,
16
16
  )
17
+ from ..tools.execute import ExecutablePythonREPLTool
17
18
 
19
+ # ZipCode API Toolkit
20
+ zpt = ZipcodeAPIToolkit()
21
+ zpt_tools = zpt.get_tools()
22
+
23
+ wk1 = WikipediaTool()
24
+ # wk12 = WikidataTool()
25
+
26
+ g1 = GoogleSearchTool()
27
+ g2 = GoogleLocationFinder()
28
+
29
+ b = BingSearchTool()
30
+ d = DuckDuckGoSearchTool()
31
+ # ask = AskNewsTool()
32
+
33
+ yt = YouTubeSearchTool()
34
+ stackexchange = StackExchangeTool()
35
+ weather = OpenWeatherMapTool()
36
+
37
+ tooling = [
38
+ wk1,
39
+ g1, g2,
40
+ b, d, yt,
41
+ weather,
42
+ stackexchange
43
+ ] + zpt_tools
18
44
 
19
45
  class CopilotAgent(BaseAgent):
20
46
  """CopilotAgent Agent.
@@ -30,17 +56,24 @@ class CopilotAgent(BaseAgent):
30
56
  **kwargs
31
57
  ):
32
58
  super().__init__(name, llm, tools, prompt_template, **kwargs)
59
+ if not tools:
60
+ tools = tooling
33
61
  self.tools = [
34
62
  PythonAstREPLTool(
35
63
  name='python_repl_ast',
36
64
  globals={},
37
65
  locals={}
66
+ ),
67
+ ExecutablePythonREPLTool(
68
+ name='executable_python_repl_ast',
69
+ globals={},
70
+ locals={}
38
71
  )
39
72
  ] + list(tools)
40
73
  self.prompt = self.get_prompt(
41
74
  self.prompt_template
42
75
  )
43
- # print('PROMPT > ', self.prompt)
76
+ print('PROMPT > ', self.prompt)
44
77
 
45
78
  @classmethod
46
79
  def default_tools(cls) -> list:
@@ -12,6 +12,8 @@ logging.getLogger(name='h5py').setLevel(logging.INFO)
12
12
  logging.getLogger(name='tensorflow').setLevel(logging.INFO)
13
13
  logging.getLogger(name='selenium.webdriver').setLevel(logging.WARNING)
14
14
  logging.getLogger(name='selenium').setLevel(logging.INFO)
15
+ logging.getLogger(name='matplotlib').setLevel(logging.WARNING)
16
+ logging.getLogger(name='PIL').setLevel(logging.INFO)
15
17
 
16
18
 
17
19
  # Static directory