ai-parrot 0.3.11__tar.gz → 0.4.11__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 (240) hide show
  1. ai_parrot-0.4.11/MANIFEST.in +20 -0
  2. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/Makefile +4 -1
  3. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/PKG-INFO +51 -84
  4. ai_parrot-0.4.11/ai_parrot.egg-info/SOURCES.txt +162 -0
  5. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/app.py +0 -3
  6. ai_parrot-0.4.11/parrot/__pycache__/__init__.cpython-311.pyc +0 -0
  7. ai_parrot-0.4.11/parrot/__pycache__/conf.cpython-311.pyc +0 -0
  8. ai_parrot-0.4.11/parrot/__pycache__/manager.cpython-311.pyc +0 -0
  9. ai_parrot-0.4.11/parrot/__pycache__/models.cpython-311.pyc +0 -0
  10. ai_parrot-0.4.11/parrot/__pycache__/version.cpython-311.pyc +0 -0
  11. ai_parrot-0.4.11/parrot/bots/__init__.py +13 -0
  12. ai_parrot-0.4.11/parrot/bots/__pycache__/__init__.cpython-311.pyc +0 -0
  13. ai_parrot-0.4.11/parrot/bots/__pycache__/a.cpython-311.pyc +0 -0
  14. ai_parrot-0.4.11/parrot/bots/__pycache__/abstract.cpython-311.pyc +0 -0
  15. ai_parrot-0.4.11/parrot/bots/__pycache__/askbrett.cpython-311.pyc +0 -0
  16. ai_parrot-0.4.11/parrot/bots/__pycache__/asktroc.cpython-311.pyc +0 -0
  17. ai_parrot-0.4.11/parrot/bots/__pycache__/base.cpython-311.pyc +0 -0
  18. ai_parrot-0.4.11/parrot/bots/__pycache__/basic.cpython-311.pyc +0 -0
  19. ai_parrot-0.4.11/parrot/bots/__pycache__/bose.cpython-311.pyc +0 -0
  20. ai_parrot-0.4.11/parrot/bots/__pycache__/chatbot.cpython-311.pyc +0 -0
  21. ai_parrot-0.4.11/parrot/bots/__pycache__/cody.cpython-311.pyc +0 -0
  22. ai_parrot-0.4.11/parrot/bots/__pycache__/copilot.cpython-311.pyc +0 -0
  23. ai_parrot-0.4.11/parrot/bots/__pycache__/dataframe.cpython-311.pyc +0 -0
  24. ai_parrot-0.4.11/parrot/bots/__pycache__/hragents.cpython-311.pyc +0 -0
  25. ai_parrot-0.4.11/parrot/bots/__pycache__/hrbot.cpython-311.pyc +0 -0
  26. ai_parrot-0.4.11/parrot/bots/__pycache__/oddie.cpython-311.pyc +0 -0
  27. ai_parrot-0.4.11/parrot/bots/__pycache__/odoo.cpython-311.pyc +0 -0
  28. ai_parrot-0.4.11/parrot/bots/__pycache__/troc.cpython-311.pyc +0 -0
  29. ai_parrot-0.4.11/parrot/bots/abstract.py +704 -0
  30. {ai_parrot-0.3.11/parrot/chatbots → ai_parrot-0.4.11/parrot/bots}/base.py +4 -0
  31. ai_parrot-0.4.11/parrot/bots/basic.py +9 -0
  32. {ai_parrot-0.3.11/parrot/chatbots → ai_parrot-0.4.11/parrot/bots}/bose.py +1 -1
  33. ai_parrot-0.4.11/parrot/bots/chatbot.py +257 -0
  34. {ai_parrot-0.3.11/parrot/chatbots → ai_parrot-0.4.11/parrot/bots}/cody.py +1 -1
  35. {ai_parrot-0.3.11/parrot/chatbots → ai_parrot-0.4.11/parrot/bots}/copilot.py +46 -12
  36. ai_parrot-0.3.11/parrot/chatbots/hragents.py → ai_parrot-0.4.11/parrot/bots/hrbot.py +1 -1
  37. {ai_parrot-0.3.11/parrot/chatbots → ai_parrot-0.4.11/parrot/bots}/odoo.py +1 -1
  38. {ai_parrot-0.3.11/parrot/chatbots → ai_parrot-0.4.11/parrot/bots}/retrievals/__init__.py +104 -72
  39. ai_parrot-0.4.11/parrot/bots/retrievals/__pycache__/__init__.cpython-311.pyc +0 -0
  40. ai_parrot-0.3.11/parrot/chatbots/asktroc.py → ai_parrot-0.4.11/parrot/bots/troc.py +1 -1
  41. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/conf.py +2 -1
  42. ai_parrot-0.4.11/parrot/crew/__pycache__/__init__.cpython-311.pyc +0 -0
  43. ai_parrot-0.4.11/parrot/crew/tools/__pycache__/__init__.cpython-311.pyc +0 -0
  44. ai_parrot-0.4.11/parrot/crew/tools/__pycache__/bing.cpython-311.pyc +0 -0
  45. ai_parrot-0.4.11/parrot/crew/tools/__pycache__/config.cpython-311.pyc +0 -0
  46. ai_parrot-0.4.11/parrot/crew/tools/__pycache__/duckgo.cpython-311.pyc +0 -0
  47. ai_parrot-0.4.11/parrot/crew/tools/__pycache__/file.cpython-311.pyc +0 -0
  48. ai_parrot-0.4.11/parrot/crew/tools/__pycache__/google.cpython-311.pyc +0 -0
  49. ai_parrot-0.4.11/parrot/crew/tools/__pycache__/md2pdf.cpython-311.pyc +0 -0
  50. ai_parrot-0.4.11/parrot/crew/tools/__pycache__/rag.cpython-311.pyc +0 -0
  51. ai_parrot-0.4.11/parrot/crew/tools/__pycache__/url.cpython-311.pyc +0 -0
  52. ai_parrot-0.4.11/parrot/crew/tools/__pycache__/weather.cpython-311.pyc +0 -0
  53. ai_parrot-0.4.11/parrot/exceptions.cpython-311-x86_64-linux-gnu.so +0 -0
  54. ai_parrot-0.4.11/parrot/handlers/__pycache__/__init__.cpython-311.pyc +0 -0
  55. ai_parrot-0.4.11/parrot/handlers/__pycache__/bots.cpython-311.pyc +0 -0
  56. ai_parrot-0.4.11/parrot/handlers/__pycache__/chat.cpython-311.pyc +0 -0
  57. ai_parrot-0.4.11/parrot/interfaces/__pycache__/__init__.cpython-311.pyc +0 -0
  58. ai_parrot-0.4.11/parrot/interfaces/__pycache__/database.cpython-311.pyc +0 -0
  59. ai_parrot-0.4.11/parrot/llms/__pycache__/__init__.cpython-311.pyc +0 -0
  60. ai_parrot-0.4.11/parrot/llms/__pycache__/abstract.cpython-311.pyc +0 -0
  61. ai_parrot-0.4.11/parrot/llms/__pycache__/anthropic.cpython-311.pyc +0 -0
  62. ai_parrot-0.4.11/parrot/llms/__pycache__/google.cpython-311.pyc +0 -0
  63. ai_parrot-0.4.11/parrot/llms/__pycache__/groq.cpython-311.pyc +0 -0
  64. ai_parrot-0.4.11/parrot/llms/__pycache__/hf.cpython-311.pyc +0 -0
  65. ai_parrot-0.4.11/parrot/llms/__pycache__/openai.cpython-311.pyc +0 -0
  66. ai_parrot-0.4.11/parrot/llms/__pycache__/pipes.cpython-311.pyc +0 -0
  67. ai_parrot-0.4.11/parrot/llms/__pycache__/vertex.cpython-311.pyc +0 -0
  68. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/llms/vertex.py +3 -2
  69. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/manager.py +38 -35
  70. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/models.py +4 -1
  71. ai_parrot-0.4.11/parrot/stores/__pycache__/__init__.cpython-311.pyc +0 -0
  72. ai_parrot-0.4.11/parrot/stores/__pycache__/abstract.cpython-311.pyc +0 -0
  73. ai_parrot-0.4.11/parrot/stores/__pycache__/base.cpython-311.pyc +0 -0
  74. ai_parrot-0.4.11/parrot/stores/__pycache__/milvus.cpython-311.pyc +0 -0
  75. ai_parrot-0.4.11/parrot/stores/__pycache__/qdrant.cpython-311.pyc +0 -0
  76. ai_parrot-0.4.11/parrot/stores/abstract.py +163 -0
  77. ai_parrot-0.4.11/parrot/stores/milvus.py +326 -0
  78. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/stores/qdrant.py +27 -70
  79. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/tools/__init__.py +1 -1
  80. ai_parrot-0.4.11/parrot/tools/__pycache__/__init__.cpython-311.pyc +0 -0
  81. ai_parrot-0.4.11/parrot/tools/__pycache__/abstract.cpython-311.pyc +0 -0
  82. ai_parrot-0.4.11/parrot/tools/__pycache__/asknews.cpython-311.pyc +0 -0
  83. ai_parrot-0.4.11/parrot/tools/__pycache__/bing.cpython-311.pyc +0 -0
  84. ai_parrot-0.4.11/parrot/tools/__pycache__/duck.cpython-311.pyc +0 -0
  85. ai_parrot-0.4.11/parrot/tools/__pycache__/execute.cpython-311.pyc +0 -0
  86. ai_parrot-0.4.11/parrot/tools/__pycache__/google.cpython-311.pyc +0 -0
  87. ai_parrot-0.4.11/parrot/tools/__pycache__/stack.cpython-311.pyc +0 -0
  88. ai_parrot-0.4.11/parrot/tools/__pycache__/weather.cpython-311.pyc +0 -0
  89. ai_parrot-0.4.11/parrot/tools/__pycache__/wikipedia.cpython-311.pyc +0 -0
  90. ai_parrot-0.4.11/parrot/tools/__pycache__/zipcode.cpython-311.pyc +0 -0
  91. ai_parrot-0.4.11/parrot/tools/execute.py +56 -0
  92. ai_parrot-0.4.11/parrot/utils/__pycache__/__init__.cpython-311.pyc +0 -0
  93. ai_parrot-0.4.11/parrot/utils/__pycache__/toml.cpython-311.pyc +0 -0
  94. ai_parrot-0.4.11/parrot/utils/parsers/__pycache__/__init__.cpython-311.pyc +0 -0
  95. ai_parrot-0.4.11/parrot/utils/parsers/toml.cpython-311-x86_64-linux-gnu.so +0 -0
  96. ai_parrot-0.4.11/parrot/utils/types.cpython-311-x86_64-linux-gnu.so +0 -0
  97. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/version.py +2 -2
  98. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/setup.py +57 -85
  99. ai_parrot-0.3.11/ai_parrot.egg-info/PKG-INFO +0 -303
  100. ai_parrot-0.3.11/ai_parrot.egg-info/SOURCES.txt +0 -159
  101. ai_parrot-0.3.11/ai_parrot.egg-info/dependency_links.txt +0 -1
  102. ai_parrot-0.3.11/ai_parrot.egg-info/requires.txt +0 -126
  103. ai_parrot-0.3.11/ai_parrot.egg-info/top_level.txt +0 -3
  104. ai_parrot-0.3.11/documents/AR_Certification_Skill_Practice_Scorecard_EXAMPLE.pdf +0 -0
  105. ai_parrot-0.3.11/documents/Day 1_Essentials_AR_PPT.pdf +0 -0
  106. ai_parrot-0.3.11/documents/ex-code-loaders.txt +0 -116
  107. ai_parrot-0.3.11/documents/video_2024-09-11_19-43-58.mp3 +0 -0
  108. ai_parrot-0.3.11/documents/video_2024-09-11_19-43-58.mp4 +0 -0
  109. ai_parrot-0.3.11/documents/video_2024-09-11_19-43-58.vtt +0 -122
  110. ai_parrot-0.3.11/etc/navigator-ssl.ini +0 -51
  111. ai_parrot-0.3.11/etc/navigator.ini +0 -46
  112. ai_parrot-0.3.11/etc/ssl/domain.ext +0 -5
  113. ai_parrot-0.3.11/etc/ssl/navigator.local.crt +0 -23
  114. ai_parrot-0.3.11/etc/ssl/navigator.local.csr +0 -18
  115. ai_parrot-0.3.11/etc/ssl/navigator.local.key +0 -27
  116. ai_parrot-0.3.11/etc/ssl/rootCA.crt +0 -39
  117. ai_parrot-0.3.11/etc/ssl/rootCA.key +0 -51
  118. ai_parrot-0.3.11/etc/ssl/rootCA.srl +0 -1
  119. ai_parrot-0.3.11/examples/analyze_video.py +0 -33
  120. ai_parrot-0.3.11/examples/askbuddy/create_bot.py +0 -32
  121. ai_parrot-0.3.11/examples/askbuddy/load_pdf.py +0 -52
  122. ai_parrot-0.3.11/examples/check_bot.py +0 -44
  123. ai_parrot-0.3.11/examples/extract_frames.py +0 -74
  124. ai_parrot-0.3.11/examples/load_pdf.py +0 -32
  125. ai_parrot-0.3.11/examples/test_bot.py +0 -51
  126. ai_parrot-0.3.11/examples/test_question.py +0 -49
  127. ai_parrot-0.3.11/parrot/chatbots/__init__.py +0 -7
  128. ai_parrot-0.3.11/parrot/chatbots/abstract.py +0 -728
  129. ai_parrot-0.3.11/parrot/chatbots/basic.py +0 -9
  130. ai_parrot-0.3.11/parrot/loaders/__init__.py +0 -20
  131. ai_parrot-0.3.11/parrot/loaders/abstract.py +0 -456
  132. ai_parrot-0.3.11/parrot/loaders/audio.py +0 -106
  133. ai_parrot-0.3.11/parrot/loaders/basepdf.py +0 -102
  134. ai_parrot-0.3.11/parrot/loaders/basevideo.py +0 -280
  135. ai_parrot-0.3.11/parrot/loaders/csv.py +0 -42
  136. ai_parrot-0.3.11/parrot/loaders/dir.py +0 -37
  137. ai_parrot-0.3.11/parrot/loaders/excel.py +0 -349
  138. ai_parrot-0.3.11/parrot/loaders/github.py +0 -65
  139. ai_parrot-0.3.11/parrot/loaders/handlers/__init__.py +0 -5
  140. ai_parrot-0.3.11/parrot/loaders/handlers/data.py +0 -213
  141. ai_parrot-0.3.11/parrot/loaders/image.py +0 -119
  142. ai_parrot-0.3.11/parrot/loaders/json.py +0 -52
  143. ai_parrot-0.3.11/parrot/loaders/pdf.py +0 -511
  144. ai_parrot-0.3.11/parrot/loaders/pdfchapters.py +0 -142
  145. ai_parrot-0.3.11/parrot/loaders/pdffn.py +0 -112
  146. ai_parrot-0.3.11/parrot/loaders/pdfimages.py +0 -207
  147. ai_parrot-0.3.11/parrot/loaders/pdfmark.py +0 -88
  148. ai_parrot-0.3.11/parrot/loaders/pdftables.py +0 -145
  149. ai_parrot-0.3.11/parrot/loaders/ppt.py +0 -30
  150. ai_parrot-0.3.11/parrot/loaders/qa.py +0 -81
  151. ai_parrot-0.3.11/parrot/loaders/repo.py +0 -103
  152. ai_parrot-0.3.11/parrot/loaders/rtd.py +0 -65
  153. ai_parrot-0.3.11/parrot/loaders/txt.py +0 -92
  154. ai_parrot-0.3.11/parrot/loaders/utils/__init__.py +0 -1
  155. ai_parrot-0.3.11/parrot/loaders/utils/models.py +0 -25
  156. ai_parrot-0.3.11/parrot/loaders/video.py +0 -96
  157. ai_parrot-0.3.11/parrot/loaders/videolocal.py +0 -142
  158. ai_parrot-0.3.11/parrot/loaders/vimeo.py +0 -106
  159. ai_parrot-0.3.11/parrot/loaders/web.py +0 -216
  160. ai_parrot-0.3.11/parrot/loaders/web_base.py +0 -112
  161. ai_parrot-0.3.11/parrot/loaders/word.py +0 -125
  162. ai_parrot-0.3.11/parrot/loaders/youtube.py +0 -192
  163. ai_parrot-0.3.11/parrot/stores/abstract.py +0 -171
  164. ai_parrot-0.3.11/parrot/stores/milvus.py +0 -636
  165. ai_parrot-0.3.11/resources/__init__.py +0 -0
  166. ai_parrot-0.3.11/resources/quick.py +0 -23
  167. ai_parrot-0.3.11/resources/users/__init__.py +0 -5
  168. ai_parrot-0.3.11/resources/users/handlers.py +0 -13
  169. ai_parrot-0.3.11/resources/users/models.py +0 -205
  170. ai_parrot-0.3.11/settings/__init__.py +0 -0
  171. ai_parrot-0.3.11/settings/settings.py +0 -51
  172. ai_parrot-0.3.11/templates/.compiled +0 -0
  173. ai_parrot-0.3.11/templates/README.md +0 -1
  174. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/.flake8 +0 -0
  175. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/.github/dependabot.yml +0 -0
  176. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/.github/workflows/codeql-analysis.yml +0 -0
  177. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/.github/workflows/release.yml +0 -0
  178. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/.gitignore +0 -0
  179. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/.isort.cfg +0 -0
  180. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/.pylintrc +0 -0
  181. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/INSTALL +0 -0
  182. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/LICENSE +0 -0
  183. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/README.md +0 -0
  184. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/SECURITY.md +0 -0
  185. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/mypy.ini +0 -0
  186. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/__init__.py +0 -0
  187. {ai_parrot-0.3.11/parrot/chatbots → ai_parrot-0.4.11/parrot/bots}/dataframe.py +0 -0
  188. {ai_parrot-0.3.11/parrot/chatbots → ai_parrot-0.4.11/parrot/bots}/retrievals/constitutional.py +0 -0
  189. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/crew/__init__.py +0 -0
  190. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/crew/tools/__init__.py +0 -0
  191. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/crew/tools/bing.py +0 -0
  192. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/crew/tools/config.py +0 -0
  193. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/crew/tools/duckgo.py +0 -0
  194. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/crew/tools/file.py +0 -0
  195. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/crew/tools/google.py +0 -0
  196. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/crew/tools/gtrends.py +0 -0
  197. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/crew/tools/md2pdf.py +0 -0
  198. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/crew/tools/rag.py +0 -0
  199. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/crew/tools/search.py +0 -0
  200. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/crew/tools/url.py +0 -0
  201. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/exceptions.c +0 -0
  202. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/exceptions.pyx +0 -0
  203. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/handlers/__init__.py +0 -0
  204. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/handlers/bots.py +0 -0
  205. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/handlers/chat.py +0 -0
  206. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/interfaces/__init__.py +0 -0
  207. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/interfaces/database.py +0 -0
  208. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/llms/__init__.py +0 -0
  209. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/llms/abstract.py +0 -0
  210. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/llms/anthropic.py +0 -0
  211. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/llms/google.py +0 -0
  212. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/llms/groq.py +0 -0
  213. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/llms/hf.py +0 -0
  214. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/llms/openai.py +0 -0
  215. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/llms/pipes.py +0 -0
  216. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/py.typed +0 -0
  217. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/stores/__init__.py +0 -0
  218. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/tools/abstract.py +0 -0
  219. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/tools/asknews.py +0 -0
  220. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/tools/bing.py +0 -0
  221. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/tools/duck.py +0 -0
  222. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/tools/google.py +0 -0
  223. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/tools/stack.py +0 -0
  224. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/tools/weather.py +0 -0
  225. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/tools/wikipedia.py +0 -0
  226. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/tools/zipcode.py +0 -0
  227. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/utils/__init__.py +0 -0
  228. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/utils/parsers/__init__.py +0 -0
  229. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/utils/parsers/toml.c +0 -0
  230. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/utils/parsers/toml.pyx +0 -0
  231. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/utils/toml.py +0 -0
  232. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/utils/types.cpp +0 -0
  233. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/utils/types.pyx +0 -0
  234. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/parrot/utils/uv.py +0 -0
  235. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/pyproject.toml +0 -0
  236. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/pytest.ini +0 -0
  237. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/requirements/requirements-dev.txt +0 -0
  238. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/run.py +0 -0
  239. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/setup.cfg +0 -0
  240. {ai_parrot-0.3.11 → ai_parrot-0.4.11}/tox.ini +0 -0
