ai-parrot 0.3.18__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 (309) hide show
  1. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/MANIFEST.in +3 -1
  2. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/Makefile +7 -1
  3. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/PKG-INFO +81 -86
  4. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/ai_parrot.egg-info/SOURCES.txt +78 -97
  5. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/app.py +3 -6
  6. ai_parrot-0.5.8/parrot/__pycache__/conf.cpython-311.pyc +0 -0
  7. ai_parrot-0.5.8/parrot/__pycache__/manager.cpython-311.pyc +0 -0
  8. ai_parrot-0.5.8/parrot/__pycache__/models.cpython-311.pyc +0 -0
  9. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/__pycache__/version.cpython-311.pyc +0 -0
  10. ai_parrot-0.5.8/parrot/bots/__init__.py +9 -0
  11. ai_parrot-0.5.8/parrot/bots/__pycache__/__init__.cpython-311.pyc +0 -0
  12. ai_parrot-0.5.8/parrot/bots/__pycache__/a.cpython-311.pyc +0 -0
  13. ai_parrot-0.5.8/parrot/bots/__pycache__/abstract.cpython-311.pyc +0 -0
  14. ai_parrot-0.5.8/parrot/bots/__pycache__/agent.cpython-311.pyc +0 -0
  15. {ai_parrot-0.3.18/parrot/chatbots → ai_parrot-0.5.8/parrot/bots}/__pycache__/asktroc.cpython-311.pyc +0 -0
  16. {ai_parrot-0.3.18/parrot/chatbots → ai_parrot-0.5.8/parrot/bots}/__pycache__/base.cpython-311.pyc +0 -0
  17. ai_parrot-0.5.8/parrot/bots/__pycache__/basic.cpython-311.pyc +0 -0
  18. ai_parrot-0.5.8/parrot/bots/__pycache__/chatbot.cpython-311.pyc +0 -0
  19. ai_parrot-0.5.8/parrot/bots/__pycache__/copilot.cpython-311.pyc +0 -0
  20. ai_parrot-0.5.8/parrot/bots/__pycache__/hrbot.cpython-311.pyc +0 -0
  21. ai_parrot-0.5.8/parrot/bots/__pycache__/troc.cpython-311.pyc +0 -0
  22. ai_parrot-0.5.8/parrot/bots/abstract.py +1013 -0
  23. ai_parrot-0.5.8/parrot/bots/agent.py +404 -0
  24. ai_parrot-0.5.8/parrot/bots/basic.py +9 -0
  25. {ai_parrot-0.3.18/parrot/chatbots → ai_parrot-0.5.8/parrot/bots}/bose.py +1 -1
  26. ai_parrot-0.5.8/parrot/bots/chatbot.py +259 -0
  27. {ai_parrot-0.3.18/parrot/chatbots → ai_parrot-0.5.8/parrot/bots}/cody.py +1 -1
  28. {ai_parrot-0.3.18/parrot/chatbots → ai_parrot-0.5.8/parrot/bots}/copilot.py +16 -15
  29. ai_parrot-0.3.18/parrot/chatbots/hragents.py → ai_parrot-0.5.8/parrot/bots/hrbot.py +1 -1
  30. ai_parrot-0.5.8/parrot/bots/interfaces/__init__.py +1 -0
  31. ai_parrot-0.5.8/parrot/bots/interfaces/__pycache__/__init__.cpython-311.pyc +0 -0
  32. ai_parrot-0.5.8/parrot/bots/interfaces/__pycache__/retrievers.cpython-311.pyc +0 -0
  33. ai_parrot-0.5.8/parrot/bots/interfaces/retrievers.py +12 -0
  34. {ai_parrot-0.3.18/parrot/chatbots → ai_parrot-0.5.8/parrot/bots}/odoo.py +1 -1
  35. ai_parrot-0.5.8/parrot/bots/prompts/__init__.py +36 -0
  36. ai_parrot-0.5.8/parrot/bots/prompts/__pycache__/__init__.cpython-311.pyc +0 -0
  37. ai_parrot-0.5.8/parrot/bots/prompts/__pycache__/agents.cpython-311.pyc +0 -0
  38. ai_parrot-0.5.8/parrot/bots/prompts/agents.py +93 -0
  39. ai_parrot-0.5.8/parrot/bots/retrievals/__init__.py +1 -0
  40. ai_parrot-0.5.8/parrot/bots/retrievals/__pycache__/__init__.cpython-311.pyc +0 -0
  41. ai_parrot-0.5.8/parrot/bots/retrievals/__pycache__/multi.cpython-311.pyc +0 -0
  42. ai_parrot-0.5.8/parrot/bots/retrievals/multi.py +50 -0
  43. ai_parrot-0.3.18/parrot/chatbots/retrievals/__init__.py → ai_parrot-0.5.8/parrot/bots/retrievals/retrieval.py +104 -72
  44. ai_parrot-0.3.18/parrot/chatbots/asktroc.py → ai_parrot-0.5.8/parrot/bots/troc.py +1 -1
  45. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/conf.py +35 -1
  46. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/exceptions.c +4 -4
  47. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/exceptions.cpython-311-x86_64-linux-gnu.so +0 -0
  48. ai_parrot-0.5.8/parrot/exceptions.pxd +9 -0
  49. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/handlers/__pycache__/bots.cpython-311.pyc +0 -0
  50. ai_parrot-0.5.8/parrot/handlers/__pycache__/chat.cpython-311.pyc +0 -0
  51. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/handlers/bots.py +1 -1
  52. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/handlers/chat.py +44 -21
  53. ai_parrot-0.5.8/parrot/interfaces/__pycache__/http.cpython-311.pyc +0 -0
  54. ai_parrot-0.5.8/parrot/interfaces/http.py +805 -0
  55. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/llms/__init__.py +1 -1
  56. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/llms/__pycache__/__init__.cpython-311.pyc +0 -0
  57. ai_parrot-0.5.8/parrot/llms/__pycache__/google.cpython-311.pyc +0 -0
  58. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/llms/__pycache__/groq.cpython-311.pyc +0 -0
  59. ai_parrot-0.5.8/parrot/llms/__pycache__/openai.cpython-311.pyc +0 -0
  60. ai_parrot-0.5.8/parrot/llms/__pycache__/vertex.cpython-311.pyc +0 -0
  61. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/llms/google.py +0 -9
  62. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/llms/groq.py +9 -5
  63. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/llms/openai.py +0 -13
  64. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/llms/vertex.py +19 -26
  65. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/manager.py +74 -56
  66. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/models.py +55 -35
  67. ai_parrot-0.5.8/parrot/stores/__init__.py +11 -0
  68. ai_parrot-0.5.8/parrot/stores/__pycache__/__init__.cpython-311.pyc +0 -0
  69. ai_parrot-0.5.8/parrot/stores/__pycache__/abstract.cpython-311.pyc +0 -0
  70. ai_parrot-0.5.8/parrot/stores/__pycache__/chroma.cpython-311.pyc +0 -0
  71. ai_parrot-0.5.8/parrot/stores/__pycache__/duck.cpython-311.pyc +0 -0
  72. ai_parrot-0.5.8/parrot/stores/__pycache__/empty.cpython-311.pyc +0 -0
  73. ai_parrot-0.5.8/parrot/stores/__pycache__/faiss.cpython-311.pyc +0 -0
  74. ai_parrot-0.5.8/parrot/stores/__pycache__/milvus.cpython-311.pyc +0 -0
  75. ai_parrot-0.5.8/parrot/stores/__pycache__/postgres.cpython-311.pyc +0 -0
  76. ai_parrot-0.5.8/parrot/stores/__pycache__/qdrant.cpython-311.pyc +0 -0
  77. ai_parrot-0.5.8/parrot/stores/abstract.py +243 -0
  78. ai_parrot-0.5.8/parrot/stores/chroma.py +188 -0
  79. ai_parrot-0.5.8/parrot/stores/duck.py +162 -0
  80. ai_parrot-0.5.8/parrot/stores/embeddings/__init__.py +10 -0
  81. ai_parrot-0.5.8/parrot/stores/embeddings/__pycache__/__init__.cpython-311.pyc +0 -0
  82. ai_parrot-0.5.8/parrot/stores/embeddings/__pycache__/abstract.cpython-311.pyc +0 -0
  83. ai_parrot-0.5.8/parrot/stores/embeddings/__pycache__/base.cpython-311.pyc +0 -0
  84. ai_parrot-0.5.8/parrot/stores/embeddings/__pycache__/huggingface.cpython-311.pyc +0 -0
  85. ai_parrot-0.5.8/parrot/stores/embeddings/__pycache__/transformers.cpython-311.pyc +0 -0
  86. ai_parrot-0.5.8/parrot/stores/embeddings/abstract.py +46 -0
  87. ai_parrot-0.5.8/parrot/stores/embeddings/base.py +47 -0
  88. ai_parrot-0.5.8/parrot/stores/embeddings/bge.py +20 -0
  89. ai_parrot-0.5.8/parrot/stores/embeddings/fastembed.py +17 -0
  90. ai_parrot-0.5.8/parrot/stores/embeddings/google.py +18 -0
  91. ai_parrot-0.5.8/parrot/stores/embeddings/huggingface.py +20 -0
  92. ai_parrot-0.5.8/parrot/stores/embeddings/ollama.py +14 -0
  93. ai_parrot-0.5.8/parrot/stores/embeddings/openai.py +26 -0
  94. ai_parrot-0.5.8/parrot/stores/embeddings/transformers.py +21 -0
  95. ai_parrot-0.5.8/parrot/stores/embeddings/vertexai.py +17 -0
  96. ai_parrot-0.5.8/parrot/stores/empty.py +10 -0
  97. ai_parrot-0.5.8/parrot/stores/faiss.py +160 -0
  98. ai_parrot-0.5.8/parrot/stores/milvus.py +395 -0
  99. ai_parrot-0.5.8/parrot/stores/postgres.py +653 -0
  100. ai_parrot-0.5.8/parrot/stores/qdrant.py +170 -0
  101. ai_parrot-0.5.8/parrot/tools/__init__.py +20 -0
  102. ai_parrot-0.5.8/parrot/tools/__pycache__/__init__.cpython-311.pyc +0 -0
  103. ai_parrot-0.5.8/parrot/tools/__pycache__/abstract.cpython-311.pyc +0 -0
  104. ai_parrot-0.5.8/parrot/tools/__pycache__/basic.cpython-311.pyc +0 -0
  105. ai_parrot-0.5.8/parrot/tools/__pycache__/bby.cpython-311.pyc +0 -0
  106. ai_parrot-0.5.8/parrot/tools/__pycache__/duck.cpython-311.pyc +0 -0
  107. ai_parrot-0.5.8/parrot/tools/__pycache__/execute.cpython-311.pyc +0 -0
  108. ai_parrot-0.5.8/parrot/tools/__pycache__/zipcode.cpython-311.pyc +0 -0
  109. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/tools/abstract.py +13 -2
  110. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/tools/asknews.py +3 -2
  111. ai_parrot-0.5.8/parrot/tools/basic.py +53 -0
  112. ai_parrot-0.5.8/parrot/tools/bby.py +359 -0
  113. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/tools/bing.py +1 -1
  114. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/tools/duck.py +2 -2
  115. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/tools/google.py +3 -3
  116. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/tools/stack.py +2 -1
  117. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/tools/wikipedia.py +4 -5
  118. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/tools/zipcode.py +36 -17
  119. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/utils/parsers/toml.cpython-311-x86_64-linux-gnu.so +0 -0
  120. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/utils/types.cpython-311-x86_64-linux-gnu.so +0 -0
  121. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/version.py +2 -2
  122. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/setup.py +73 -90
  123. ai_parrot-0.3.18/parrot/__pycache__/conf.cpython-311.pyc +0 -0
  124. ai_parrot-0.3.18/parrot/__pycache__/manager.cpython-311.pyc +0 -0
  125. ai_parrot-0.3.18/parrot/__pycache__/models.cpython-311.pyc +0 -0
  126. ai_parrot-0.3.18/parrot/chatbots/__init__.py +0 -7
  127. ai_parrot-0.3.18/parrot/chatbots/__pycache__/__init__.cpython-311.pyc +0 -0
  128. ai_parrot-0.3.18/parrot/chatbots/__pycache__/abstract.cpython-311.pyc +0 -0
  129. ai_parrot-0.3.18/parrot/chatbots/__pycache__/basic.cpython-311.pyc +0 -0
  130. ai_parrot-0.3.18/parrot/chatbots/__pycache__/copilot.cpython-311.pyc +0 -0
  131. ai_parrot-0.3.18/parrot/chatbots/abstract.py +0 -728
  132. ai_parrot-0.3.18/parrot/chatbots/base.py +0 -369
  133. ai_parrot-0.3.18/parrot/chatbots/basic.py +0 -9
  134. ai_parrot-0.3.18/parrot/chatbots/retrievals/__pycache__/__init__.cpython-311.pyc +0 -0
  135. ai_parrot-0.3.18/parrot/handlers/__pycache__/chat.cpython-311.pyc +0 -0
  136. ai_parrot-0.3.18/parrot/llms/__pycache__/google.cpython-311.pyc +0 -0
  137. ai_parrot-0.3.18/parrot/llms/__pycache__/openai.cpython-311.pyc +0 -0
  138. ai_parrot-0.3.18/parrot/llms/__pycache__/vertex.cpython-311.pyc +0 -0
  139. ai_parrot-0.3.18/parrot/loaders/__init__.py +0 -0
  140. ai_parrot-0.3.18/parrot/loaders/__pycache__/__init__.cpython-311.pyc +0 -0
  141. ai_parrot-0.3.18/parrot/loaders/__pycache__/abstract.cpython-311.pyc +0 -0
  142. ai_parrot-0.3.18/parrot/loaders/__pycache__/basepdf.cpython-311.pyc +0 -0
  143. ai_parrot-0.3.18/parrot/loaders/__pycache__/basevideo.cpython-311.pyc +0 -0
  144. ai_parrot-0.3.18/parrot/loaders/__pycache__/dir.cpython-311.pyc +0 -0
  145. ai_parrot-0.3.18/parrot/loaders/__pycache__/excel.cpython-311.pyc +0 -0
  146. ai_parrot-0.3.18/parrot/loaders/__pycache__/github.cpython-311.pyc +0 -0
  147. ai_parrot-0.3.18/parrot/loaders/__pycache__/image.cpython-311.pyc +0 -0
  148. ai_parrot-0.3.18/parrot/loaders/__pycache__/json.cpython-311.pyc +0 -0
  149. ai_parrot-0.3.18/parrot/loaders/__pycache__/pdf.cpython-311.pyc +0 -0
  150. ai_parrot-0.3.18/parrot/loaders/__pycache__/pdfchapters.cpython-311.pyc +0 -0
  151. ai_parrot-0.3.18/parrot/loaders/__pycache__/pdffn.cpython-311.pyc +0 -0
  152. ai_parrot-0.3.18/parrot/loaders/__pycache__/pdfimages.cpython-311.pyc +0 -0
  153. ai_parrot-0.3.18/parrot/loaders/__pycache__/pdfmark.cpython-311.pyc +0 -0
  154. ai_parrot-0.3.18/parrot/loaders/__pycache__/pdftables.cpython-311.pyc +0 -0
  155. ai_parrot-0.3.18/parrot/loaders/__pycache__/ppt.cpython-311.pyc +0 -0
  156. ai_parrot-0.3.18/parrot/loaders/__pycache__/qa.cpython-311.pyc +0 -0
  157. ai_parrot-0.3.18/parrot/loaders/__pycache__/repo.cpython-311.pyc +0 -0
  158. ai_parrot-0.3.18/parrot/loaders/__pycache__/rtd.cpython-311.pyc +0 -0
  159. ai_parrot-0.3.18/parrot/loaders/__pycache__/tables.cpython-311.pyc +0 -0
  160. ai_parrot-0.3.18/parrot/loaders/__pycache__/txt.cpython-311.pyc +0 -0
  161. ai_parrot-0.3.18/parrot/loaders/__pycache__/video.cpython-311.pyc +0 -0
  162. ai_parrot-0.3.18/parrot/loaders/__pycache__/videolocal.cpython-311.pyc +0 -0
  163. ai_parrot-0.3.18/parrot/loaders/__pycache__/vimeo.cpython-311.pyc +0 -0
  164. ai_parrot-0.3.18/parrot/loaders/__pycache__/web.cpython-311.pyc +0 -0
  165. ai_parrot-0.3.18/parrot/loaders/__pycache__/web_base.cpython-311.pyc +0 -0
  166. ai_parrot-0.3.18/parrot/loaders/__pycache__/word.cpython-311.pyc +0 -0
  167. ai_parrot-0.3.18/parrot/loaders/__pycache__/youtube.cpython-311.pyc +0 -0
  168. ai_parrot-0.3.18/parrot/loaders/abstract.py +0 -499
  169. ai_parrot-0.3.18/parrot/loaders/audio.py +0 -106
  170. ai_parrot-0.3.18/parrot/loaders/basepdf.py +0 -102
  171. ai_parrot-0.3.18/parrot/loaders/basevideo.py +0 -325
  172. ai_parrot-0.3.18/parrot/loaders/csv.py +0 -42
  173. ai_parrot-0.3.18/parrot/loaders/dir.py +0 -37
  174. ai_parrot-0.3.18/parrot/loaders/excel.py +0 -349
  175. ai_parrot-0.3.18/parrot/loaders/github.py +0 -65
  176. ai_parrot-0.3.18/parrot/loaders/handlers/__init__.py +0 -5
  177. ai_parrot-0.3.18/parrot/loaders/handlers/__pycache__/__init__.cpython-311.pyc +0 -0
  178. ai_parrot-0.3.18/parrot/loaders/handlers/__pycache__/data.cpython-311.pyc +0 -0
  179. ai_parrot-0.3.18/parrot/loaders/handlers/data.py +0 -213
  180. ai_parrot-0.3.18/parrot/loaders/image.py +0 -119
  181. ai_parrot-0.3.18/parrot/loaders/json.py +0 -52
  182. ai_parrot-0.3.18/parrot/loaders/pdf.py +0 -511
  183. ai_parrot-0.3.18/parrot/loaders/pdfchapters.py +0 -142
  184. ai_parrot-0.3.18/parrot/loaders/pdffn.py +0 -112
  185. ai_parrot-0.3.18/parrot/loaders/pdfimages.py +0 -207
  186. ai_parrot-0.3.18/parrot/loaders/pdfmark.py +0 -88
  187. ai_parrot-0.3.18/parrot/loaders/pdftables.py +0 -145
  188. ai_parrot-0.3.18/parrot/loaders/ppt.py +0 -30
  189. ai_parrot-0.3.18/parrot/loaders/qa.py +0 -81
  190. ai_parrot-0.3.18/parrot/loaders/repo.py +0 -103
  191. ai_parrot-0.3.18/parrot/loaders/rtd.py +0 -65
  192. ai_parrot-0.3.18/parrot/loaders/txt.py +0 -92
  193. ai_parrot-0.3.18/parrot/loaders/utils/__init__.py +0 -1
  194. ai_parrot-0.3.18/parrot/loaders/utils/__pycache__/__init__.cpython-311.pyc +0 -0
  195. ai_parrot-0.3.18/parrot/loaders/utils/__pycache__/models.cpython-311.pyc +0 -0
  196. ai_parrot-0.3.18/parrot/loaders/utils/models.py +0 -25
  197. ai_parrot-0.3.18/parrot/loaders/video.py +0 -96
  198. ai_parrot-0.3.18/parrot/loaders/videolocal.py +0 -259
  199. ai_parrot-0.3.18/parrot/loaders/vimeo.py +0 -106
  200. ai_parrot-0.3.18/parrot/loaders/web.py +0 -216
  201. ai_parrot-0.3.18/parrot/loaders/web_base.py +0 -112
  202. ai_parrot-0.3.18/parrot/loaders/word.py +0 -125
  203. ai_parrot-0.3.18/parrot/loaders/youtube.py +0 -241
  204. ai_parrot-0.3.18/parrot/stores/__init__.py +0 -48
  205. ai_parrot-0.3.18/parrot/stores/__pycache__/__init__.cpython-311.pyc +0 -0
  206. ai_parrot-0.3.18/parrot/stores/__pycache__/abstract.cpython-311.pyc +0 -0
  207. ai_parrot-0.3.18/parrot/stores/__pycache__/milvus.cpython-311.pyc +0 -0
  208. ai_parrot-0.3.18/parrot/stores/__pycache__/qdrant.cpython-311.pyc +0 -0
  209. ai_parrot-0.3.18/parrot/stores/abstract.py +0 -171
  210. ai_parrot-0.3.18/parrot/stores/milvus.py +0 -636
  211. ai_parrot-0.3.18/parrot/stores/qdrant.py +0 -153
  212. ai_parrot-0.3.18/parrot/tools/__init__.py +0 -12
  213. ai_parrot-0.3.18/parrot/tools/__pycache__/__init__.cpython-311.pyc +0 -0
  214. ai_parrot-0.3.18/parrot/tools/__pycache__/abstract.cpython-311.pyc +0 -0
  215. ai_parrot-0.3.18/parrot/tools/__pycache__/duck.cpython-311.pyc +0 -0
  216. ai_parrot-0.3.18/parrot/tools/__pycache__/execute.cpython-311.pyc +0 -0
  217. ai_parrot-0.3.18/parrot/tools/__pycache__/zipcode.cpython-311.pyc +0 -0
  218. ai_parrot-0.3.18/settings/__init__.py +0 -0
  219. ai_parrot-0.3.18/settings/settings.py +0 -51
  220. ai_parrot-0.3.18/templates/.compiled +0 -0
  221. ai_parrot-0.3.18/templates/README.md +0 -1
  222. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/.flake8 +0 -0
  223. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/.github/dependabot.yml +0 -0
  224. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/.github/workflows/codeql-analysis.yml +0 -0
  225. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/.github/workflows/release.yml +0 -0
  226. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/.gitignore +0 -0
  227. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/.isort.cfg +0 -0
  228. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/.pylintrc +0 -0
  229. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/INSTALL +0 -0
  230. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/LICENSE +0 -0
  231. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/README.md +0 -0
  232. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/SECURITY.md +0 -0
  233. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/mypy.ini +0 -0
  234. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/__init__.py +0 -0
  235. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/__pycache__/__init__.cpython-311.pyc +0 -0
  236. {ai_parrot-0.3.18/parrot/chatbots → ai_parrot-0.5.8/parrot/bots}/__pycache__/askbrett.cpython-311.pyc +0 -0
  237. {ai_parrot-0.3.18/parrot/chatbots → ai_parrot-0.5.8/parrot/bots}/__pycache__/bose.cpython-311.pyc +0 -0
  238. {ai_parrot-0.3.18/parrot/chatbots → ai_parrot-0.5.8/parrot/bots}/__pycache__/cody.cpython-311.pyc +0 -0
  239. {ai_parrot-0.3.18/parrot/chatbots → ai_parrot-0.5.8/parrot/bots}/__pycache__/dataframe.cpython-311.pyc +0 -0
  240. {ai_parrot-0.3.18/parrot/chatbots → ai_parrot-0.5.8/parrot/bots}/__pycache__/hragents.cpython-311.pyc +0 -0
  241. {ai_parrot-0.3.18/parrot/chatbots → ai_parrot-0.5.8/parrot/bots}/__pycache__/oddie.cpython-311.pyc +0 -0
  242. {ai_parrot-0.3.18/parrot/chatbots → ai_parrot-0.5.8/parrot/bots}/__pycache__/odoo.cpython-311.pyc +0 -0
  243. {ai_parrot-0.3.18/parrot/chatbots → ai_parrot-0.5.8/parrot/bots}/dataframe.py +0 -0
  244. {ai_parrot-0.3.18/parrot/chatbots → ai_parrot-0.5.8/parrot/bots}/retrievals/constitutional.py +0 -0
  245. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/crew/__init__.py +0 -0
  246. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/crew/__pycache__/__init__.cpython-311.pyc +0 -0
  247. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/crew/tools/__init__.py +0 -0
  248. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/crew/tools/__pycache__/__init__.cpython-311.pyc +0 -0
  249. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/crew/tools/__pycache__/bing.cpython-311.pyc +0 -0
  250. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/crew/tools/__pycache__/config.cpython-311.pyc +0 -0
  251. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/crew/tools/__pycache__/duckgo.cpython-311.pyc +0 -0
  252. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/crew/tools/__pycache__/file.cpython-311.pyc +0 -0
  253. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/crew/tools/__pycache__/google.cpython-311.pyc +0 -0
  254. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/crew/tools/__pycache__/md2pdf.cpython-311.pyc +0 -0
  255. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/crew/tools/__pycache__/rag.cpython-311.pyc +0 -0
  256. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/crew/tools/__pycache__/url.cpython-311.pyc +0 -0
  257. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/crew/tools/__pycache__/weather.cpython-311.pyc +0 -0
  258. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/crew/tools/bing.py +0 -0
  259. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/crew/tools/config.py +0 -0
  260. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/crew/tools/duckgo.py +0 -0
  261. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/crew/tools/file.py +0 -0
  262. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/crew/tools/google.py +0 -0
  263. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/crew/tools/gtrends.py +0 -0
  264. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/crew/tools/md2pdf.py +0 -0
  265. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/crew/tools/rag.py +0 -0
  266. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/crew/tools/search.py +0 -0
  267. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/crew/tools/url.py +0 -0
  268. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/exceptions.pyx +0 -0
  269. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/handlers/__init__.py +0 -0
  270. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/handlers/__pycache__/__init__.cpython-311.pyc +0 -0
  271. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/interfaces/__init__.py +0 -0
  272. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/interfaces/__pycache__/__init__.cpython-311.pyc +0 -0
  273. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/interfaces/__pycache__/database.cpython-311.pyc +0 -0
  274. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/interfaces/database.py +0 -0
  275. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/llms/__pycache__/abstract.cpython-311.pyc +0 -0
  276. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/llms/__pycache__/anthropic.cpython-311.pyc +0 -0
  277. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/llms/__pycache__/hf.cpython-311.pyc +0 -0
  278. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/llms/__pycache__/pipes.cpython-311.pyc +0 -0
  279. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/llms/abstract.py +0 -0
  280. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/llms/anthropic.py +0 -0
  281. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/llms/hf.py +0 -0
  282. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/llms/pipes.py +0 -0
  283. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/py.typed +0 -0
  284. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/stores/__pycache__/base.cpython-311.pyc +0 -0
  285. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/tools/__pycache__/asknews.cpython-311.pyc +0 -0
  286. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/tools/__pycache__/bing.cpython-311.pyc +0 -0
  287. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/tools/__pycache__/google.cpython-311.pyc +0 -0
  288. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/tools/__pycache__/stack.cpython-311.pyc +0 -0
  289. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/tools/__pycache__/weather.cpython-311.pyc +0 -0
  290. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/tools/__pycache__/wikipedia.cpython-311.pyc +0 -0
  291. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/tools/execute.py +0 -0
  292. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/tools/weather.py +0 -0
  293. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/utils/__init__.py +0 -0
  294. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/utils/__pycache__/__init__.cpython-311.pyc +0 -0
  295. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/utils/__pycache__/toml.cpython-311.pyc +0 -0
  296. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/utils/parsers/__init__.py +0 -0
  297. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/utils/parsers/__pycache__/__init__.cpython-311.pyc +0 -0
  298. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/utils/parsers/toml.c +0 -0
  299. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/utils/parsers/toml.pyx +0 -0
  300. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/utils/toml.py +0 -0
  301. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/utils/types.cpp +0 -0
  302. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/utils/types.pyx +0 -0
  303. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/parrot/utils/uv.py +0 -0
  304. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/pyproject.toml +0 -0
  305. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/pytest.ini +0 -0
  306. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/requirements/requirements-dev.txt +0 -0
  307. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/run.py +0 -0
  308. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/setup.cfg +0 -0
  309. {ai_parrot-0.3.18 → ai_parrot-0.5.8}/tox.ini +0 -0
