ai-parrot 0.4.11__tar.gz → 0.5.8__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 (234) hide show
  1. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/Makefile +7 -1
  2. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/PKG-INFO +60 -31
  3. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/ai_parrot.egg-info/SOURCES.txt +46 -1
  4. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/app.py +3 -3
  5. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/__pycache__/conf.cpython-311.pyc +0 -0
  6. ai_parrot-0.5.8/parrot/__pycache__/manager.cpython-311.pyc +0 -0
  7. ai_parrot-0.5.8/parrot/__pycache__/models.cpython-311.pyc +0 -0
  8. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/__pycache__/version.cpython-311.pyc +0 -0
  9. ai_parrot-0.5.8/parrot/bots/__init__.py +9 -0
  10. ai_parrot-0.5.8/parrot/bots/__pycache__/__init__.cpython-311.pyc +0 -0
  11. ai_parrot-0.5.8/parrot/bots/__pycache__/abstract.cpython-311.pyc +0 -0
  12. ai_parrot-0.5.8/parrot/bots/__pycache__/agent.cpython-311.pyc +0 -0
  13. ai_parrot-0.5.8/parrot/bots/__pycache__/chatbot.cpython-311.pyc +0 -0
  14. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/bots/abstract.py +472 -163
  15. ai_parrot-0.5.8/parrot/bots/agent.py +404 -0
  16. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/bots/chatbot.py +63 -61
  17. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/bots/copilot.py +1 -1
  18. ai_parrot-0.5.8/parrot/bots/interfaces/__init__.py +1 -0
  19. ai_parrot-0.5.8/parrot/bots/interfaces/__pycache__/__init__.cpython-311.pyc +0 -0
  20. ai_parrot-0.5.8/parrot/bots/interfaces/__pycache__/retrievers.cpython-311.pyc +0 -0
  21. ai_parrot-0.5.8/parrot/bots/interfaces/retrievers.py +12 -0
  22. ai_parrot-0.5.8/parrot/bots/prompts/__init__.py +36 -0
  23. ai_parrot-0.5.8/parrot/bots/prompts/__pycache__/__init__.cpython-311.pyc +0 -0
  24. ai_parrot-0.5.8/parrot/bots/prompts/__pycache__/agents.cpython-311.pyc +0 -0
  25. ai_parrot-0.5.8/parrot/bots/prompts/agents.py +93 -0
  26. ai_parrot-0.5.8/parrot/bots/retrievals/__init__.py +1 -0
  27. ai_parrot-0.5.8/parrot/bots/retrievals/__pycache__/__init__.cpython-311.pyc +0 -0
  28. ai_parrot-0.5.8/parrot/bots/retrievals/__pycache__/multi.cpython-311.pyc +0 -0
  29. ai_parrot-0.5.8/parrot/bots/retrievals/multi.py +50 -0
  30. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/conf.py +35 -0
  31. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/exceptions.c +4 -4
  32. ai_parrot-0.5.8/parrot/exceptions.pxd +9 -0
  33. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/handlers/__pycache__/bots.cpython-311.pyc +0 -0
  34. ai_parrot-0.5.8/parrot/handlers/__pycache__/chat.cpython-311.pyc +0 -0
  35. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/handlers/bots.py +1 -1
  36. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/handlers/chat.py +44 -21
  37. ai_parrot-0.5.8/parrot/interfaces/__pycache__/http.cpython-311.pyc +0 -0
  38. ai_parrot-0.5.8/parrot/interfaces/http.py +805 -0
  39. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/llms/__init__.py +1 -1
  40. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/llms/__pycache__/__init__.cpython-311.pyc +0 -0
  41. ai_parrot-0.5.8/parrot/llms/__pycache__/google.cpython-311.pyc +0 -0
  42. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/llms/__pycache__/groq.cpython-311.pyc +0 -0
  43. ai_parrot-0.5.8/parrot/llms/__pycache__/openai.cpython-311.pyc +0 -0
  44. ai_parrot-0.5.8/parrot/llms/__pycache__/vertex.cpython-311.pyc +0 -0
  45. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/llms/google.py +0 -9
  46. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/llms/groq.py +9 -5
  47. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/llms/openai.py +0 -13
  48. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/llms/vertex.py +18 -26
  49. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/manager.py +60 -45
  50. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/models.py +52 -35
  51. ai_parrot-0.5.8/parrot/stores/__init__.py +11 -0
  52. ai_parrot-0.5.8/parrot/stores/__pycache__/__init__.cpython-311.pyc +0 -0
  53. ai_parrot-0.5.8/parrot/stores/__pycache__/abstract.cpython-311.pyc +0 -0
  54. ai_parrot-0.5.8/parrot/stores/__pycache__/chroma.cpython-311.pyc +0 -0
  55. ai_parrot-0.5.8/parrot/stores/__pycache__/duck.cpython-311.pyc +0 -0
  56. ai_parrot-0.5.8/parrot/stores/__pycache__/empty.cpython-311.pyc +0 -0
  57. ai_parrot-0.5.8/parrot/stores/__pycache__/faiss.cpython-311.pyc +0 -0
  58. ai_parrot-0.5.8/parrot/stores/__pycache__/milvus.cpython-311.pyc +0 -0
  59. ai_parrot-0.5.8/parrot/stores/__pycache__/postgres.cpython-311.pyc +0 -0
  60. ai_parrot-0.5.8/parrot/stores/__pycache__/qdrant.cpython-311.pyc +0 -0
  61. ai_parrot-0.5.8/parrot/stores/abstract.py +243 -0
  62. ai_parrot-0.5.8/parrot/stores/chroma.py +188 -0
  63. ai_parrot-0.5.8/parrot/stores/duck.py +162 -0
  64. ai_parrot-0.5.8/parrot/stores/embeddings/__init__.py +10 -0
  65. ai_parrot-0.5.8/parrot/stores/embeddings/__pycache__/__init__.cpython-311.pyc +0 -0
  66. ai_parrot-0.5.8/parrot/stores/embeddings/__pycache__/abstract.cpython-311.pyc +0 -0
  67. ai_parrot-0.5.8/parrot/stores/embeddings/__pycache__/base.cpython-311.pyc +0 -0
  68. ai_parrot-0.5.8/parrot/stores/embeddings/__pycache__/huggingface.cpython-311.pyc +0 -0
  69. ai_parrot-0.5.8/parrot/stores/embeddings/__pycache__/transformers.cpython-311.pyc +0 -0
  70. ai_parrot-0.5.8/parrot/stores/embeddings/abstract.py +46 -0
  71. ai_parrot-0.5.8/parrot/stores/embeddings/base.py +47 -0
  72. ai_parrot-0.5.8/parrot/stores/embeddings/bge.py +20 -0
  73. ai_parrot-0.5.8/parrot/stores/embeddings/fastembed.py +17 -0
  74. ai_parrot-0.5.8/parrot/stores/embeddings/google.py +18 -0
  75. ai_parrot-0.5.8/parrot/stores/embeddings/huggingface.py +20 -0
  76. ai_parrot-0.5.8/parrot/stores/embeddings/ollama.py +14 -0
  77. ai_parrot-0.5.8/parrot/stores/embeddings/openai.py +26 -0
  78. ai_parrot-0.5.8/parrot/stores/embeddings/transformers.py +21 -0
  79. ai_parrot-0.5.8/parrot/stores/embeddings/vertexai.py +17 -0
  80. ai_parrot-0.5.8/parrot/stores/empty.py +10 -0
  81. ai_parrot-0.5.8/parrot/stores/faiss.py +160 -0
  82. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/stores/milvus.py +129 -60
  83. ai_parrot-0.5.8/parrot/stores/postgres.py +653 -0
  84. ai_parrot-0.5.8/parrot/stores/qdrant.py +170 -0
  85. ai_parrot-0.5.8/parrot/tools/__init__.py +20 -0
  86. ai_parrot-0.5.8/parrot/tools/__pycache__/__init__.cpython-311.pyc +0 -0
  87. ai_parrot-0.5.8/parrot/tools/__pycache__/abstract.cpython-311.pyc +0 -0
  88. ai_parrot-0.5.8/parrot/tools/__pycache__/basic.cpython-311.pyc +0 -0
  89. ai_parrot-0.5.8/parrot/tools/__pycache__/bby.cpython-311.pyc +0 -0
  90. ai_parrot-0.5.8/parrot/tools/__pycache__/duck.cpython-311.pyc +0 -0
  91. ai_parrot-0.5.8/parrot/tools/__pycache__/zipcode.cpython-311.pyc +0 -0
  92. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/tools/abstract.py +13 -2
  93. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/tools/asknews.py +3 -2
  94. ai_parrot-0.5.8/parrot/tools/basic.py +53 -0
  95. ai_parrot-0.5.8/parrot/tools/bby.py +359 -0
  96. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/tools/bing.py +1 -1
  97. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/tools/duck.py +2 -2
  98. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/tools/google.py +3 -3
  99. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/tools/stack.py +2 -1
  100. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/tools/wikipedia.py +4 -5
  101. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/tools/zipcode.py +36 -17
  102. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/version.py +1 -1
  103. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/setup.py +33 -19
  104. ai_parrot-0.4.11/parrot/__pycache__/manager.cpython-311.pyc +0 -0
  105. ai_parrot-0.4.11/parrot/__pycache__/models.cpython-311.pyc +0 -0
  106. ai_parrot-0.4.11/parrot/bots/__init__.py +0 -13
  107. ai_parrot-0.4.11/parrot/bots/__pycache__/__init__.cpython-311.pyc +0 -0
  108. ai_parrot-0.4.11/parrot/bots/__pycache__/abstract.cpython-311.pyc +0 -0
  109. ai_parrot-0.4.11/parrot/bots/__pycache__/chatbot.cpython-311.pyc +0 -0
  110. ai_parrot-0.4.11/parrot/bots/base.py +0 -370
  111. ai_parrot-0.4.11/parrot/bots/retrievals/__pycache__/__init__.cpython-311.pyc +0 -0
  112. ai_parrot-0.4.11/parrot/handlers/__pycache__/chat.cpython-311.pyc +0 -0
  113. ai_parrot-0.4.11/parrot/llms/__pycache__/google.cpython-311.pyc +0 -0
  114. ai_parrot-0.4.11/parrot/llms/__pycache__/openai.cpython-311.pyc +0 -0
  115. ai_parrot-0.4.11/parrot/llms/__pycache__/vertex.cpython-311.pyc +0 -0
  116. ai_parrot-0.4.11/parrot/stores/__init__.py +0 -48
  117. ai_parrot-0.4.11/parrot/stores/__pycache__/__init__.cpython-311.pyc +0 -0
  118. ai_parrot-0.4.11/parrot/stores/__pycache__/abstract.cpython-311.pyc +0 -0
  119. ai_parrot-0.4.11/parrot/stores/__pycache__/milvus.cpython-311.pyc +0 -0
  120. ai_parrot-0.4.11/parrot/stores/__pycache__/qdrant.cpython-311.pyc +0 -0
  121. ai_parrot-0.4.11/parrot/stores/abstract.py +0 -163
  122. ai_parrot-0.4.11/parrot/stores/qdrant.py +0 -110
  123. ai_parrot-0.4.11/parrot/tools/__init__.py +0 -12
  124. ai_parrot-0.4.11/parrot/tools/__pycache__/__init__.cpython-311.pyc +0 -0
  125. ai_parrot-0.4.11/parrot/tools/__pycache__/abstract.cpython-311.pyc +0 -0
  126. ai_parrot-0.4.11/parrot/tools/__pycache__/duck.cpython-311.pyc +0 -0
  127. ai_parrot-0.4.11/parrot/tools/__pycache__/zipcode.cpython-311.pyc +0 -0
  128. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/.flake8 +0 -0
  129. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/.github/dependabot.yml +0 -0
  130. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/.github/workflows/codeql-analysis.yml +0 -0
  131. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/.github/workflows/release.yml +0 -0
  132. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/.gitignore +0 -0
  133. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/.isort.cfg +0 -0
  134. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/.pylintrc +0 -0
  135. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/INSTALL +0 -0
  136. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/LICENSE +0 -0
  137. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/MANIFEST.in +0 -0
  138. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/README.md +0 -0
  139. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/SECURITY.md +0 -0
  140. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/mypy.ini +0 -0
  141. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/__init__.py +0 -0
  142. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/__pycache__/__init__.cpython-311.pyc +0 -0
  143. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/bots/__pycache__/a.cpython-311.pyc +0 -0
  144. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/bots/__pycache__/askbrett.cpython-311.pyc +0 -0
  145. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/bots/__pycache__/asktroc.cpython-311.pyc +0 -0
  146. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/bots/__pycache__/base.cpython-311.pyc +0 -0
  147. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/bots/__pycache__/basic.cpython-311.pyc +0 -0
  148. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/bots/__pycache__/bose.cpython-311.pyc +0 -0
  149. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/bots/__pycache__/cody.cpython-311.pyc +0 -0
  150. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/bots/__pycache__/copilot.cpython-311.pyc +0 -0
  151. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/bots/__pycache__/dataframe.cpython-311.pyc +0 -0
  152. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/bots/__pycache__/hragents.cpython-311.pyc +0 -0
  153. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/bots/__pycache__/hrbot.cpython-311.pyc +0 -0
  154. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/bots/__pycache__/oddie.cpython-311.pyc +0 -0
  155. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/bots/__pycache__/odoo.cpython-311.pyc +0 -0
  156. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/bots/__pycache__/troc.cpython-311.pyc +0 -0
  157. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/bots/basic.py +0 -0
  158. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/bots/bose.py +0 -0
  159. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/bots/cody.py +0 -0
  160. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/bots/dataframe.py +0 -0
  161. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/bots/hrbot.py +0 -0
  162. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/bots/odoo.py +0 -0
  163. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/bots/retrievals/constitutional.py +0 -0
  164. /ai_parrot-0.4.11/parrot/bots/retrievals/__init__.py → /ai_parrot-0.5.8/parrot/bots/retrievals/retrieval.py +0 -0
  165. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/bots/troc.py +0 -0
  166. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/crew/__init__.py +0 -0
  167. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/crew/__pycache__/__init__.cpython-311.pyc +0 -0
  168. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/crew/tools/__init__.py +0 -0
  169. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/crew/tools/__pycache__/__init__.cpython-311.pyc +0 -0
  170. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/crew/tools/__pycache__/bing.cpython-311.pyc +0 -0
  171. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/crew/tools/__pycache__/config.cpython-311.pyc +0 -0
  172. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/crew/tools/__pycache__/duckgo.cpython-311.pyc +0 -0
  173. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/crew/tools/__pycache__/file.cpython-311.pyc +0 -0
  174. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/crew/tools/__pycache__/google.cpython-311.pyc +0 -0
  175. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/crew/tools/__pycache__/md2pdf.cpython-311.pyc +0 -0
  176. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/crew/tools/__pycache__/rag.cpython-311.pyc +0 -0
  177. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/crew/tools/__pycache__/url.cpython-311.pyc +0 -0
  178. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/crew/tools/__pycache__/weather.cpython-311.pyc +0 -0
  179. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/crew/tools/bing.py +0 -0
  180. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/crew/tools/config.py +0 -0
  181. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/crew/tools/duckgo.py +0 -0
  182. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/crew/tools/file.py +0 -0
  183. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/crew/tools/google.py +0 -0
  184. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/crew/tools/gtrends.py +0 -0
  185. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/crew/tools/md2pdf.py +0 -0
  186. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/crew/tools/rag.py +0 -0
  187. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/crew/tools/search.py +0 -0
  188. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/crew/tools/url.py +0 -0
  189. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/exceptions.cpython-311-x86_64-linux-gnu.so +0 -0
  190. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/exceptions.pyx +0 -0
  191. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/handlers/__init__.py +0 -0
  192. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/handlers/__pycache__/__init__.cpython-311.pyc +0 -0
  193. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/interfaces/__init__.py +0 -0
  194. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/interfaces/__pycache__/__init__.cpython-311.pyc +0 -0
  195. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/interfaces/__pycache__/database.cpython-311.pyc +0 -0
  196. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/interfaces/database.py +0 -0
  197. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/llms/__pycache__/abstract.cpython-311.pyc +0 -0
  198. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/llms/__pycache__/anthropic.cpython-311.pyc +0 -0
  199. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/llms/__pycache__/hf.cpython-311.pyc +0 -0
  200. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/llms/__pycache__/pipes.cpython-311.pyc +0 -0
  201. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/llms/abstract.py +0 -0
  202. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/llms/anthropic.py +0 -0
  203. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/llms/hf.py +0 -0
  204. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/llms/pipes.py +0 -0
  205. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/py.typed +0 -0
  206. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/stores/__pycache__/base.cpython-311.pyc +0 -0
  207. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/tools/__pycache__/asknews.cpython-311.pyc +0 -0
  208. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/tools/__pycache__/bing.cpython-311.pyc +0 -0
  209. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/tools/__pycache__/execute.cpython-311.pyc +0 -0
  210. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/tools/__pycache__/google.cpython-311.pyc +0 -0
  211. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/tools/__pycache__/stack.cpython-311.pyc +0 -0
  212. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/tools/__pycache__/weather.cpython-311.pyc +0 -0
  213. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/tools/__pycache__/wikipedia.cpython-311.pyc +0 -0
  214. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/tools/execute.py +0 -0
  215. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/tools/weather.py +0 -0
  216. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/utils/__init__.py +0 -0
  217. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/utils/__pycache__/__init__.cpython-311.pyc +0 -0
  218. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/utils/__pycache__/toml.cpython-311.pyc +0 -0
  219. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/utils/parsers/__init__.py +0 -0
  220. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/utils/parsers/__pycache__/__init__.cpython-311.pyc +0 -0
  221. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/utils/parsers/toml.c +0 -0
  222. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/utils/parsers/toml.cpython-311-x86_64-linux-gnu.so +0 -0
  223. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/utils/parsers/toml.pyx +0 -0
  224. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/utils/toml.py +0 -0
  225. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/utils/types.cpp +0 -0
  226. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/utils/types.cpython-311-x86_64-linux-gnu.so +0 -0
  227. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/utils/types.pyx +0 -0
  228. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/parrot/utils/uv.py +0 -0
  229. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/pyproject.toml +0 -0
  230. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/pytest.ini +0 -0
  231. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/requirements/requirements-dev.txt +0 -0
  232. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/run.py +0 -0
  233. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/setup.cfg +0 -0
  234. {ai_parrot-0.4.11 → ai_parrot-0.5.8}/tox.ini +0 -0