@@ -0,0 +1,20 @@
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
+ prune settings
15
+ prune templates
16
+ prune static
17
+
18
+ # Optionally, you can also specify any other unwanted directories
19
+ prune tests
20
+ 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,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ai-parrot
3
- Version: 0.3.11
4
- Summary: Live Chatbots based on Langchain chatbots and Agents Integrated into Navigator Framework or used into aiohttp applications.
3
+ Version: 0.4.11
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
7
7
  Author-email: jesuslara@phenobarbital.info
@@ -30,91 +30,56 @@ 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: accelerate==0.34.2
34
- Requires-Dist: langchain>=0.2.6
35
- Requires-Dist: langchain-community>=0.2.6
36
- Requires-Dist: langchain-core>=0.2.32
37
- Requires-Dist: langchain-experimental==0.0.62
38
- Requires-Dist: langchainhub==0.1.15
39
- Requires-Dist: langchain-text-splitters==0.2.2
40
- Requires-Dist: langchain-huggingface==0.0.3
41
- Requires-Dist: huggingface-hub==0.23.5
42
- Requires-Dist: llama-index==0.10.20
43
- Requires-Dist: llama_cpp_python==0.2.56
44
- Requires-Dist: bitsandbytes==0.43.3
45
- Requires-Dist: Cartopy==0.22.0
46
- Requires-Dist: chromadb==0.4.24
47
- Requires-Dist: datasets==2.18.0
48
- Requires-Dist: faiss-cpu==1.8.0
49
- Requires-Dist: fastavro==1.9.4
50
- Requires-Dist: gunicorn==21.2.0
33
+ Requires-Dist: langchain>=0.3.4
34
+ Requires-Dist: langchain-community==0.3.3
35
+ Requires-Dist: langchain-experimental==0.3.2
36
+ Requires-Dist: langchainhub==0.1.21
37
+ Requires-Dist: huggingface-hub==0.26.2
38
+ Requires-Dist: faiss-cpu>=1.9.0
51
39
  Requires-Dist: jq==1.7.0