@@ -11,7 +11,9 @@ prune etc
11
11
  prune env
12
12
  prune resources
13
13
  prune dist
14
-
14
+ prune settings
15
+ prune templates
16
+ prune static
15
17
 
16
18
  # Optionally, you can also specify any other unwanted directories
17
19
  prune tests
@@ -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,7 +1,7 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: ai-parrot
3
- Version: 0.3.18
4
- Summary: Live Chatbots based on Langchain chatbots and Agents Integrated into Navigator Framework or used into aiohttp applications.
3
+ Version: 0.5.8
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,92 +30,69 @@ 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.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
38
+ Requires-Dist: langchainhub==0.1.21
39
+ Requires-Dist: huggingface-hub==0.29.1
40
+ Requires-Dist: langgraph==0.3.0
41
+ Requires-Dist: faiss-cpu>=1.9.0
51
42
  Requires-Dist: jq==1.7.0
52
43
  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
44
+ Requires-Dist: matplotlib==3.9.2
58
45
  Requires-Dist: tabulate==0.9.0
59
- Requires-Dist: tiktoken==0.7.0
60
- Requires-Dist: tokenizers==0.19.1
61
46
  Requires-Dist: selenium>=4.18.1
62
47
  Requires-Dist: webdriver_manager>=4.0.1