@@ -15,7 +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]
18
+ pip install -e .[google,milvus,groq,agents]
19
+ # downgrade pydantic (google requirement)
20
+ pip install pydantic==2.9.2
21
+ # avoid warning of google-gemini:
22
+ pip install grpcio==1.67.1
23
+ # fix version of httpx:
24
+ pip install httpx==0.27.2
19
25
 
20
26
  develop:
21
27
  # Install Parrot
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: ai-parrot
3
- Version: 0.4.11
3
+ Version: 0.5.8
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,11 +30,14 @@ 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.4
34
- Requires-Dist: langchain-community==0.3.3
35
- Requires-Dist: langchain-experimental==0.3.2
33
+ Requires-Dist: langchain>=0.3.19
34
+ Requires-Dist: langchain-core==0.3.40
35
+ Requires-Dist: langchain-community==0.3.18
36
+ Requires-Dist: langchain-experimental==0.3.4
37
+ Requires-Dist: langchain-text-splitters==0.3.6
36
38
  Requires-Dist: langchainhub==0.1.21
37
- Requires-Dist: huggingface-hub==0.26.2
39
+ Requires-Dist: huggingface-hub==0.29.1
40
+ Requires-Dist: langgraph==0.3.0
38
41
  Requires-Dist: faiss-cpu>=1.9.0