52
40
  Requires-Dist: rank_bm25==0.2.2
53
- Requires-Dist: matplotlib==3.8.3
54
- Requires-Dist: numba==0.59.0
55
- Requires-Dist: querysource>=3.12.10
56
- Requires-Dist: safetensors>=0.4.3
57
- Requires-Dist: sentence-transformers==3.0.1
41
+ Requires-Dist: matplotlib==3.9.2
58
42
  Requires-Dist: tabulate==0.9.0
59
- Requires-Dist: tiktoken==0.7.0
60
- Requires-Dist: tokenizers==0.19.1
61
43
  Requires-Dist: selenium>=4.18.1
62
44
  Requires-Dist: webdriver_manager>=4.0.1
63
45
  Requires-Dist: transitions==0.9.0
64
46
  Requires-Dist: sentencepiece==0.2.0
65
- Requires-Dist: duckduckgo-search==5.3.0
66
- Requires-Dist: google-search-results==2.4.2
67
- Requires-Dist: google-api-python-client>=2.86.0
68
- Requires-Dist: gdown==5.1.0
69
47
  Requires-Dist: weasyprint==61.2
70
48
  Requires-Dist: markdown2==2.4.13
71
- Requires-Dist: fastembed==0.3.4
72
- Requires-Dist: yfinance==0.2.40
73
- Requires-Dist: youtube_search==2.1.2
74
- Requires-Dist: wikipedia==1.4.0
75
- Requires-Dist: mediawikiapi==1.2
76
- Requires-Dist: pyowm==3.3.0
77
- Requires-Dist: O365==2.0.35
78
- Requires-Dist: stackapi==0.3.1
79
- Requires-Dist: torchvision==0.19.1
80
- Requires-Dist: tf-keras==2.17.0
81
- Requires-Dist: simsimd==4.3.1
82
- Requires-Dist: opencv-python==4.10.0.84
83
- Provides-Extra: loaders
84
- Requires-Dist: unstructured==0.14.3; extra == "loaders"
85
- 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
- Requires-Dist: PyPDF2==3.0.1; extra == "loaders"
91
- Requires-Dist: pdfminer.six==20231228; extra == "loaders"
92
- Requires-Dist: pdfplumber==0.11.0; extra == "loaders"
93
- Requires-Dist: GitPython==3.1.42; extra == "loaders"
94
- 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
- Requires-Dist: paddlepaddle==2.6.1; extra == "loaders"
107
- Requires-Dist: paddlepaddle_gpu==2.6.1; extra == "loaders"
108
- Requires-Dist: paddleocr==2.8.1; extra == "loaders"
109
- Requires-Dist: ftfy==6.2.3; extra == "loaders"
110
- Requires-Dist: librosa==0.10.1; extra == "loaders"
111
- Requires-Dist: XlsxWriter==3.2.0; extra == "loaders"
112
- Requires-Dist: timm==1.0.9; extra == "loaders"
113
- Requires-Dist: simsimd==4.3.1; extra == "loaders"
114
- Requires-Dist: opencv-python==4.10.0.84; extra == "loaders"
115
- Requires-Dist: easyocr==1.7.1; extra == "loaders"
49
+ Provides-Extra: agents
50
+ Requires-Dist: numba==0.59.0; extra == "agents"
51
+ Requires-Dist: yfinance==0.2.40; extra == "agents"
52
+ Requires-Dist: youtube_search==2.1.2; extra == "agents"
53
+ Requires-Dist: wikipedia==1.4.0; extra == "agents"
54
+ Requires-Dist: mediawikiapi==1.2; extra == "agents"
55
+ Requires-Dist: pyowm==3.3.0; extra == "agents"
56
+ Requires-Dist: O365==2.0.35; extra == "agents"
57
+ Requires-Dist: stackapi==0.3.1; extra == "agents"
58
+ Requires-Dist: duckduckgo-search==5.3.0; extra == "agents"
59
+ Requires-Dist: google-search-results==2.4.2; extra == "agents"
60
+ Requires-Dist: google-api-python-client>=2.86.0; extra == "agents"
61
+ Provides-Extra: chatbots
62
+ Requires-Dist: torch==2.5.1; extra == "chatbots"
63
+ Requires-Dist: langchain_huggingface==0.1.2; extra == "chatbots"
64
+ Requires-Dist: langchain-text-splitters==0.3.1; extra == "chatbots"
65
+ Requires-Dist: fastembed==0.3.4; extra == "chatbots"
66
+ Requires-Dist: tiktoken==0.7.0; extra == "chatbots"
67
+ Requires-Dist: accelerate==0.34.2; extra == "chatbots"
68
+ Requires-Dist: llama-index==0.11.20; extra == "chatbots"
69
+ Requires-Dist: llama_cpp_python==0.2.56; extra == "chatbots"
70
+ Requires-Dist: bitsandbytes==0.44.1; extra == "chatbots"
71
+ Requires-Dist: datasets>=3.0.2; extra == "chatbots"
72
+ Requires-Dist: safetensors>=0.4.3; extra == "chatbots"
73
+ Requires-Dist: transformers>=4.44.2; extra == "chatbots"
74
+ Requires-Dist: sentence-transformers==3.0.1; extra == "chatbots"
75
+ Requires-Dist: tokenizers==0.20.1; extra == "chatbots"
76
+ Requires-Dist: torchvision==0.20.1; extra == "chatbots"
77
+ Requires-Dist: tensorflow==2.18.0; extra == "chatbots"
78
+ Requires-Dist: tf-keras==2.18.0; extra == "chatbots"
79
+ Requires-Dist: simsimd==4.3.1; extra == "chatbots"
80
+ Requires-Dist: opencv-python==4.10.0.84; extra == "chatbots"
116
81
  Provides-Extra: anthropic