63
48
  Requires-Dist: transitions==0.9.0
64
49
  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
50
  Requires-Dist: weasyprint==61.2
70
51
  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: 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"
99
- Provides-Extra: loaders
100
- Requires-Dist: unstructured==0.14.3; extra == "loaders"
101
- Requires-Dist: unstructured-client==0.18.0; extra == "loaders"
102
- Requires-Dist: PyPDF2==3.0.1; extra == "loaders"
103
- Requires-Dist: pdfminer.six==20231228; extra == "loaders"
104
- Requires-Dist: pdfplumber==0.11.0; extra == "loaders"
105
- Requires-Dist: GitPython==3.1.42; extra == "loaders"
106
- Requires-Dist: opentelemetry-sdk==1.24.0; extra == "loaders"
107
- Requires-Dist: paddlepaddle==2.6.1; extra == "loaders"
108
- Requires-Dist: paddlepaddle_gpu==2.6.1; extra == "loaders"
109
- Requires-Dist: paddleocr==2.8.1; extra == "loaders"
110
- Requires-Dist: ftfy==6.2.3; extra == "loaders"
111
- Requires-Dist: librosa==0.10.1; extra == "loaders"
112
- Requires-Dist: XlsxWriter==3.2.0; extra == "loaders"
113
- Requires-Dist: timm==1.0.9; extra == "loaders"
114
- Requires-Dist: simsimd==4.3.1; extra == "loaders"
115
- Requires-Dist: opencv-python==4.10.0.84; extra == "loaders"
116
- Requires-Dist: easyocr==1.7.1; extra == "loaders"
52
+ Requires-Dist: psycopg-binary==3.2.5
53
+ Provides-Extra: agents
54
+ Requires-Dist: numexpr==2.10.2; extra == "agents"
55
+ Requires-Dist: numba==0.59.0; extra == "agents"
56
+ Requires-Dist: yfinance==0.2.54; extra == "agents"
57
+ Requires-Dist: youtube_search==2.1.2; extra == "agents"
58
+ Requires-Dist: wikipedia==1.4.0; extra == "agents"
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"
62
+ Requires-Dist: pyowm==3.3.0; extra == "agents"
63
+ Requires-Dist: O365==2.0.35; extra == "agents"
64
+ Requires-Dist: stackapi==0.3.1; extra == "agents"
65
+ Requires-Dist: duckduckgo-search==7.5.0; extra == "agents"
66
+ Requires-Dist: google-search-results==2.4.2; extra == "agents"
67
+ Requires-Dist: google-api-python-client>=2.86.0; extra == "agents"
68
+ Requires-Dist: google-api-core==2.24.1; extra == "agents"
69
+ Requires-Dist: grpcio-status==1.67.1; extra == "agents"
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"
117
94
  Provides-Extra: anthropic