39
42
  Requires-Dist: jq==1.7.0
40
43
  Requires-Dist: rank_bm25==0.2.2
@@ -46,38 +49,48 @@ Requires-Dist: transitions==0.9.0
46
49
  Requires-Dist: sentencepiece==0.2.0
47
50
  Requires-Dist: weasyprint==61.2
48
51
  Requires-Dist: markdown2==2.4.13
52
+ Requires-Dist: psycopg-binary==3.2.5
49
53
  Provides-Extra: agents
54
+ Requires-Dist: numexpr==2.10.2; extra == "agents"
50
55
  Requires-Dist: numba==0.59.0; extra == "agents"
51
- Requires-Dist: yfinance==0.2.40; extra == "agents"
56
+ Requires-Dist: yfinance==0.2.54; extra == "agents"
52
57
  Requires-Dist: youtube_search==2.1.2; extra == "agents"
53
58
  Requires-Dist: wikipedia==1.4.0; extra == "agents"
54
59
  Requires-Dist: mediawikiapi==1.2; extra == "agents"
60
+ Requires-Dist: wikibase-rest-api-client==0.2.2; extra == "agents"
61
+ Requires-Dist: asknews>=0.10.0; extra == "agents"
55
62
  Requires-Dist: pyowm==3.3.0; extra == "agents"
