ai-parrot 0.8.3__cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

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 (128) hide show
  1. ai_parrot-0.8.3.dist-info/LICENSE +21 -0
  2. ai_parrot-0.8.3.dist-info/METADATA +306 -0
  3. ai_parrot-0.8.3.dist-info/RECORD +128 -0
  4. ai_parrot-0.8.3.dist-info/WHEEL +6 -0
  5. ai_parrot-0.8.3.dist-info/top_level.txt +2 -0
  6. parrot/__init__.py +30 -0
  7. parrot/bots/__init__.py +5 -0
  8. parrot/bots/abstract.py +1115 -0
  9. parrot/bots/agent.py +492 -0
  10. parrot/bots/basic.py +9 -0
  11. parrot/bots/bose.py +17 -0
  12. parrot/bots/chatbot.py +271 -0
  13. parrot/bots/cody.py +17 -0
  14. parrot/bots/copilot.py +117 -0
  15. parrot/bots/data.py +730 -0
  16. parrot/bots/dataframe.py +103 -0
  17. parrot/bots/hrbot.py +15 -0
  18. parrot/bots/interfaces/__init__.py +1 -0
  19. parrot/bots/interfaces/retrievers.py +12 -0
  20. parrot/bots/notebook.py +619 -0
  21. parrot/bots/odoo.py +17 -0
  22. parrot/bots/prompts/__init__.py +41 -0
  23. parrot/bots/prompts/agents.py +91 -0
  24. parrot/bots/prompts/data.py +214 -0
  25. parrot/bots/retrievals/__init__.py +1 -0
  26. parrot/bots/retrievals/constitutional.py +19 -0
  27. parrot/bots/retrievals/multi.py +122 -0
  28. parrot/bots/retrievals/retrieval.py +610 -0
  29. parrot/bots/tools/__init__.py +7 -0
  30. parrot/bots/tools/eda.py +325 -0
  31. parrot/bots/tools/pdf.py +50 -0
  32. parrot/bots/tools/plot.py +48 -0
  33. parrot/bots/troc.py +16 -0
  34. parrot/conf.py +170 -0
  35. parrot/crew/__init__.py +3 -0
  36. parrot/crew/tools/__init__.py +22 -0
  37. parrot/crew/tools/bing.py +13 -0
  38. parrot/crew/tools/config.py +43 -0
  39. parrot/crew/tools/duckgo.py +62 -0
  40. parrot/crew/tools/file.py +24 -0
  41. parrot/crew/tools/google.py +168 -0
  42. parrot/crew/tools/gtrends.py +16 -0
  43. parrot/crew/tools/md2pdf.py +25 -0
  44. parrot/crew/tools/rag.py +42 -0
  45. parrot/crew/tools/search.py +32 -0
  46. parrot/crew/tools/url.py +21 -0
  47. parrot/exceptions.cpython-39-x86_64-linux-gnu.so +0 -0
  48. parrot/handlers/__init__.py +4 -0
  49. parrot/handlers/agents.py +292 -0
  50. parrot/handlers/bots.py +196 -0
  51. parrot/handlers/chat.py +192 -0
  52. parrot/interfaces/__init__.py +6 -0
  53. parrot/interfaces/database.py +27 -0
  54. parrot/interfaces/http.py +805 -0
  55. parrot/interfaces/images/__init__.py +0 -0
  56. parrot/interfaces/images/plugins/__init__.py +18 -0
  57. parrot/interfaces/images/plugins/abstract.py +58 -0
  58. parrot/interfaces/images/plugins/exif.py +709 -0
  59. parrot/interfaces/images/plugins/hash.py +52 -0
  60. parrot/interfaces/images/plugins/vision.py +104 -0
  61. parrot/interfaces/images/plugins/yolo.py +66 -0
  62. parrot/interfaces/images/plugins/zerodetect.py +197 -0
  63. parrot/llms/__init__.py +1 -0
  64. parrot/llms/abstract.py +69 -0
  65. parrot/llms/anthropic.py +58 -0
  66. parrot/llms/gemma.py +15 -0
  67. parrot/llms/google.py +44 -0
  68. parrot/llms/groq.py +67 -0
  69. parrot/llms/hf.py +45 -0
  70. parrot/llms/openai.py +61 -0
  71. parrot/llms/pipes.py +114 -0
  72. parrot/llms/vertex.py +89 -0
  73. parrot/loaders/__init__.py +9 -0
  74. parrot/loaders/abstract.py +628 -0
  75. parrot/loaders/files/__init__.py +0 -0
  76. parrot/loaders/files/abstract.py +39 -0
  77. parrot/loaders/files/text.py +63 -0
  78. parrot/loaders/txt.py +26 -0
  79. parrot/manager.py +333 -0
  80. parrot/models.py +504 -0
  81. parrot/py.typed +0 -0
  82. parrot/stores/__init__.py +11 -0
  83. parrot/stores/abstract.py +248 -0
  84. parrot/stores/chroma.py +188 -0
  85. parrot/stores/duck.py +162 -0
  86. parrot/stores/embeddings/__init__.py +10 -0
  87. parrot/stores/embeddings/abstract.py +46 -0
  88. parrot/stores/embeddings/base.py +52 -0
  89. parrot/stores/embeddings/bge.py +20 -0
  90. parrot/stores/embeddings/fastembed.py +17 -0
  91. parrot/stores/embeddings/google.py +18 -0
  92. parrot/stores/embeddings/huggingface.py +20 -0
  93. parrot/stores/embeddings/ollama.py +14 -0
  94. parrot/stores/embeddings/openai.py +26 -0
  95. parrot/stores/embeddings/transformers.py +21 -0
  96. parrot/stores/embeddings/vertexai.py +17 -0
  97. parrot/stores/empty.py +10 -0
  98. parrot/stores/faiss.py +160 -0
  99. parrot/stores/milvus.py +397 -0
  100. parrot/stores/postgres.py +653 -0
  101. parrot/stores/qdrant.py +170 -0
  102. parrot/tools/__init__.py +23 -0
  103. parrot/tools/abstract.py +68 -0
  104. parrot/tools/asknews.py +33 -0
  105. parrot/tools/basic.py +51 -0
  106. parrot/tools/bby.py +359 -0
  107. parrot/tools/bing.py +13 -0
  108. parrot/tools/docx.py +343 -0
  109. parrot/tools/duck.py +62 -0
  110. parrot/tools/execute.py +56 -0
  111. parrot/tools/gamma.py +28 -0
  112. parrot/tools/google.py +170 -0
  113. parrot/tools/gvoice.py +301 -0
  114. parrot/tools/results.py +278 -0
  115. parrot/tools/stack.py +27 -0
  116. parrot/tools/weather.py +70 -0
  117. parrot/tools/wikipedia.py +58 -0
  118. parrot/tools/zipcode.py +198 -0
  119. parrot/utils/__init__.py +2 -0
  120. parrot/utils/parsers/__init__.py +5 -0
  121. parrot/utils/parsers/toml.cpython-39-x86_64-linux-gnu.so +0 -0
  122. parrot/utils/toml.py +11 -0
  123. parrot/utils/types.cpython-39-x86_64-linux-gnu.so +0 -0
  124. parrot/utils/uv.py +11 -0
  125. parrot/version.py +10 -0
  126. resources/users/__init__.py +5 -0
  127. resources/users/handlers.py +13 -0
  128. resources/users/models.py +205 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 phenobarbital
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,306 @@
1
+ Metadata-Version: 2.1
2
+ Name: ai-parrot
3
+ Version: 0.8.3
4
+ Summary: Live Chatbots based on Langchain chatbots and Agents Integrated into Navigator Framework or used into any aiohttp applications.
5
+ Home-page: https://github.com/phenobarbital/ai-parrot
6
+ Author: Jesus Lara
7
+ Author-email: jesuslara@phenobarbital.info
8
+ License: MIT
9
+ Project-URL: Source, https://github.com/phenobarbital/ai-parrot
10
+ Project-URL: Tracker, https://github.com/phenobarbital/ai-parrot/issues
11
+ Project-URL: Documentation, https://github.com/phenobarbital/ai-parrot/
12
+ Project-URL: Funding, https://paypal.me/phenobarbital
13
+ Project-URL: Say Thanks!, https://saythanks.io/to/phenobarbital
14
+ Keywords: asyncio,asyncpg,aioredis,aiomcache,langchain,chatbot,agents
15
+ Platform: POSIX
16
+ Classifier: Development Status :: 4 - Beta
17
+ Classifier: Intended Audience :: Developers
18
+ Classifier: Operating System :: POSIX :: Linux
19
+ Classifier: Environment :: Web Environment
20
+ Classifier: License :: OSI Approved :: MIT License
21
+ Classifier: Topic :: Software Development :: Build Tools
22
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
23
+ Classifier: Programming Language :: Python :: 3.9
24
+ Classifier: Programming Language :: Python :: 3.10
25
+ Classifier: Programming Language :: Python :: 3.11
26
+ Classifier: Programming Language :: Python :: 3.12
27
+ Classifier: Programming Language :: Python :: 3 :: Only
28
+ Classifier: Framework :: AsyncIO
29
+ Requires-Python: >=3.9.20
30
+ Description-Content-Type: text/markdown
31
+ License-File: LICENSE
32
+ Requires-Dist: Cython==3.0.11
33
+ Requires-Dist: langchain>=0.3.25
34
+ Requires-Dist: langchain-core==0.3.61
35
+ Requires-Dist: langchain-community==0.3.24
36
+ Requires-Dist: langchain-experimental==0.3.4
37
+ Requires-Dist: langchain-text-splitters==0.3.8
38
+ Requires-Dist: langchainhub==0.1.21
39
+ Requires-Dist: huggingface-hub==0.30.2
40
+ Requires-Dist: langgraph==0.3.27
41
+ Requires-Dist: faiss-cpu>=1.9.0
42
+ Requires-Dist: jq==1.7.0
43
+ Requires-Dist: rank-bm25==0.2.2
44
+ Requires-Dist: tabulate==0.9.0
45
+ Requires-Dist: transitions==0.9.0
46
+ Requires-Dist: sentencepiece==0.2.0
47
+ Requires-Dist: markdown2==2.4.13
48
+ Requires-Dist: psycopg-binary==3.2.6
49
+ Requires-Dist: langchain-postgres==0.0.14
50
+ Requires-Dist: python-datamodel>=0.10.17
51
+ Requires-Dist: backoff==2.2.1
52
+ Requires-Dist: asyncdb>=2.11.6
53
+ Requires-Dist: google-cloud-bigquery==3.30.0
54
+ Requires-Dist: numexpr==2.10.2
55
+ Requires-Dist: fpdf==1.7.2
56
+ Requires-Dist: python-docx==1.1.2
57
+ Provides-Extra: agents
58
+ Requires-Dist: yfinance==0.2.54; extra == "agents"
59
+ Requires-Dist: youtube-search==2.1.2; extra == "agents"
60
+ Requires-Dist: wikipedia==1.4.0; extra == "agents"
61
+ Requires-Dist: mediawikiapi==1.2; 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.151.0; extra == "agents"
68
+ Requires-Dist: pomegranate==1.1.0; extra == "agents"
69
+ Requires-Dist: autoviz==0.1.905; extra == "agents"
70
+ Requires-Dist: spacy==3.8.6; extra == "agents"
71
+ Provides-Extra: analytics
72
+ Requires-Dist: annoy==1.17.3; extra == "analytics"
73
+ Requires-Dist: gradio-tools==0.0.9; extra == "analytics"
74
+ Requires-Dist: gradio-client==0.2.9; extra == "analytics"
75
+ Requires-Dist: streamlit==1.37.1; extra == "analytics"
76
+ Provides-Extra: anthropic
77
+ Requires-Dist: anthropic==0.52.0; extra == "anthropic"
78
+ Requires-Dist: langchain-anthropic==0.3.13; extra == "anthropic"
79
+ Provides-Extra: chroma
80
+ Requires-Dist: chroma==0.2.0; extra == "chroma"
81
+ Requires-Dist: langchain-chroma==0.2.2; extra == "chroma"
82
+ Provides-Extra: crew
83
+ Requires-Dist: colbert-ai==0.2.19; extra == "crew"
84
+ Requires-Dist: vanna==0.3.4; extra == "crew"
85
+ Requires-Dist: crewai[tools]==0.28.8; extra == "crew"
86
+ Provides-Extra: google
87
+ Requires-Dist: langchain-google-vertexai>=2.0.24; extra == "google"
88
+ Requires-Dist: langchain-google-genai>=2.1.4; extra == "google"
89
+ Requires-Dist: google-cloud-texttospeech==2.26.0; extra == "google"
90
+ Requires-Dist: google-genai>=1.0.0; extra == "google"
91
+ Provides-Extra: groq
92
+ Requires-Dist: groq==0.25.0; extra == "groq"
93
+ Requires-Dist: langchain-groq==0.3.2; extra == "groq"
94
+ Provides-Extra: hunggingfaces
95
+ Requires-Dist: llama-index-llms-huggingface==0.2.7; extra == "hunggingfaces"
96
+ Provides-Extra: images
97
+ Requires-Dist: torchvision==0.21.0; extra == "images"
98
+ Requires-Dist: timm==1.0.15; extra == "images"
99
+ Requires-Dist: ultralytics==8.3.121; extra == "images"
100
+ Requires-Dist: albumentations==2.0.6; extra == "images"
101
+ Requires-Dist: filetype==1.2.0; extra == "images"
102
+ Requires-Dist: imagehash==4.3.1; extra == "images"
103
+ Requires-Dist: pgvector==0.3.6; extra == "images"
104
+ Requires-Dist: pyheif==0.8.0; extra == "images"
105
+ Requires-Dist: exif==1.6.1; extra == "images"
106
+ Requires-Dist: pillow-avif-plugin==1.5.2; extra == "images"
107
+ Requires-Dist: pillow-heif==0.22.0; extra == "images"
108
+ Requires-Dist: python-xmp-toolkit==2.0.2; extra == "images"
109
+ Requires-Dist: exifread==3.3.1; extra == "images"
110
+ Provides-Extra: loaders
111
+ Requires-Dist: mammoth==1.8.0; extra == "loaders"
112
+ Requires-Dist: markdownify==1.1.0; extra == "loaders"
113
+ Requires-Dist: python-docx==1.1.2; extra == "loaders"
114
+ Requires-Dist: pymupdf==1.25.5; extra == "loaders"
115
+ Requires-Dist: pymupdf4llm==0.0.22; extra == "loaders"
116
+ Requires-Dist: pdf4llm==0.0.22; extra == "loaders"
117
+ Requires-Dist: langchain-huggingface==0.1.2; extra == "loaders"
118
+ Provides-Extra: milvus
119
+ Requires-Dist: langchain-milvus>=0.1.6; extra == "milvus"
120
+ Requires-Dist: pymilvus==2.4.8; extra == "milvus"
121
+ Requires-Dist: milvus==2.3.5; extra == "milvus"
122
+ Provides-Extra: openai
123
+ Requires-Dist: langchain-openai==0.3.18; extra == "openai"
124
+ Requires-Dist: openai==1.82.0; extra == "openai"
125
+ Requires-Dist: tiktoken==0.7.0; extra == "openai"
126
+ Provides-Extra: qdrant
127
+ Requires-Dist: qdrant-client==1.13.2; extra == "qdrant"
128
+ Requires-Dist: langchain-qdrant==0.2.0; extra == "qdrant"
129
+ Provides-Extra: vector
130
+ Requires-Dist: torch<=2.6.0,>=2.5.1; extra == "vector"
131
+ Requires-Dist: langchain-huggingface==0.1.2; extra == "vector"
132
+ Requires-Dist: fastembed==0.3.4; extra == "vector"
133
+ Requires-Dist: tiktoken==0.7.0; extra == "vector"
134
+ Requires-Dist: accelerate==0.34.2; extra == "vector"
135
+ Requires-Dist: llama-index==0.11.20; extra == "vector"
136
+ Requires-Dist: llama-cpp-python==0.2.56; extra == "vector"
137
+ Requires-Dist: bitsandbytes==0.44.1; extra == "vector"
138
+ Requires-Dist: datasets>=3.0.2; extra == "vector"
139
+ Requires-Dist: safetensors>=0.4.3; extra == "vector"
140
+ Requires-Dist: transformers<=4.51.3,>=4.51.1; extra == "vector"
141
+ Requires-Dist: sentence-transformers==4.0.2; extra == "vector"
142
+ Requires-Dist: tokenizers<=0.21.1,>=0.20.0; extra == "vector"
143
+ Requires-Dist: tensorflow==2.18.0; extra == "vector"
144
+ Requires-Dist: tf-keras==2.18.0; extra == "vector"
145
+ Requires-Dist: simsimd>=4.3.1; extra == "vector"
146
+ Requires-Dist: opencv-python==4.10.0.84; extra == "vector"
147
+ Requires-Dist: langchain-chroma==0.2.2; extra == "vector"
148
+ Requires-Dist: chromadb==0.6.3; extra == "vector"
149
+ Requires-Dist: langchain-duckdb==0.1.1; extra == "vector"
150
+ Requires-Dist: langchain-ollama==0.2.3; extra == "vector"
151
+
152
+ # AI Parrot: Python package for creating Chatbots
153
+ This is an open-source Python package for creating Chatbots based on Langchain and Navigator.
154
+ This README provides instructions for installation, development, testing, and releasing Parrot.
155
+
156
+ ## Installation
157
+
158
+ **Creating a virtual environment:**
159
+
160
+ This is recommended for development and isolation from system-wide libraries.
161
+ Run the following command in your terminal:
162
+
163
+ Debian-based systems installation:
164
+ ```
165
+ sudo apt install gcc python3.11-venv python3.11-full python3.11-dev libmemcached-dev zlib1g-dev build-essential libffi-dev unixodbc unixodbc-dev libsqliteodbc libev4 libev-dev
166
+ ```
167
+
168
+ For Qdrant installation:
169
+ ```
170
+ docker pull qdrant/qdrant
171
+ docker run -d -p 6333:6333 -p 6334:6334 --name qdrant -v $(pwd)/qdrant_storage:/qdrant/storage:z qdrant/qdrant
172
+ ```
173
+
174
+ For VertexAI, creates a folder on "env" called "google" and copy the JSON credentials file into it.
175
+
176
+ ```bash
177
+ make venv
178
+ ```
179
+
180
+ This will create a virtual environment named `.venv`. To activate it, run:
181
+
182
+ ```bash
183
+ source .venv/bin/activate # Linux/macOS
184
+ ```
185
+
186
+ Once activated, install Parrot within the virtual environment:
187
+
188
+ ```bash
189
+ make install
190
+ ```
191
+ The output will remind you to activate the virtual environment before development.
192
+
193
+ **Optional** (for developers):
194
+ ```bash
195
+ pip install -e .
196
+ ```
197
+
198
+ ## Start http server
199
+ ```bash
200
+ python run.py
201
+ ```
202
+
203
+ ## Development Setup
204
+
205
+ This section explains how to set up your development environment:
206
+
207
+ 1. **Install development requirements:**
208
+
209
+ ```bash
210
+ make setup
211
+ ```
212
+
213
+ This installs development dependencies like linters and test runners mentioned in the `docs/requirements-dev.txt` file.
214
+
215
+ 2. **Install Parrot in editable mode:**
216
+
217
+ This allows you to make changes to the code and test them without reinstalling:
218
+
219
+ ```bash
220
+ make dev
221
+ ```
222
+
223
+ This uses `flit` to install Parrot in editable mode.
224
+
225
+
226
+ ### Usage (Replace with actual usage instructions)
227
+
228
+ *Once you have set up your development environment, you can start using Parrot.*
229
+
230
+ #### Test with Code ChatBOT
231
+ * Set environment variables for:
232
+ [google]
233
+ GOOGLE_API_KEY=apikey
234
+ GOOGLE_CREDENTIALS_FILE=.../credentials.json
235
+ VERTEX_PROJECT_ID=vertex-project
236
+ VERTEX_REGION=region
237
+
238
+ * Run the chatbot:
239
+ ```bash
240
+ python examples/test_agent.py
241
+ ```
242
+
243
+ ### Testing
244
+
245
+ To run the test suite:
246
+
247
+ ```bash
248
+ make test
249
+ ```
250
+
251
+ This will run tests using `coverage` to report on code coverage.
252
+
253
+
254
+ ### Code Formatting
255
+
256
+ To format the code with black:
257
+
258
+ ```bash
259
+ make format
260
+ ```
261
+
262
+
263
+ ### Linting
264
+
265
+ To lint the code for style and potential errors:
266
+
267
+ ```bash
268
+ make lint
269
+ ```
270
+
271
+ This uses `pylint` and `black` to check for issues.
272
+
273
+
274
+ ### Releasing a New Version
275
+
276
+ This section outlines the steps for releasing a new version of Parrot:
277
+
278
+ 1. **Ensure everything is clean and tested:**
279
+
280
+ ```bash
281
+ make release
282
+ ```
283
+
284
+ This runs `lint`, `test`, and `clean` tasks before proceeding.
285
+
286
+ 2. **Publish the package:**
287
+
288
+ ```bash
289
+ make release
290
+ ```
291
+
292
+ This uses `flit` to publish the package to a repository like PyPI. You'll need to have publishing credentials configured for `flit`.
293
+
294
+
295
+ ### Cleaning Up
296
+
297
+ To remove the virtual environment:
298
+
299
+ ```bash
300
+ make distclean
301
+ ```
302
+
303
+
304
+ ### Contributing
305
+
306
+ We welcome contributions to Parrot! Please refer to the CONTRIBUTING.md file for guidelines on how to contribute.
@@ -0,0 +1,128 @@
1
+ parrot/__init__.py,sha256=EO8KLYx9hQ_XBmD8Z9CclLMQNNtHLmYk7Q5Gm-p-fRo,815
2
+ parrot/conf.py,sha256=GqIFvDJBMcu7TGUqN0WiqYr31hDTwJ6VFsU5Jsq5xA8,6232
3
+ parrot/exceptions.cpython-39-x86_64-linux-gnu.so,sha256=Z0j2ttFVODr6PmpAmeke4Svzh2UDv-D5rjITtfl-XvY,472720
4
+ parrot/manager.py,sha256=q0trXop817WwKTQd_hrF9KAMAj3C0288pFU4nvTl-2M,12383
5
+ parrot/models.py,sha256=2oCbq4-EUDDmeyRw_TjBT36lF8WbbuoF-MPt3-3QrEg,18369
6
+ parrot/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
+ parrot/version.py,sha256=mMRvAP9ALQN4FGTkZOl-mOCqP3hs-qb1lNl4Zq1p5Jk,377
8
+ parrot/bots/__init__.py,sha256=OM7cuy_YjGtuADKxCbQiDG4tuAqIu41GmzVTcDiR1uU,155
9
+ parrot/bots/abstract.py,sha256=tC5LR3bT9IbuaGfQ8FmMYAoJ5LQZ16prz_Q5IlJ77pM,40008
10
+ parrot/bots/agent.py,sha256=eD-kTFa3NeLyKcJ_sUh3SLgNJIi9LE0oTXkd9oBfyb8,16750
11
+ parrot/bots/basic.py,sha256=dg2kT_ynMEtZ3cMTcSovmDwrOo7BhBwL1o-Nn_7I85A,235
12
+ parrot/bots/bose.py,sha256=gQQzAgt6wxGshihdr5H9_G4ns0lth814IkL7x1Ukjd4,759
13
+ parrot/bots/chatbot.py,sha256=28QrZmjK-TbNHdo9odLyFtdn0VYWPUTzTgWq6OONOsA,10589
14
+ parrot/bots/cody.py,sha256=gPQPRcn7QNJfTF0zWI9i6K-PhyAG6PBVcoCxdvylRdI,616
15
+ parrot/bots/copilot.py,sha256=PDK1Hj3TmxHgZT0rAplMnbbDkmV51B9tTstWWQjsLFM,2795
16
+ parrot/bots/data.py,sha256=uElOUWi2AebKLR_zfSmUuZSjV_W0zVTwm4jv5raM2ZQ,27837
17
+ parrot/bots/dataframe.py,sha256=CfZiLKIwnaku52nl2PNjciqRlH8m2lM4buO6xI7P408,3914
18
+ parrot/bots/hrbot.py,sha256=2HLQlYNzNx97uK8P04NIfkRjFrtp4vCayN7gWjmG2ww,567
19
+ parrot/bots/notebook.py,sha256=48GGskzt1HseC_32Ru63IVFFwr5c4_GsUhgamFdwdAk,25077
20
+ parrot/bots/odoo.py,sha256=mG4f_eGgZ0W3sgSGHHQdYjYZ4MDOyFcAWJJ3TBLr5uA,798
21
+ parrot/bots/troc.py,sha256=kelsktpV-0R2rpAQQtxxqo7UZitvJB7MM8DOrAUPqqk,597
22
+ parrot/bots/interfaces/__init__.py,sha256=Sgel4P6GA9pJ9Q-NH5faEEhBGfL2x2UBPr5fvC72BAU,39
23
+ parrot/bots/interfaces/retrievers.py,sha256=xoHwFAJTwzKLe3k3RLE8oAg--wdWPx0mBc5UbxYGyX0,348
24
+ parrot/bots/prompts/__init__.py,sha256=N2dG9Q7_pYEJDi5qgttn6Mjc1fm7r8aEcKsz3d1kAWY,986
25
+ parrot/bots/prompts/agents.py,sha256=Hjyx--brZ5FW-nMHT4jHrAe6bXUWeAnHj4DLay1lYUk,3958
26
+ parrot/bots/prompts/data.py,sha256=Yq5mnKmnyjNp3FqfeRl_AULM4D8rNDKKf_9KfHGptrs,9608
27
+ parrot/bots/retrievals/__init__.py,sha256=AgI0mTB27tZ0Oyr7RU63G-ZO1VyX-uCJ6lwxgP4baag,45
28
+ parrot/bots/retrievals/constitutional.py,sha256=x7kFR0KpmkR0Wz6bXNOeU3Hesn_EXc6eOSd4TdXxb8o,600
29
+ parrot/bots/retrievals/multi.py,sha256=92exQXAU5B2gk0uA9dAJnZMwFldPcarcQzLo-iEZy6o,4990
30
+ parrot/bots/retrievals/retrieval.py,sha256=wvMM53k76njV5b6t6CCKiYVk2o81JCHzCNmlHBKYFMg,20622
31
+ parrot/bots/tools/__init__.py,sha256=l0oqzVwBsTZaLGeT79cYmkjWRYUsDPAhnP4MZkErOnM,230
32
+ parrot/bots/tools/eda.py,sha256=BAiLqlW5IzMNEUBTGvzZnmyEK1wZND-YUoP0BkjU8KU,14022
33
+ parrot/bots/tools/pdf.py,sha256=D7SO0Pf3Y9_fCRSrLJ65fzFKHdRBov_Cuf09RpPh96w,1426
34
+ parrot/bots/tools/plot.py,sha256=BNs-6ahr5tilVE2hTfNvorZOktqjlDeITGgMHbcVPjI,1141
35
+ parrot/crew/__init__.py,sha256=oWLEWNNdYHB2AZUDUZVlSsdMOJiWamvM-jVZ8SzoWQE,77
36
+ parrot/crew/tools/__init__.py,sha256=n2nXEVl8VeWmdI_NyGbiVTAq_S51ebNExuyRM7u9SeI,569
37
+ parrot/crew/tools/bing.py,sha256=4Qn8Az0y_1yrK33YFHnUM6hmP0lKcwu-QtCQ5mqQVjY,471
38
+ parrot/crew/tools/config.py,sha256=gRYK08SKGYBYWA5HxzNWmh3VxbVkxzcmic9oFQk4FMY,1056
39
+ parrot/crew/tools/duckgo.py,sha256=nxs4trp1OzQOYMnV3rxKPxU409Y_NO-hFHY1Z10EGTw,1932
40
+ parrot/crew/tools/file.py,sha256=xm76j0VxsCvykmYGZqFCP9Ui_TZl6ddjrZfgKxSJXYY,790
41
+ parrot/crew/tools/google.py,sha256=UMBtEdTNGstzhO6UzcSePVbAx3U9JLiKU8SN_-JiWyE,6072
42
+ parrot/crew/tools/gtrends.py,sha256=PY6jBfO2IUWU2nhgo_hl_VVPbK9ProYBuApS9gJV9kM,576
43
+ parrot/crew/tools/md2pdf.py,sha256=h4w0S53ACchlkgpqejxSZjBAs5KnoXwmsfTRGFqlJZE,899
44
+ parrot/crew/tools/rag.py,sha256=sTp20-77Ui_3J-gItztVLb4Vinl2BVqTNSbTDikrj0g,1406
45
+ parrot/crew/tools/search.py,sha256=itWpJD_78IXVtBSKrQIAamCPLbejwmUj1oCBKqBxvO0,1055
46
+ parrot/crew/tools/url.py,sha256=m5v9XFQPotHRID7NmY-NQVmXtXEJvfly6tFMslL8U_0,682
47
+ parrot/handlers/__init__.py,sha256=WKn2yg4pSi5-IivkQ34uHSfTG7f1nYj4jB8-4wNG2_A,64
48
+ parrot/handlers/agents.py,sha256=Ys0B1Ryx8caEnu3su2aDe9IBJHxlxuXqgJj3LXROA9I,9519
49
+ parrot/handlers/bots.py,sha256=OxyE6N-Mqt9G5UAai-ERFd2-0VAULO3e-wJn17QaDFI,5782
50
+ parrot/handlers/chat.py,sha256=gZSDOZ5PFoiipfipM48hiR7VXZX9tN9AzjOeuLC4Tro,6122
51
+ parrot/interfaces/__init__.py,sha256=m3FpxsFeEKq_hvQR9YRGAhZS6u8LZZBuzf6-njugiHE,69
52
+ parrot/interfaces/database.py,sha256=t-UGwInCLHaVlPnaaVcUPtUYwLhoh5tcQa8HGmmqZkc,565
53
+ parrot/interfaces/http.py,sha256=wJWP15z-ANPn1CoWCdwEILbdnof_Xs1Yvu5WcI4c49Q,33808
54
+ parrot/interfaces/images/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
55
+ parrot/interfaces/images/plugins/__init__.py,sha256=CwFY6RS6iFagvhqwWAmwF8sfM5uZqHmyU8amMj8gGbE,461
56
+ parrot/interfaces/images/plugins/abstract.py,sha256=FOh0V6hoPUF0L63UxvtYEHIkTjSQSBBplcgK7aGucmQ,1650
57
+ parrot/interfaces/images/plugins/exif.py,sha256=ijS1dW8Pw47vfcm3NoNQRP96raLtQJ7__66cQcReusE,30462
58
+ parrot/interfaces/images/plugins/hash.py,sha256=FT7CVhZ0FLLc5Lr9EzsBoC_y342mnSnrcnFfBy-Q9lI,1704
59
+ parrot/interfaces/images/plugins/vision.py,sha256=gR29IX8KYGCATpEMNqFn5D0jrC1UcKZYbIUMIbB1tJM,3920
60
+ parrot/interfaces/images/plugins/yolo.py,sha256=dhyy8301GD7twb9I2prpmsWRI5usw_8iO3Is-xhZtyI,2325
61
+ parrot/interfaces/images/plugins/zerodetect.py,sha256=Bq8vrm0VgDeVilll5bGMHHx5H1CjMeXdlQk21Dm27no,7985
62
+ parrot/llms/__init__.py,sha256=rAtMKIM-k55ouEIvglxJmFxtUs2KHtthdh4KEkv6veQ,47
63
+ parrot/llms/abstract.py,sha256=0ucg_fAl2l7hR5zhzE5_ovjCgDkUmvh6ahqDkVAZZaw,2292
64
+ parrot/llms/anthropic.py,sha256=brQw_zTeAFyRs_kQGT9vNxjYX2tY4zecYYIYz8n_CbE,1976
65
+ parrot/llms/gemma.py,sha256=ybyWrXEN6a7OJJVGioCnE7CmpL_sbYlaHPQvi2CRK0w,352
66
+ parrot/llms/google.py,sha256=cETHa0hvdIZ1uNO6mC435gxaVC76_P1pCHMccWulV58,1293
67
+ parrot/llms/groq.py,sha256=6W77FjjKKkCqLqjvW2EmujDnvG_lKgtI4rOx-aPIzxA,2319
68
+ parrot/llms/hf.py,sha256=f2HhHCICaSHp0y3KRhqNcYXNO-amYTxDXJ_2_9L5Bk8,1594
69
+ parrot/llms/openai.py,sha256=WipdwedYTIARTs0QXa7V-oUDG-AXMXexM-LVD17sh08,1766
70
+ parrot/llms/pipes.py,sha256=Ns_wh-alkKocZKlbQyQLKOSBxqfRC_hCbz34vpOOyP8,3798
71
+ parrot/llms/vertex.py,sha256=3dYVrOuyyGeDdr2xTLzpbI_ao2D6SLxGfMATMZHPGEY,2967
72
+ parrot/loaders/__init__.py,sha256=ocwIdDCZ9oF8uCjK49SsALoOM6LoS14QipHfDsD0piI,259
73
+ parrot/loaders/abstract.py,sha256=UJbkuE8j-wH3WcXoXUJwD8ZZe9oosrY-1VtPDJ-MSVc,23284
74
+ parrot/loaders/txt.py,sha256=WvxuasrP9VX-QkWxJ-ZiyrA4i3wkh7SJpnpPTLEI-yc,673
75
+ parrot/loaders/files/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
76
+ parrot/loaders/files/abstract.py,sha256=CEmFdpuyRkJFA_9vD1UyUMElK0VGf1AMIEtYzy3unCg,1077
77
+ parrot/loaders/files/text.py,sha256=199Q_A0fN2NYxuXO5fuNjkPnTPYGW9shv5vPUmO32Ds,1832
78
+ parrot/stores/__init__.py,sha256=W7Ggvvxw4Dn13IWbuXaT0KTTJJORpvLtTKuaajNUxNA,264
79
+ parrot/stores/abstract.py,sha256=esoNpgcA_07RS3z2Qm7RtQd7pfKbhLoJMztoDwC_c1k,7387
80
+ parrot/stores/chroma.py,sha256=UbPNs6P1o8BnUA0B_IwQ6n89VuZt7H2j0FpNmK22Ids,5932
81
+ parrot/stores/duck.py,sha256=FTDV2HJb580ojVNBdUrC1ukuDUTyk4qUwF-LaN-IbWA,4740
82
+ parrot/stores/empty.py,sha256=bCQJt54YPpR_pN9uHA2VA95GPPp04daMBJHbHQsRY0Q,234
83
+ parrot/stores/faiss.py,sha256=tbur-YM7ictMh9S65Tc6WGK88JBkunQqES98w27CBtE,5694
84
+ parrot/stores/milvus.py,sha256=rRM-oODKsTIEKiFBcygchqxpC94am2TLgbE0gw0NfJg,13275
85
+ parrot/stores/postgres.py,sha256=7mZ4l8EKcTMegWw6ooI9nfIUCdlutMCzJfQ0ULQFh6k,24908
86
+ parrot/stores/qdrant.py,sha256=u07DUoFHWDf-IU5tHbhinhMjPGWFgUbzaBhT_lWrvCA,6003
87
+ parrot/stores/embeddings/__init__.py,sha256=ZQPpLBhiBx27Q5FhB_v-Vibcq3rHEP7x9GXfn_LGFOc,283
88
+ parrot/stores/embeddings/abstract.py,sha256=WYP_pEJVSpJpR7pemt_3nzHi_lhwEaG1CEgWwiPE-As,1091
89
+ parrot/stores/embeddings/base.py,sha256=5ZEY7fmjgobTGAMrHS_u-op8_iKm7P-A-HM9tLeHfN8,1921
90
+ parrot/stores/embeddings/bge.py,sha256=QUqbqCLK0kyyoLtaKWEW8kH47fdjVZnQEgEGnWTZzL8,637
91
+ parrot/stores/embeddings/fastembed.py,sha256=W1RbogkjqydY9TVB0nMGRBsG0juJc_kqfOwTxzhnNo8,482
92
+ parrot/stores/embeddings/google.py,sha256=BDUe_FunPkKdywrn-8HLTVHr5Lgi9eFFDojTyE79lLk,595
93
+ parrot/stores/embeddings/huggingface.py,sha256=47yvCr6KX8iDIsrC_XpgTsKK4UEaucUitNMlep48L2g,649
94
+ parrot/stores/embeddings/ollama.py,sha256=IPo_hpqxj7A9BvtdWYu29oe8JVdkOgOh5geHIDtmZQI,399
95
+ parrot/stores/embeddings/openai.py,sha256=IOBUcwauNHe0DQfFDEkDnXgd2XZyl7mmIg1AqMHdZeU,800
96
+ parrot/stores/embeddings/transformers.py,sha256=ybI5rOiEutNLsR1W3YxDwQTceR1ujO5u6wpQfvsQMow,678
97
+ parrot/stores/embeddings/vertexai.py,sha256=aCa0TjRTInawiVSgQPvB3m2UnamZywUa06FvfCnFhE0,666
98
+ parrot/tools/__init__.py,sha256=GzaO0ipTHiyK_qLXA1seKhtZJlNIIlXTHMNoDLaaS0k,894
99
+ parrot/tools/abstract.py,sha256=4uyAczSAeuscpV6PVSJaF6jpzgm1nb54D3sNO76-4aY,2211
100
+ parrot/tools/asknews.py,sha256=gTps1dVmr6hfzLQcQSQ-C3JT-QYYnM6YmoG-BkuUbcw,1114
101
+ parrot/tools/basic.py,sha256=FFIzzjkJ_a7FUM9N2O4ig1fgXGeyZGl44dAc56neIkM,1581
102
+ parrot/tools/bby.py,sha256=3cKTReAHGprdwtxoKslpgBXvBxlVLmIH7LX5eFG6jZo,15621
103
+ parrot/tools/bing.py,sha256=Vfkucm7bytvXKTwCQVpYdI5ycCIS6BmkvDGoeMiOfGI,531
104
+ parrot/tools/docx.py,sha256=1w9SNkVACL19HLKaGkFDTBfx2_MrlQ-zqJVK6HSMgZM,13118
105
+ parrot/tools/duck.py,sha256=yH2DUMAwpn8P5d0q4qqaoIPrY8-u6-ikFUKFGRJsiwU,1954
106
+ parrot/tools/execute.py,sha256=fTMQAsXuUzVyIWmZxL22LrSj2eQ-Rh-ncyUZ9gY-d-A,1687
107
+ parrot/tools/gamma.py,sha256=T0Moo1Gw3wl50M_nT0krMvuShsYaqheg3lQGl8Mba94,850
108
+ parrot/tools/google.py,sha256=WkaOquUOdVwDHJj8gK0RC_EH-ISKsQiWebFZAZfMOg4,6241
109
+ parrot/tools/gvoice.py,sha256=JiwdrLMLTkHLD4GTKwH6NvPBYTojmNGmYmdeF_E8jkA,12737
110
+ parrot/tools/results.py,sha256=_FEmHbWVQAW6sJwxtpcA3wMx_JSTjBpwiRsg39GtC-c,9812
111
+ parrot/tools/stack.py,sha256=bVtaEWsZRl9UpHJQ6MNp3uaF90CcViylRy6oXpwBEns,969
112
+ parrot/tools/weather.py,sha256=4v9Ft5lkVzb9Pg7afNs7BK5T3WEcsZbHPlBrF9oXSo8,2541
113
+ parrot/tools/wikipedia.py,sha256=lPLc3rCem8xH3-m4YxGesBC6uRtnr0vwcO-OZeypj7Y,2058
114
+ parrot/tools/zipcode.py,sha256=tMXVN9ZZmwwJFWOaif1V4eX8BrPpHdbAmFbhDv0VgsY,7014
115
+ parrot/utils/__init__.py,sha256=vkBIvfl9-0NRLd76MIZk4s49PjtF_dW5imLTv_UOKxM,101
116
+ parrot/utils/toml.py,sha256=CVyqDdAEyOj6AHfNpyQe4IUvLP_SSXlbHROYPeadLvU,302
117
+ parrot/utils/types.cpython-39-x86_64-linux-gnu.so,sha256=YH9snyX6KAZ1GkvPZQWSLaDbg_cbbQmez-I_xNd49JM,1020824
118
+ parrot/utils/uv.py,sha256=Mb09bsi13hhi3xQDBjEhCf-U1wherXl-K4-BLcSvqtc,308
119
+ parrot/utils/parsers/__init__.py,sha256=l82uIu07QvSJ8Xt0d_seei9n7UUL8PE-YFGBTyNbxSI,62
120
+ parrot/utils/parsers/toml.cpython-39-x86_64-linux-gnu.so,sha256=adtiVkY9XWA-nDVJ_3ib1YAgQSJiLk86lpwyaESoRec,603384
121
+ resources/users/__init__.py,sha256=sdXUV7h0Oogcdru1RrQxbm9_RcMjftf0zTWqvxBVpO8,151
122
+ resources/users/handlers.py,sha256=BGzqBvPY_OaIF_nONWX4b_B5OyyBrdGuSihIsdlFwjk,291
123
+ resources/users/models.py,sha256=glk7Emv7QCi6i32xRFDrGc8UwK23_LPg0XUOJoHnwRU,6799
124
+ ai_parrot-0.8.3.dist-info/LICENSE,sha256=vRKOoa7onTsLNvSzJtGtMaNhWWh8B3YAT733Tlu6M4o,1070
125
+ ai_parrot-0.8.3.dist-info/METADATA,sha256=8x-MPj1Uyjyrdly-vB5pwZQy4yQoLAuM1rL216pv6aM,10414
126
+ ai_parrot-0.8.3.dist-info/WHEEL,sha256=ER3Jtc6uQptpQyRQf4eGx-tyF9HE1_D4l5Yr4EjJahY,148
127
+ ai_parrot-0.8.3.dist-info/top_level.txt,sha256=VCLpdIu_5wkShgIQjK85jFzL9HEVVjAqlQa_gupLekI,17
128
+ ai_parrot-0.8.3.dist-info/RECORD,,
@@ -0,0 +1,6 @@
1
+ Wheel-Version: 1.0
2
+ Generator: bdist_wheel (0.44.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp39-cp39-manylinux_2_17_x86_64
5
+ Tag: cp39-cp39-manylinux2014_x86_64
6
+
@@ -0,0 +1,2 @@
1
+ parrot
2
+ resources
parrot/__init__.py ADDED
@@ -0,0 +1,30 @@
1
+ # -*- coding: utf-8 -*-
2
+ """Navigator Parrot.
3
+
4
+ Basic Chatbots for Navigator Services.
5
+ """
6
+ import os
7
+ from pathlib import Path
8
+ from navconfig.logging import logging
9
+ from .version import (
10
+ __author__,
11
+ __author_email__,
12
+ __description__,
13
+ __title__,
14
+ __version__
15
+ )
16
+
17
+ logging.getLogger('h5py').setLevel(logging.ERROR)
18
+ logging.getLogger('tensorflow').setLevel(logging.ERROR)
19
+ logging.getLogger('matplotlib').setLevel(logging.ERROR)
20
+ logging.getLogger('langchain').setLevel(logging.ERROR)
21
+ logging.getLogger("grpc").setLevel(logging.CRITICAL)
22
+
23
+ os.environ["USER_AGENT"] = "Parrot.AI/1.0"
24
+ # This environment variable can help prevent some gRPC cleanup issues
25
+ os.environ["GRPC_ENABLE_FORK_SUPPORT"] = "false"
26
+
27
+ def get_project_root() -> Path:
28
+ return Path(__file__).parent.parent
29
+
30
+ ABS_PATH = get_project_root()
@@ -0,0 +1,5 @@
1
+ from .abstract import AbstractBot
2
+ from .basic import BasicBot
3
+ from .hrbot import HRAgent
4
+ from .data import PandasAgent
5
+ from .notebook import NotebookAgent