118
- Requires-Dist: langchain-anthropic==0.1.11; extra == "anthropic"
95
+ Requires-Dist: langchain-anthropic==0.2.4; extra == "anthropic"
119
96
  Requires-Dist: anthropic==0.25.2; extra == "anthropic"
120
97
  Provides-Extra: openai
121
98
  Requires-Dist: langchain-openai==0.1.21; extra == "openai"
@@ -123,20 +100,24 @@ Requires-Dist: openai==1.40.3; extra == "openai"
123
100
  Requires-Dist: llama-index-llms-openai==0.1.11; extra == "openai"
124
101
  Requires-Dist: tiktoken==0.7.0; extra == "openai"
125
102
  Provides-Extra: google
126
- Requires-Dist: langchain-google-vertexai==1.0.10; extra == "google"
127
- Requires-Dist: langchain-google-genai==1.0.10; extra == "google"
128
- Requires-Dist: vertexai==1.65.0; extra == "google"
103
+ Requires-Dist: langchain-google-genai==2.0.1; extra == "google"
104
+ Requires-Dist: langchain-google-vertexai==2.0.5; extra == "google"
105
+ Requires-Dist: vertexai==1.71.1; extra == "google"
129
106
  Provides-Extra: hunggingfaces
130
107
  Requires-Dist: llama-index-llms-huggingface==0.2.7; extra == "hunggingfaces"