56
63
  Requires-Dist: O365==2.0.35; extra == "agents"
57
64
  Requires-Dist: stackapi==0.3.1; extra == "agents"
58
- Requires-Dist: duckduckgo-search==5.3.0; extra == "agents"
65
+ Requires-Dist: duckduckgo-search==7.5.0; extra == "agents"
59
66
  Requires-Dist: google-search-results==2.4.2; extra == "agents"
60
67
  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"
68
+ Requires-Dist: google-api-core==2.24.1; extra == "agents"
69
+ Requires-Dist: grpcio-status==1.67.1; extra == "agents"
70
+ Provides-Extra: vector
71
+ Requires-Dist: torch==2.5.1; extra == "vector"
72
+ Requires-Dist: langchain_huggingface==0.1.2; extra == "vector"
73
+ Requires-Dist: fastembed==0.3.4; extra == "vector"
74
+ Requires-Dist: tiktoken==0.7.0; extra == "vector"
75
+ Requires-Dist: accelerate==0.34.2; extra == "vector"
76
+ Requires-Dist: llama-index==0.11.20; extra == "vector"
77
+ Requires-Dist: llama_cpp_python==0.2.56; extra == "vector"
78
+ Requires-Dist: bitsandbytes==0.44.1; extra == "vector"
79
+ Requires-Dist: datasets>=3.0.2; extra == "vector"
80
+ 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"
83
+ Requires-Dist: tokenizers==0.20.1; extra == "vector"
84
+ Requires-Dist: torchvision==0.20.1; extra == "vector"
85
+ Requires-Dist: tensorflow==2.18.0; extra == "vector"
86
+ Requires-Dist: tf-keras==2.18.0; extra == "vector"
87
+ Requires-Dist: simsimd==4.3.1; extra == "vector"
88
+ Requires-Dist: opencv-python==4.10.0.84; extra == "vector"
89
+ Requires-Dist: langchain-postgres==0.0.13; extra == "vector"
90
+ Requires-Dist: langchain_chroma==0.2.2; extra == "vector"
91
+ Requires-Dist: chromadb==0.6.3; extra == "vector"
92
+ Requires-Dist: langchain_duckdb==0.1.1; extra == "vector"
93
+ Requires-Dist: langchain-ollama==0.2.3; extra == "vector"
81
94
  Provides-Extra: anthropic