117
- Requires-Dist: langchain-anthropic==0.1.11; extra == "anthropic"
82
+ Requires-Dist: langchain-anthropic==0.2.4; extra == "anthropic"
118
83
  Requires-Dist: anthropic==0.25.2; extra == "anthropic"
119
84
  Provides-Extra: openai
120
85
  Requires-Dist: langchain-openai==0.1.21; extra == "openai"
@@ -122,20 +87,22 @@ Requires-Dist: openai==1.40.3; extra == "openai"
122
87
  Requires-Dist: llama-index-llms-openai==0.1.11; extra == "openai"
123
88
  Requires-Dist: tiktoken==0.7.0; extra == "openai"
124
89
  Provides-Extra: google
125
- Requires-Dist: langchain-google-vertexai==1.0.10; extra == "google"
126
- Requires-Dist: langchain-google-genai==1.0.10; extra == "google"
127
- Requires-Dist: vertexai==1.65.0; extra == "google"
90
+ Requires-Dist: langchain-google-genai==2.0.1; extra == "google"
91
+ Requires-Dist: langchain-google-vertexai==2.0.5; extra == "google"
92
+ Requires-Dist: vertexai==1.71.1; extra == "google"
93
+ Requires-Dist: pydantic==2.9.2; extra == "google"
94
+ Requires-Dist: pydantic-core==2.23.4; extra == "google"
128
95
  Provides-Extra: hunggingfaces