131
108
  Provides-Extra: groq
132
109
  Requires-Dist: groq==0.11.0; extra == "groq"
133
- Requires-Dist: langchain-groq==0.1.9; extra == "groq"
110
+ Requires-Dist: langchain-groq==0.2.0; extra == "groq"
134
111
  Provides-Extra: qdrant
135
- Requires-Dist: qdrant-client==1.8.0; extra == "qdrant"
112
+ Requires-Dist: qdrant-client==1.13.2; extra == "qdrant"
113
+ Requires-Dist: langchain-qdrant==0.2.0; extra == "qdrant"
136
114
  Provides-Extra: milvus
137
- Requires-Dist: langchain-milvus>=0.1.4; extra == "milvus"
115
+ Requires-Dist: langchain-milvus>=0.1.6; extra == "milvus"
116
+ Requires-Dist: pymilvus==2.4.8; extra == "milvus"
138
117
  Requires-Dist: milvus==2.3.5; extra == "milvus"
139
- Requires-Dist: pymilvus==2.4.6; 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"
140
121
  Provides-Extra: crew
141
122
  Requires-Dist: colbert-ai==0.2.19; extra == "crew"
142
123
  Requires-Dist: vanna==0.3.4; extra == "crew"
@@ -146,6 +127,20 @@ Requires-Dist: annoy==1.17.3; extra == "analytics"
146
127
  Requires-Dist: gradio_tools==0.0.9; extra == "analytics"