82
95
  Requires-Dist: langchain-anthropic==0.2.4; extra == "anthropic"
83
96
  Requires-Dist: anthropic==0.25.2; extra == "anthropic"
@@ -90,19 +103,21 @@ Provides-Extra: google
90
103
  Requires-Dist: langchain-google-genai==2.0.1; extra == "google"
91
104
  Requires-Dist: langchain-google-vertexai==2.0.5; extra == "google"
92
105
  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"
95
106
  Provides-Extra: hunggingfaces
96
107
  Requires-Dist: llama-index-llms-huggingface==0.2.7; extra == "hunggingfaces"
97
108
  Provides-Extra: groq
98
109
  Requires-Dist: groq==0.11.0; extra == "groq"
99
110
  Requires-Dist: langchain-groq==0.2.0; extra == "groq"
100
111
  Provides-Extra: qdrant
101
- Requires-Dist: qdrant-client==1.12.1; extra == "qdrant"
112
+ Requires-Dist: qdrant-client==1.13.2; extra == "qdrant"
113
+ Requires-Dist: langchain-qdrant==0.2.0; extra == "qdrant"
102
114
  Provides-Extra: milvus
103
115
  Requires-Dist: langchain-milvus>=0.1.6; extra == "milvus"
104
116
  Requires-Dist: pymilvus==2.4.8; extra == "milvus"