129
96
  Requires-Dist: llama-index-llms-huggingface==0.2.7; extra == "hunggingfaces"
130
97
  Provides-Extra: groq
131
98
  Requires-Dist: groq==0.11.0; extra == "groq"
132
- Requires-Dist: langchain-groq==0.1.9; extra == "groq"
99
+ Requires-Dist: langchain-groq==0.2.0; extra == "groq"
133
100
  Provides-Extra: qdrant
134
- Requires-Dist: qdrant-client==1.8.0; extra == "qdrant"
101
+ Requires-Dist: qdrant-client==1.12.1; extra == "qdrant"
135
102
  Provides-Extra: milvus
136
- Requires-Dist: langchain-milvus>=0.1.4; extra == "milvus"
103
+ Requires-Dist: langchain-milvus>=0.1.6; extra == "milvus"
104
+ Requires-Dist: pymilvus==2.4.8; extra == "milvus"
137
105
  Requires-Dist: milvus==2.3.5; extra == "milvus"
138
- Requires-Dist: pymilvus==2.4.6; extra == "milvus"
139
106
  Provides-Extra: crew
140
107
  Requires-Dist: colbert-ai==0.2.19; extra == "crew"
141
108
  Requires-Dist: vanna==0.3.4; extra == "crew"
@@ -0,0 +1,162 @@
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/bots/__init__.py
36
+ parrot/bots/abstract.py
37
+ parrot/bots/base.py
38
+ parrot/bots/basic.py
39
+ parrot/bots/bose.py
40
+ parrot/bots/chatbot.py
41
+ parrot/bots/cody.py
42
+ parrot/bots/copilot.py
43
+ parrot/bots/dataframe.py
44
+ parrot/bots/hrbot.py
45
+ parrot/bots/odoo.py
46
+ parrot/bots/troc.py
47
+ parrot/bots/__pycache__/__init__.cpython-311.pyc
48
+ parrot/bots/__pycache__/a.cpython-311.pyc
49
+ parrot/bots/__pycache__/abstract.cpython-311.pyc
50
+ parrot/bots/__pycache__/askbrett.cpython-311.pyc
51
+ parrot/bots/__pycache__/asktroc.cpython-311.pyc
52
+ parrot/bots/__pycache__/base.cpython-311.pyc
53
+ parrot/bots/__pycache__/basic.cpython-311.pyc
54
+ parrot/bots/__pycache__/bose.cpython-311.pyc
55
+ parrot/bots/__pycache__/chatbot.cpython-311.pyc
56
+ parrot/bots/__pycache__/cody.cpython-311.pyc
57
+ parrot/bots/__pycache__/copilot.cpython-311.pyc
58
+ parrot/bots/__pycache__/dataframe.cpython-311.pyc
59
+ parrot/bots/__pycache__/hragents.cpython-311.pyc
60
+ parrot/bots/__pycache__/hrbot.cpython-311.pyc
61
+ parrot/bots/__pycache__/oddie.cpython-311.pyc
62
+ parrot/bots/__pycache__/odoo.cpython-311.pyc
63
+ parrot/bots/__pycache__/troc.cpython-311.pyc
64
+ parrot/bots/retrievals/__init__.py
65
+ parrot/bots/retrievals/constitutional.py
66
+ parrot/bots/retrievals/__pycache__/__init__.cpython-311.pyc
67
+ parrot/crew/__init__.py
68
+ parrot/crew/__pycache__/__init__.cpython-311.pyc
69
+ parrot/crew/tools/__init__.py
70
+ parrot/crew/tools/bing.py
71
+ parrot/crew/tools/config.py
72
+ parrot/crew/tools/duckgo.py
73
+ parrot/crew/tools/file.py
74
+ parrot/crew/tools/google.py
75
+ parrot/crew/tools/gtrends.py
76
+ parrot/crew/tools/md2pdf.py
77
+ parrot/crew/tools/rag.py
78
+ parrot/crew/tools/search.py
79
+ parrot/crew/tools/url.py
80
+ parrot/crew/tools/__pycache__/__init__.cpython-311.pyc
81
+ parrot/crew/tools/__pycache__/bing.cpython-311.pyc
82
+ parrot/crew/tools/__pycache__/config.cpython-311.pyc
83
+ parrot/crew/tools/__pycache__/duckgo.cpython-311.pyc
84
+ parrot/crew/tools/__pycache__/file.cpython-311.pyc
85
+ parrot/crew/tools/__pycache__/google.cpython-311.pyc
86
+ parrot/crew/tools/__pycache__/md2pdf.cpython-311.pyc
87
+ parrot/crew/tools/__pycache__/rag.cpython-311.pyc
88
+ parrot/crew/tools/__pycache__/url.cpython-311.pyc
89
+ parrot/crew/tools/__pycache__/weather.cpython-311.pyc
90
+ parrot/handlers/__init__.py
91
+ parrot/handlers/bots.py
92
+ parrot/handlers/chat.py
93
+ parrot/handlers/__pycache__/__init__.cpython-311.pyc
94
+ parrot/handlers/__pycache__/bots.cpython-311.pyc
95
+ parrot/handlers/__pycache__/chat.cpython-311.pyc
96
+ parrot/interfaces/__init__.py
97
+ parrot/interfaces/database.py
98
+ parrot/interfaces/__pycache__/__init__.cpython-311.pyc
99
+ parrot/interfaces/__pycache__/database.cpython-311.pyc
100
+ parrot/llms/__init__.py
101
+ parrot/llms/abstract.py
102
+ parrot/llms/anthropic.py
103
+ parrot/llms/google.py
104
+ parrot/llms/groq.py
105
+ parrot/llms/hf.py
106
+ parrot/llms/openai.py
107
+ parrot/llms/pipes.py
108
+ parrot/llms/vertex.py
109
+ parrot/llms/__pycache__/__init__.cpython-311.pyc
110
+ parrot/llms/__pycache__/abstract.cpython-311.pyc
111
+ parrot/llms/__pycache__/anthropic.cpython-311.pyc
112
+ parrot/llms/__pycache__/google.cpython-311.pyc
113
+ parrot/llms/__pycache__/groq.cpython-311.pyc
114
+ parrot/llms/__pycache__/hf.cpython-311.pyc
115
+ parrot/llms/__pycache__/openai.cpython-311.pyc
116
+ parrot/llms/__pycache__/pipes.cpython-311.pyc
117
+ parrot/llms/__pycache__/vertex.cpython-311.pyc
118
+ parrot/stores/__init__.py
119
+ parrot/stores/abstract.py
120
+ parrot/stores/milvus.py
121
+ parrot/stores/qdrant.py
122
+ parrot/stores/__pycache__/__init__.cpython-311.pyc
123
+ parrot/stores/__pycache__/abstract.cpython-311.pyc
124
+ parrot/stores/__pycache__/base.cpython-311.pyc
125
+ parrot/stores/__pycache__/milvus.cpython-311.pyc
126
+ parrot/stores/__pycache__/qdrant.cpython-311.pyc
127
+ parrot/tools/__init__.py
128
+ parrot/tools/abstract.py
129
+ parrot/tools/asknews.py
130
+ parrot/tools/bing.py
131
+ parrot/tools/duck.py
132
+ parrot/tools/execute.py
133
+ parrot/tools/google.py
134
+ parrot/tools/stack.py
135
+ parrot/tools/weather.py
136
+ parrot/tools/wikipedia.py
137
+ parrot/tools/zipcode.py
138
+ parrot/tools/__pycache__/__init__.cpython-311.pyc
139
+ parrot/tools/__pycache__/abstract.cpython-311.pyc
140
+ parrot/tools/__pycache__/asknews.cpython-311.pyc
141
+ parrot/tools/__pycache__/bing.cpython-311.pyc
142
+ parrot/tools/__pycache__/duck.cpython-311.pyc
143
+ parrot/tools/__pycache__/execute.cpython-311.pyc
144
+ parrot/tools/__pycache__/google.cpython-311.pyc
145
+ parrot/tools/__pycache__/stack.cpython-311.pyc
146
+ parrot/tools/__pycache__/weather.cpython-311.pyc
147
+ parrot/tools/__pycache__/wikipedia.cpython-311.pyc
148
+ parrot/tools/__pycache__/zipcode.cpython-311.pyc
149
+ parrot/utils/__init__.py
150
+ parrot/utils/toml.py
151
+ parrot/utils/types.cpp
152
+ parrot/utils/types.cpython-311-x86_64-linux-gnu.so
153
+ parrot/utils/types.pyx
154
+ parrot/utils/uv.py
155
+ parrot/utils/__pycache__/__init__.cpython-311.pyc
156
+ parrot/utils/__pycache__/toml.cpython-311.pyc
157
+ parrot/utils/parsers/__init__.py
158
+ parrot/utils/parsers/toml.c
159
+ parrot/utils/parsers/toml.cpython-311-x86_64-linux-gnu.so
160
+ parrot/utils/parsers/toml.pyx
161
+ parrot/utils/parsers/__pycache__/__init__.cpython-311.pyc
162
+ requirements/requirements-dev.txt
@@ -3,7 +3,6 @@ from navigator.handlers.types import AppHandler
3
3
  from navigator.background import BackgroundQueue
4
4
  from navigator_auth import AuthHandler
5
5
  from parrot.manager import ChatbotManager
6
- # from parrot.loaders.handlers import DataManagement
7
6
  from parrot.conf import STATIC_DIR
8
7
  from parrot.handlers.bots import (
9
8
  FeedbackTypeHandler,
@@ -52,8 +51,6 @@ class Main(AppHandler):
52
51
  '/api/v1/chatbots/questions/{sid}',
53
52
  ChatbotSharingQuestion
54
53
  )
55
- # Management APIs:
56
- # DataManagement.configure(self.app)
57
54
 
58
55
 
59
56
  async def on_prepare(self, request, response):
@@ -0,0 +1,13 @@
1
+ from .abstract import AbstractBot
2
+ from .basic import BasicBot
3
+ from .troc import AskTROC
4
+ from .chatbot import Chatbot
5
+ from .hrbot import HRAgent
6
+ from .cody import Cody
7
+ from .odoo import OddieBot
8
+ from .bose import BoseBot
9
+
10
+
11
+ __all__ = (
12
+ 'AbstractBot',
13
+ )