147
128
  Requires-Dist: gradio-client==0.2.9; extra == "analytics"
148
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
149
144
 
150
145
  # AI Parrot: Python package for creating Chatbots
151
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
@@ -32,33 +33,50 @@ parrot/__pycache__/conf.cpython-311.pyc
32
33
  parrot/__pycache__/manager.cpython-311.pyc
33
34
  parrot/__pycache__/models.cpython-311.pyc
34
35
  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
36
+ parrot/bots/__init__.py
37
+ parrot/bots/abstract.py
38
+ parrot/bots/agent.py
39
+ parrot/bots/basic.py
40
+ parrot/bots/bose.py
41
+ parrot/bots/chatbot.py
42
+ parrot/bots/cody.py
43
+ parrot/bots/copilot.py
44
+ parrot/bots/dataframe.py
45
+ parrot/bots/hrbot.py
46
+ parrot/bots/odoo.py
47
+ parrot/bots/troc.py
48
+ parrot/bots/__pycache__/__init__.cpython-311.pyc
49
+ parrot/bots/__pycache__/a.cpython-311.pyc
50
+ parrot/bots/__pycache__/abstract.cpython-311.pyc
51
+ parrot/bots/__pycache__/agent.cpython-311.pyc
52
+ parrot/bots/__pycache__/askbrett.cpython-311.pyc
53
+ parrot/bots/__pycache__/asktroc.cpython-311.pyc
54
+ parrot/bots/__pycache__/base.cpython-311.pyc
55
+ parrot/bots/__pycache__/basic.cpython-311.pyc
56
+ parrot/bots/__pycache__/bose.cpython-311.pyc
57
+ parrot/bots/__pycache__/chatbot.cpython-311.pyc
58
+ parrot/bots/__pycache__/cody.cpython-311.pyc
59
+ parrot/bots/__pycache__/copilot.cpython-311.pyc
60
+ parrot/bots/__pycache__/dataframe.cpython-311.pyc
61
+ parrot/bots/__pycache__/hragents.cpython-311.pyc
62
+ parrot/bots/__pycache__/hrbot.cpython-311.pyc
63
+ parrot/bots/__pycache__/oddie.cpython-311.pyc
64
+ parrot/bots/__pycache__/odoo.cpython-311.pyc
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
74
+ parrot/bots/retrievals/__init__.py
75
+ parrot/bots/retrievals/constitutional.py
76
+ parrot/bots/retrievals/multi.py
77
+ parrot/bots/retrievals/retrieval.py
78
+ parrot/bots/retrievals/__pycache__/__init__.cpython-311.pyc
79
+ parrot/bots/retrievals/__pycache__/multi.cpython-311.pyc
62
80
  parrot/crew/__init__.py