105
117
  Requires-Dist: milvus==2.3.5; extra == "milvus"
118
+ Provides-Extra: chroma
119
+ Requires-Dist: chroma==0.2.0; extra == "chroma"
120
+ Requires-Dist: langchain-chroma==0.2.2; extra == "chroma"
106
121
  Provides-Extra: crew
107
122
  Requires-Dist: colbert-ai==0.2.19; extra == "crew"
108
123
  Requires-Dist: vanna==0.3.4; extra == "crew"
@@ -112,6 +127,20 @@ Requires-Dist: annoy==1.17.3; extra == "analytics"
112
127
  Requires-Dist: gradio_tools==0.0.9; extra == "analytics"
113
128
  Requires-Dist: gradio-client==0.2.9; extra == "analytics"
114
129
  Requires-Dist: streamlit==1.37.1; extra == "analytics"
130
+ Dynamic: author
131
+ Dynamic: author-email
132
+ Dynamic: classifier
133
+ Dynamic: description
134
+ Dynamic: description-content-type
135
+ Dynamic: home-page
136
+ Dynamic: keywords
137
+ Dynamic: license
138
+ Dynamic: platform
139
+ Dynamic: project-url
140
+ Dynamic: provides-extra
141
+ Dynamic: requires-dist
142
+ Dynamic: requires-python
143
+ Dynamic: summary
115
144
 