63
81
  parrot/crew/__pycache__/__init__.cpython-311.pyc
64
82
  parrot/crew/tools/__init__.py
@@ -90,8 +108,10 @@ parrot/handlers/__pycache__/bots.cpython-311.pyc
90
108
  parrot/handlers/__pycache__/chat.cpython-311.pyc
91
109
  parrot/interfaces/__init__.py
92
110
  parrot/interfaces/database.py
111
+ parrot/interfaces/http.py
93
112
  parrot/interfaces/__pycache__/__init__.cpython-311.pyc
94
113
  parrot/interfaces/__pycache__/database.cpython-311.pyc
114
+ parrot/interfaces/__pycache__/http.cpython-311.pyc
95
115
  parrot/llms/__init__.py
96
116
  parrot/llms/abstract.py
97
117
  parrot/llms/anthropic.py
@@ -110,83 +130,46 @@ parrot/llms/__pycache__/hf.cpython-311.pyc
110
130
  parrot/llms/__pycache__/openai.cpython-311.pyc
111
131
  parrot/llms/__pycache__/pipes.cpython-311.pyc
112
132
  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
133
  parrot/stores/__init__.py
179
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
180
139
  parrot/stores/milvus.py
140
+ parrot/stores/postgres.py
181
141
  parrot/stores/qdrant.py