116
145
  # AI Parrot: Python package for creating Chatbots
117
146
  This is an open-source Python package for creating Chatbots based on Langchain and Navigator.
@@ -22,6 +22,7 @@ parrot/__init__.py
22
22
  parrot/conf.py
23
23
  parrot/exceptions.c
24
24
  parrot/exceptions.cpython-311-x86_64-linux-gnu.so
25
+ parrot/exceptions.pxd
25
26
  parrot/exceptions.pyx
26
27
  parrot/manager.py
27
28
  parrot/models.py
@@ -34,7 +35,7 @@ parrot/__pycache__/models.cpython-311.pyc
34
35
  parrot/__pycache__/version.cpython-311.pyc
35
36
  parrot/bots/__init__.py
36
37
  parrot/bots/abstract.py
37
- parrot/bots/base.py
38
+ parrot/bots/agent.py
38
39
  parrot/bots/basic.py
39
40
  parrot/bots/bose.py
40
41
  parrot/bots/chatbot.py
@@ -47,6 +48,7 @@ parrot/bots/troc.py
47
48
  parrot/bots/__pycache__/__init__.cpython-311.pyc
48
49
  parrot/bots/__pycache__/a.cpython-311.pyc
49
50
  parrot/bots/__pycache__/abstract.cpython-311.pyc
51
+ parrot/bots/__pycache__/agent.cpython-311.pyc
50
52
  parrot/bots/__pycache__/askbrett.cpython-311.pyc
51
53
  parrot/bots/__pycache__/asktroc.cpython-311.pyc
52
54
  parrot/bots/__pycache__/base.cpython-311.pyc
@@ -61,9 +63,20 @@ parrot/bots/__pycache__/hrbot.cpython-311.pyc
61
63
  parrot/bots/__pycache__/oddie.cpython-311.pyc
62
64
  parrot/bots/__pycache__/odoo.cpython-311.pyc
63
65
  parrot/bots/__pycache__/troc.cpython-311.pyc
66
+ parrot/bots/interfaces/__init__.py
67
+ parrot/bots/interfaces/retrievers.py
68
+ parrot/bots/interfaces/__pycache__/__init__.cpython-311.pyc
69
+ parrot/bots/interfaces/__pycache__/retrievers.cpython-311.pyc
70
+ parrot/bots/prompts/__init__.py
71
+ parrot/bots/prompts/agents.py
72
+ parrot/bots/prompts/__pycache__/__init__.cpython-311.pyc
73
+ parrot/bots/prompts/__pycache__/agents.cpython-311.pyc
64
74
  parrot/bots/retrievals/__init__.py
65
75
  parrot/bots/retrievals/constitutional.py
76
+ parrot/bots/retrievals/multi.py
77
+ parrot/bots/retrievals/retrieval.py
66
78
  parrot/bots/retrievals/__pycache__/__init__.cpython-311.pyc
79
+ parrot/bots/retrievals/__pycache__/multi.cpython-311.pyc
67
80
  parrot/crew/__init__.py
68
81
  parrot/crew/__pycache__/__init__.cpython-311.pyc
69
82
  parrot/crew/tools/__init__.py
@@ -95,8 +108,10 @@ parrot/handlers/__pycache__/bots.cpython-311.pyc
95
108
  parrot/handlers/__pycache__/chat.cpython-311.pyc
96
109
  parrot/interfaces/__init__.py
97
110
  parrot/interfaces/database.py
111
+ parrot/interfaces/http.py
98
112
  parrot/interfaces/__pycache__/__init__.cpython-311.pyc
99
113
  parrot/interfaces/__pycache__/database.cpython-311.pyc
114
+ parrot/interfaces/__pycache__/http.cpython-311.pyc
100
115
  parrot/llms/__init__.py
101
116
  parrot/llms/abstract.py
102
117
  parrot/llms/anthropic.py
@@ -117,16 +132,44 @@ parrot/llms/__pycache__/pipes.cpython-311.pyc
117
132
  parrot/llms/__pycache__/vertex.cpython-311.pyc
118
133
  parrot/stores/__init__.py
119
134
  parrot/stores/abstract.py
135
+ parrot/stores/chroma.py
136
+ parrot/stores/duck.py
137
+ parrot/stores/empty.py
138
+ parrot/stores/faiss.py
120
139
  parrot/stores/milvus.py
140
+ parrot/stores/postgres.py
121
141
  parrot/stores/qdrant.py
122
142
  parrot/stores/__pycache__/__init__.cpython-311.pyc
123
143
  parrot/stores/__pycache__/abstract.cpython-311.pyc
124
144
  parrot/stores/__pycache__/base.cpython-311.pyc
145
+ parrot/stores/__pycache__/chroma.cpython-311.pyc
146
+ parrot/stores/__pycache__/duck.cpython-311.pyc
147
+ parrot/stores/__pycache__/empty.cpython-311.pyc
148
+ parrot/stores/__pycache__/faiss.cpython-311.pyc
125
149
  parrot/stores/__pycache__/milvus.cpython-311.pyc
150
+ parrot/stores/__pycache__/postgres.cpython-311.pyc
126
151
  parrot/stores/__pycache__/qdrant.cpython-311.pyc
152
+ parrot/stores/embeddings/__init__.py
153
+ parrot/stores/embeddings/abstract.py
154
+ parrot/stores/embeddings/base.py
155
+ parrot/stores/embeddings/bge.py
156
+ parrot/stores/embeddings/fastembed.py
157
+ parrot/stores/embeddings/google.py
158
+ parrot/stores/embeddings/huggingface.py
159
+ parrot/stores/embeddings/ollama.py
160
+ parrot/stores/embeddings/openai.py
161
+ parrot/stores/embeddings/transformers.py
162
+ parrot/stores/embeddings/vertexai.py
163
+ parrot/stores/embeddings/__pycache__/__init__.cpython-311.pyc
164
+ parrot/stores/embeddings/__pycache__/abstract.cpython-311.pyc
165
+ parrot/stores/embeddings/__pycache__/base.cpython-311.pyc
166
+ parrot/stores/embeddings/__pycache__/huggingface.cpython-311.pyc
167
+ parrot/stores/embeddings/__pycache__/transformers.cpython-311.pyc
127
168
  parrot/tools/__init__.py
128
169
  parrot/tools/abstract.py
129
170
  parrot/tools/asknews.py
171
+ parrot/tools/basic.py
172
+ parrot/tools/bby.py
130
173
  parrot/tools/bing.py
131
174
  parrot/tools/duck.py
132
175
  parrot/tools/execute.py
@@ -138,6 +181,8 @@ parrot/tools/zipcode.py
138
181
  parrot/tools/__pycache__/__init__.cpython-311.pyc
139
182
  parrot/tools/__pycache__/abstract.cpython-311.pyc
140
183
  parrot/tools/__pycache__/asknews.cpython-311.pyc
184
+ parrot/tools/__pycache__/basic.cpython-311.pyc
185
+ parrot/tools/__pycache__/bby.cpython-311.pyc
141
186
  parrot/tools/__pycache__/bing.cpython-311.pyc
142
187
  parrot/tools/__pycache__/duck.cpython-311.pyc
143
188
  parrot/tools/__pycache__/execute.cpython-311.pyc
@@ -2,7 +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 parrot.manager import ChatbotManager
5
+ from parrot.manager import BotManager
6
6
  from parrot.conf import STATIC_DIR
7
7
  from parrot.handlers.bots import (
8
8
  FeedbackTypeHandler,
@@ -34,8 +34,8 @@ class Main(AppHandler):
34
34
  queue_size=5
35
35
  )
36
36
  # Chatbot System
37
- self.chatbot_manager = ChatbotManager()
38
- self.chatbot_manager.setup(self.app)
37
+ self.bot_manager = BotManager()
38
+ self.bot_manager.setup(self.app)
39
39
 
40
40
  # API of feedback types:
41
41
  self.app.router.add_view(
@@ -0,0 +1,9 @@
1
+ from .abstract import AbstractBot
2
+ from .basic import BasicBot
3
+ from .hrbot import HRAgent
4
+
5
+ __all__ = (
6
+ 'AbstractBot',
7
+ 'BasicBot',
8
+ 'HRAgent'
9
+ )