182
142
  parrot/stores/__pycache__/__init__.cpython-311.pyc
183
143
  parrot/stores/__pycache__/abstract.cpython-311.pyc
184
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
185
149
  parrot/stores/__pycache__/milvus.cpython-311.pyc
150
+ parrot/stores/__pycache__/postgres.cpython-311.pyc
186
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
187
168
  parrot/tools/__init__.py
188
169
  parrot/tools/abstract.py
189
170
  parrot/tools/asknews.py
171
+ parrot/tools/basic.py
172
+ parrot/tools/bby.py
190
173
  parrot/tools/bing.py
191
174
  parrot/tools/duck.py
192
175
  parrot/tools/execute.py
@@ -198,6 +181,8 @@ parrot/tools/zipcode.py
198
181
  parrot/tools/__pycache__/__init__.cpython-311.pyc
199
182
  parrot/tools/__pycache__/abstract.cpython-311.pyc
200
183
  parrot/tools/__pycache__/asknews.cpython-311.pyc
184
+ parrot/tools/__pycache__/basic.cpython-311.pyc
185
+ parrot/tools/__pycache__/bby.cpython-311.pyc
201
186
  parrot/tools/__pycache__/bing.cpython-311.pyc
202
187
  parrot/tools/__pycache__/duck.cpython-311.pyc
203
188
  parrot/tools/__pycache__/execute.cpython-311.pyc
@@ -219,8 +204,4 @@ parrot/utils/parsers/toml.c
219
204
  parrot/utils/parsers/toml.cpython-311-x86_64-linux-gnu.so
220
205
  parrot/utils/parsers/toml.pyx
221
206
  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
207
+ requirements/requirements-dev.txt
@@ -2,8 +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
6
- # from parrot.loaders.handlers import DataManagement
5
+ from parrot.manager import BotManager
7
6
  from parrot.conf import STATIC_DIR
8
7
  from parrot.handlers.bots import (
9
8
  FeedbackTypeHandler,
@@ -35,8 +34,8 @@ class Main(AppHandler):
35
34
  queue_size=5
36
35
  )
37
36
  # Chatbot System
38
- self.chatbot_manager = ChatbotManager()
39
- self.chatbot_manager.setup(self.app)
37
+ self.bot_manager = BotManager()
38
+ self.bot_manager.setup(self.app)
40
39
 
41
40
  # API of feedback types:
42
41
  self.app.router.add_view(
@@ -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,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
+ )