ai-parrot 0.3.4__cp310-cp310-manylinux_2_17_x86_64.manylinux2014_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 (109) hide show
  1. ai_parrot-0.3.4.dist-info/LICENSE +21 -0
  2. ai_parrot-0.3.4.dist-info/METADATA +319 -0
  3. ai_parrot-0.3.4.dist-info/RECORD +109 -0
  4. ai_parrot-0.3.4.dist-info/WHEEL +6 -0
  5. ai_parrot-0.3.4.dist-info/top_level.txt +3 -0
  6. parrot/__init__.py +21 -0
  7. parrot/chatbots/__init__.py +7 -0
  8. parrot/chatbots/abstract.py +728 -0
  9. parrot/chatbots/asktroc.py +16 -0
  10. parrot/chatbots/base.py +366 -0
  11. parrot/chatbots/basic.py +9 -0
  12. parrot/chatbots/bose.py +17 -0
  13. parrot/chatbots/cody.py +17 -0
  14. parrot/chatbots/copilot.py +83 -0
  15. parrot/chatbots/dataframe.py +103 -0
  16. parrot/chatbots/hragents.py +15 -0
  17. parrot/chatbots/odoo.py +17 -0
  18. parrot/chatbots/retrievals/__init__.py +578 -0
  19. parrot/chatbots/retrievals/constitutional.py +19 -0
  20. parrot/conf.py +110 -0
  21. parrot/crew/__init__.py +3 -0
  22. parrot/crew/tools/__init__.py +22 -0
  23. parrot/crew/tools/bing.py +13 -0
  24. parrot/crew/tools/config.py +43 -0
  25. parrot/crew/tools/duckgo.py +62 -0
  26. parrot/crew/tools/file.py +24 -0
  27. parrot/crew/tools/google.py +168 -0
  28. parrot/crew/tools/gtrends.py +16 -0
  29. parrot/crew/tools/md2pdf.py +25 -0
  30. parrot/crew/tools/rag.py +42 -0
  31. parrot/crew/tools/search.py +32 -0
  32. parrot/crew/tools/url.py +21 -0
  33. parrot/exceptions.cpython-310-x86_64-linux-gnu.so +0 -0
  34. parrot/handlers/__init__.py +4 -0
  35. parrot/handlers/bots.py +196 -0
  36. parrot/handlers/chat.py +162 -0
  37. parrot/interfaces/__init__.py +6 -0
  38. parrot/interfaces/database.py +29 -0
  39. parrot/llms/__init__.py +137 -0
  40. parrot/llms/abstract.py +47 -0
  41. parrot/llms/anthropic.py +42 -0
  42. parrot/llms/google.py +42 -0
  43. parrot/llms/groq.py +45 -0
  44. parrot/llms/hf.py +45 -0
  45. parrot/llms/openai.py +59 -0
  46. parrot/llms/pipes.py +114 -0
  47. parrot/llms/vertex.py +78 -0
  48. parrot/loaders/__init__.py +20 -0
  49. parrot/loaders/abstract.py +456 -0
  50. parrot/loaders/audio.py +106 -0
  51. parrot/loaders/basepdf.py +102 -0
  52. parrot/loaders/basevideo.py +280 -0
  53. parrot/loaders/csv.py +42 -0
  54. parrot/loaders/dir.py +37 -0
  55. parrot/loaders/excel.py +349 -0
  56. parrot/loaders/github.py +65 -0
  57. parrot/loaders/handlers/__init__.py +5 -0
  58. parrot/loaders/handlers/data.py +213 -0
  59. parrot/loaders/image.py +119 -0
  60. parrot/loaders/json.py +52 -0
  61. parrot/loaders/pdf.py +437 -0
  62. parrot/loaders/pdfchapters.py +142 -0
  63. parrot/loaders/pdffn.py +112 -0
  64. parrot/loaders/pdfimages.py +207 -0
  65. parrot/loaders/pdfmark.py +88 -0
  66. parrot/loaders/pdftables.py +145 -0
  67. parrot/loaders/ppt.py +30 -0
  68. parrot/loaders/qa.py +81 -0
  69. parrot/loaders/repo.py +103 -0
  70. parrot/loaders/rtd.py +65 -0
  71. parrot/loaders/txt.py +92 -0
  72. parrot/loaders/utils/__init__.py +1 -0
  73. parrot/loaders/utils/models.py +25 -0
  74. parrot/loaders/video.py +96 -0
  75. parrot/loaders/videolocal.py +120 -0
  76. parrot/loaders/vimeo.py +106 -0
  77. parrot/loaders/web.py +216 -0
  78. parrot/loaders/web_base.py +112 -0
  79. parrot/loaders/word.py +125 -0
  80. parrot/loaders/youtube.py +192 -0
  81. parrot/manager.py +166 -0
  82. parrot/models.py +372 -0
  83. parrot/py.typed +0 -0
  84. parrot/stores/__init__.py +48 -0
  85. parrot/stores/abstract.py +171 -0
  86. parrot/stores/milvus.py +632 -0
  87. parrot/stores/qdrant.py +153 -0
  88. parrot/tools/__init__.py +12 -0
  89. parrot/tools/abstract.py +53 -0
  90. parrot/tools/asknews.py +32 -0
  91. parrot/tools/bing.py +13 -0
  92. parrot/tools/duck.py +62 -0
  93. parrot/tools/google.py +170 -0
  94. parrot/tools/stack.py +26 -0
  95. parrot/tools/weather.py +70 -0
  96. parrot/tools/wikipedia.py +59 -0
  97. parrot/tools/zipcode.py +179 -0
  98. parrot/utils/__init__.py +2 -0
  99. parrot/utils/parsers/__init__.py +5 -0
  100. parrot/utils/parsers/toml.cpython-310-x86_64-linux-gnu.so +0 -0
  101. parrot/utils/toml.py +11 -0
  102. parrot/utils/types.cpython-310-x86_64-linux-gnu.so +0 -0
  103. parrot/utils/uv.py +11 -0
  104. parrot/version.py +10 -0
  105. resources/users/__init__.py +5 -0
  106. resources/users/handlers.py +13 -0
  107. resources/users/models.py +205 -0
  108. settings/__init__.py +0 -0
  109. settings/settings.py +51 -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,319 @@
1
+ Metadata-Version: 2.1
2
+ Name: ai-parrot
3
+ Version: 0.3.4
4
+ Summary: Live Chatbots based on Langchain chatbots and Agents Integrated into Navigator Framework or used into 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: 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
51
+ Requires-Dist: jq==1.7.0
52
+ 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
58
+ Requires-Dist: tabulate==0.9.0
59
+ Requires-Dist: tiktoken==0.7.0
60
+ Requires-Dist: tokenizers==0.19.1
61
+ Requires-Dist: selenium>=4.18.1
62
+ Requires-Dist: webdriver-manager>=4.0.1
63
+ Requires-Dist: transitions==0.9.0
64
+ 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
+ Requires-Dist: weasyprint==61.2
70
+ 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
+ Provides-Extra: all
82
+ Requires-Dist: langchain-milvus==0.1.1; extra == "all"
83
+ Requires-Dist: milvus==2.3.5; extra == "all"
84
+ Requires-Dist: pymilvus==2.4.4; extra == "all"
85
+ Requires-Dist: groq==0.11.0; extra == "all"
86
+ Requires-Dist: langchain-groq==0.1.4; extra == "all"
87
+ Requires-Dist: llama-index-llms-huggingface==0.2.7; extra == "all"
88
+ Requires-Dist: langchain-google-vertexai==1.0.8; extra == "all"
89
+ Requires-Dist: langchain-google-genai==1.0.8; extra == "all"
90
+ Requires-Dist: google-generativeai==0.7.2; extra == "all"
91
+ Requires-Dist: vertexai==1.60.0; extra == "all"
92
+ Requires-Dist: google-cloud-aiplatform>=1.60.0; extra == "all"
93
+ Requires-Dist: grpc-google-iam-v1==0.13.0; extra == "all"
94
+ Requires-Dist: langchain-openai==0.1.21; extra == "all"
95
+ Requires-Dist: openai==1.40.8; extra == "all"
96
+ Requires-Dist: llama-index-llms-openai==0.1.11; extra == "all"
97
+ Requires-Dist: langchain-anthropic==0.1.23; extra == "all"
98
+ Requires-Dist: anthropic==0.34.0; extra == "all"
99
+ Provides-Extra: analytics
100
+ Requires-Dist: annoy==1.17.3; extra == "analytics"
101
+ Requires-Dist: gradio-tools==0.0.9; extra == "analytics"
102
+ Requires-Dist: gradio-client==0.2.9; extra == "analytics"
103
+ Requires-Dist: streamlit==1.37.1; extra == "analytics"
104
+ Requires-Dist: simsimd==4.3.1; extra == "analytics"
105
+ Requires-Dist: opencv-python==4.10.0.84; extra == "analytics"
106
+ Provides-Extra: anthropic
107
+ Requires-Dist: langchain-anthropic==0.1.11; extra == "anthropic"
108
+ Requires-Dist: anthropic==0.25.2; extra == "anthropic"
109
+ Provides-Extra: crew
110
+ Requires-Dist: colbert-ai==0.2.19; extra == "crew"
111
+ Requires-Dist: vanna==0.3.4; extra == "crew"
112
+ Requires-Dist: crewai[tools]==0.28.8; extra == "crew"
113
+ Provides-Extra: google
114
+ Requires-Dist: langchain-google-vertexai==1.0.10; extra == "google"
115
+ Requires-Dist: langchain-google-genai==1.0.10; extra == "google"
116
+ Requires-Dist: vertexai==1.65.0; extra == "google"
117
+ Provides-Extra: groq
118
+ Requires-Dist: groq==0.11.0; extra == "groq"
119
+ Requires-Dist: langchain-groq==0.1.9; extra == "groq"
120
+ Provides-Extra: hunggingfaces
121
+ Requires-Dist: llama-index-llms-huggingface==0.2.7; extra == "hunggingfaces"
122
+ Provides-Extra: loaders
123
+ Requires-Dist: unstructured==0.14.3; extra == "loaders"
124
+ Requires-Dist: unstructured-client==0.18.0; extra == "loaders"
125
+ Requires-Dist: youtube-transcript-api==0.6.2; extra == "loaders"
126
+ Requires-Dist: pymupdf==1.24.4; extra == "loaders"
127
+ Requires-Dist: pymupdf4llm==0.0.1; extra == "loaders"
128
+ Requires-Dist: pdf4llm==0.0.6; extra == "loaders"
129
+ Requires-Dist: PyPDF2==3.0.1; extra == "loaders"
130
+ Requires-Dist: pdfminer.six==20231228; extra == "loaders"
131
+ Requires-Dist: pdfplumber==0.11.0; extra == "loaders"
132
+ Requires-Dist: GitPython==3.1.42; extra == "loaders"
133
+ Requires-Dist: opentelemetry-sdk==1.24.0; extra == "loaders"
134
+ Requires-Dist: rapidocr-onnxruntime==1.3.15; extra == "loaders"
135
+ Requires-Dist: pytesseract==0.3.10; extra == "loaders"
136
+ Requires-Dist: python-docx==1.1.0; extra == "loaders"
137
+ Requires-Dist: python-pptx==0.6.23; extra == "loaders"
138
+ Requires-Dist: docx2txt==0.8; extra == "loaders"
139
+ Requires-Dist: pytube==15.0.0; extra == "loaders"
140
+ Requires-Dist: pydub==0.25.1; extra == "loaders"
141
+ Requires-Dist: markdownify==0.12.1; extra == "loaders"
142
+ Requires-Dist: yt-dlp==2024.4.9; extra == "loaders"
143
+ Requires-Dist: moviepy==1.0.3; extra == "loaders"
144
+ Requires-Dist: mammoth==1.7.1; extra == "loaders"
145
+ Requires-Dist: paddlepaddle==2.6.1; extra == "loaders"
146
+ Requires-Dist: paddlepaddle-gpu==2.6.1; extra == "loaders"
147
+ Requires-Dist: paddleocr==2.8.1; extra == "loaders"
148
+ Requires-Dist: ftfy==6.2.3; extra == "loaders"
149
+ Requires-Dist: librosa==0.10.1; extra == "loaders"
150
+ Requires-Dist: XlsxWriter==3.2.0; extra == "loaders"
151
+ Requires-Dist: xformers==0.0.27.post2; extra == "loaders"
152
+ Requires-Dist: timm==1.0.9; extra == "loaders"
153
+ Provides-Extra: milvus
154
+ Requires-Dist: langchain-milvus>=0.1.4; extra == "milvus"
155
+ Requires-Dist: milvus==2.3.5; extra == "milvus"
156
+ Requires-Dist: pymilvus==2.4.6; extra == "milvus"
157
+ Provides-Extra: openai
158
+ Requires-Dist: langchain-openai==0.1.21; extra == "openai"
159
+ Requires-Dist: openai==1.40.3; extra == "openai"
160
+ Requires-Dist: llama-index-llms-openai==0.1.11; extra == "openai"
161
+ Requires-Dist: tiktoken==0.7.0; extra == "openai"
162
+ Provides-Extra: qdrant
163
+ Requires-Dist: qdrant-client==1.8.0; extra == "qdrant"
164
+
165
+ # AI Parrot: Python package for creating Chatbots
166
+ This is an open-source Python package for creating Chatbots based on Langchain and Navigator.
167
+ This README provides instructions for installation, development, testing, and releasing Parrot.
168
+
169
+ ## Installation
170
+
171
+ **Creating a virtual environment:**
172
+
173
+ This is recommended for development and isolation from system-wide libraries.
174
+ Run the following command in your terminal:
175
+
176
+ Debian-based systems installation:
177
+ ```
178
+ 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
179
+ ```
180
+
181
+ For Qdrant installation:
182
+ ```
183
+ docker pull qdrant/qdrant
184
+ docker run -d -p 6333:6333 -p 6334:6334 --name qdrant -v $(pwd)/qdrant_storage:/qdrant/storage:z qdrant/qdrant
185
+ ```
186
+
187
+ For VertexAI, creates a folder on "env" called "google" and copy the JSON credentials file into it.
188
+
189
+ ```bash
190
+ make venv
191
+ ```
192
+
193
+ This will create a virtual environment named `.venv`. To activate it, run:
194
+
195
+ ```bash
196
+ source .venv/bin/activate # Linux/macOS
197
+ ```
198
+
199
+ Once activated, install Parrot within the virtual environment:
200
+
201
+ ```bash
202
+ make install
203
+ ```
204
+ The output will remind you to activate the virtual environment before development.
205
+
206
+ **Optional** (for developers):
207
+ ```bash
208
+ pip install -e .
209
+ ```
210
+
211
+ ## Start http server
212
+ ```bash
213
+ python run.py
214
+ ```
215
+
216
+ ## Development Setup
217
+
218
+ This section explains how to set up your development environment:
219
+
220
+ 1. **Install development requirements:**
221
+
222
+ ```bash
223
+ make setup
224
+ ```
225
+
226
+ This installs development dependencies like linters and test runners mentioned in the `docs/requirements-dev.txt` file.
227
+
228
+ 2. **Install Parrot in editable mode:**
229
+
230
+ This allows you to make changes to the code and test them without reinstalling:
231
+
232
+ ```bash
233
+ make dev
234
+ ```
235
+
236
+ This uses `flit` to install Parrot in editable mode.
237
+
238
+
239
+ ### Usage (Replace with actual usage instructions)
240
+
241
+ *Once you have set up your development environment, you can start using Parrot.*
242
+
243
+ #### Test with Code ChatBOT
244
+ * Set environment variables for:
245
+ [google]
246
+ GOOGLE_API_KEY=apikey
247
+ GOOGLE_CREDENTIALS_FILE=.../credentials.json
248
+ VERTEX_PROJECT_ID=vertex-project
249
+ VERTEX_REGION=region
250
+
251
+ * Run the chatbot:
252
+ ```bash
253
+ python examples/test_agent.py
254
+ ```
255
+
256
+ ### Testing
257
+
258
+ To run the test suite:
259
+
260
+ ```bash
261
+ make test
262
+ ```
263
+
264
+ This will run tests using `coverage` to report on code coverage.
265
+
266
+
267
+ ### Code Formatting
268
+
269
+ To format the code with black:
270
+
271
+ ```bash
272
+ make format
273
+ ```
274
+
275
+
276
+ ### Linting
277
+
278
+ To lint the code for style and potential errors:
279
+
280
+ ```bash
281
+ make lint
282
+ ```
283
+
284
+ This uses `pylint` and `black` to check for issues.
285
+
286
+
287
+ ### Releasing a New Version
288
+
289
+ This section outlines the steps for releasing a new version of Parrot:
290
+
291
+ 1. **Ensure everything is clean and tested:**
292
+
293
+ ```bash
294
+ make release
295
+ ```
296
+
297
+ This runs `lint`, `test`, and `clean` tasks before proceeding.
298
+
299
+ 2. **Publish the package:**
300
+
301
+ ```bash
302
+ make release
303
+ ```
304
+
305
+ This uses `flit` to publish the package to a repository like PyPI. You'll need to have publishing credentials configured for `flit`.
306
+
307
+
308
+ ### Cleaning Up
309
+
310
+ To remove the virtual environment:
311
+
312
+ ```bash
313
+ make distclean
314
+ ```
315
+
316
+
317
+ ### Contributing
318
+
319
+ We welcome contributions to Parrot! Please refer to the CONTRIBUTING.md file for guidelines on how to contribute.
@@ -0,0 +1,109 @@
1
+ resources/users/handlers.py,sha256=BGzqBvPY_OaIF_nONWX4b_B5OyyBrdGuSihIsdlFwjk,291
2
+ resources/users/models.py,sha256=glk7Emv7QCi6i32xRFDrGc8UwK23_LPg0XUOJoHnwRU,6799
3
+ resources/users/__init__.py,sha256=sdXUV7h0Oogcdru1RrQxbm9_RcMjftf0zTWqvxBVpO8,151
4
+ parrot/exceptions.cpython-310-x86_64-linux-gnu.so,sha256=JP6doWxO-jM3xrZcdCfsKrL7FhOxkfFs8dSingGEciw,460168
5
+ parrot/models.py,sha256=RsVQCqhSXBKRPcu-BCga9Y1wyvENFXDCuq3_ObIKvAo,13452
6
+ parrot/manager.py,sha256=NhzXoWxSgtoWHpmYP8cV2Ujq_SlvCbQYQBaohAeL2TM,5935
7
+ parrot/__init__.py,sha256=eTkAkHeJ5BBDG2fxrXA4M37ODBJoS1DQYpeBAWL2xeI,387
8
+ parrot/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
+ parrot/version.py,sha256=iKZ2PrfL0nNPi1I6WIbc1BddFhosjUiBxcgBieoLRfY,373
10
+ parrot/conf.py,sha256=-9bVGC7Rf-6wpIg6-ojvU4S_G1wBLUCVDt46KEGHEhM,4257
11
+ parrot/llms/vertex.py,sha256=a0UsH9sa_GiMkg31E52cWE8pXFZjyMtIanr7eAA7iyE,2615
12
+ parrot/llms/anthropic.py,sha256=8g7hA5LKfGWCahOPw_zV4pniwa4Fg4KTkAnL9qcq9KU,1311
13
+ parrot/llms/openai.py,sha256=NgWv6IwJ1DborlYhTyureBBdgHfAPc_lGHQRGt80ca8,1759
14
+ parrot/llms/pipes.py,sha256=Ns_wh-alkKocZKlbQyQLKOSBxqfRC_hCbz34vpOOyP8,3798
15
+ parrot/llms/google.py,sha256=z17aF26h28Dbtt4b7BIfadB9G1cO0a6JeCAxX6aI-6c,1315
16
+ parrot/llms/groq.py,sha256=EZCbcvqojg5DrE41qYTAinLifSn_oIqgVJS22alPKvE,1491
17
+ parrot/llms/abstract.py,sha256=bIrAMkRbP4hf8MYQESUzcNnIqc70vbDuoseoee7Xhho,1395
18
+ parrot/llms/hf.py,sha256=f2HhHCICaSHp0y3KRhqNcYXNO-amYTxDXJ_2_9L5Bk8,1594
19
+ parrot/llms/__init__.py,sha256=bxhPgslU6TjWlOgUFkWV6heavRqmm53PuKNjjZ-Hr1o,3838
20
+ parrot/utils/toml.py,sha256=CVyqDdAEyOj6AHfNpyQe4IUvLP_SSXlbHROYPeadLvU,302
21
+ parrot/utils/uv.py,sha256=Mb09bsi13hhi3xQDBjEhCf-U1wherXl-K4-BLcSvqtc,308
22
+ parrot/utils/__init__.py,sha256=vkBIvfl9-0NRLd76MIZk4s49PjtF_dW5imLTv_UOKxM,101
23
+ parrot/utils/types.cpython-310-x86_64-linux-gnu.so,sha256=VzHFDXZiQ2P7mcxRbtiofXRuKf9ChAe9wCGfDS3fbpk,1022208
24
+ parrot/utils/parsers/toml.cpython-310-x86_64-linux-gnu.so,sha256=eZ-N-jG0Vj9CmU1zoxB7zrX5KcgX6QkdXNm0A2w3zRc,602432
25
+ parrot/utils/parsers/__init__.py,sha256=l82uIu07QvSJ8Xt0d_seei9n7UUL8PE-YFGBTyNbxSI,62
26
+ parrot/crew/__init__.py,sha256=oWLEWNNdYHB2AZUDUZVlSsdMOJiWamvM-jVZ8SzoWQE,77
27
+ parrot/crew/tools/md2pdf.py,sha256=h4w0S53ACchlkgpqejxSZjBAs5KnoXwmsfTRGFqlJZE,899
28
+ parrot/crew/tools/gtrends.py,sha256=PY6jBfO2IUWU2nhgo_hl_VVPbK9ProYBuApS9gJV9kM,576
29
+ parrot/crew/tools/google.py,sha256=UMBtEdTNGstzhO6UzcSePVbAx3U9JLiKU8SN_-JiWyE,6072
30
+ parrot/crew/tools/bing.py,sha256=4Qn8Az0y_1yrK33YFHnUM6hmP0lKcwu-QtCQ5mqQVjY,471
31
+ parrot/crew/tools/file.py,sha256=xm76j0VxsCvykmYGZqFCP9Ui_TZl6ddjrZfgKxSJXYY,790
32
+ parrot/crew/tools/__init__.py,sha256=n2nXEVl8VeWmdI_NyGbiVTAq_S51ebNExuyRM7u9SeI,569
33
+ parrot/crew/tools/url.py,sha256=m5v9XFQPotHRID7NmY-NQVmXtXEJvfly6tFMslL8U_0,682
34
+ parrot/crew/tools/config.py,sha256=gRYK08SKGYBYWA5HxzNWmh3VxbVkxzcmic9oFQk4FMY,1056
35
+ parrot/crew/tools/duckgo.py,sha256=nxs4trp1OzQOYMnV3rxKPxU409Y_NO-hFHY1Z10EGTw,1932
36
+ parrot/crew/tools/rag.py,sha256=sTp20-77Ui_3J-gItztVLb4Vinl2BVqTNSbTDikrj0g,1406
37
+ parrot/crew/tools/search.py,sha256=itWpJD_78IXVtBSKrQIAamCPLbejwmUj1oCBKqBxvO0,1055
38
+ parrot/loaders/qa.py,sha256=l8Nif3x85TJvNVQsY5XbHB_zrv-PeeytR0OXefAV4lk,2644
39
+ parrot/loaders/pdffn.py,sha256=gA-vJEWUiIUwbMxP8Nmvlzlcb39DVV69vGKtSzavUoI,4004
40
+ parrot/loaders/pdftables.py,sha256=XSanrv40IstQVe5_zOPcPrVH_v0scrdMShOYGgiedmc,4767
41
+ parrot/loaders/word.py,sha256=9rIb1cHWDVTSUqUpwxjwP6lkCEJlEUaH8G6Y86qZ7do,4531
42
+ parrot/loaders/pdf.py,sha256=wGwFnsUmeQqtqk3L2vYt2DkW09LUODUJN-xLjuAa-do,17826
43
+ parrot/loaders/audio.py,sha256=0yF5hOgCgjRFjOrYfYfS9kJ5j63J72QD0xHTiaer9Eo,3694
44
+ parrot/loaders/pdfmark.py,sha256=LG_Vh-Py7RnLkQfmt0_2kWc1J6GpxB6f_jzUE0fsZ98,2956
45
+ parrot/loaders/excel.py,sha256=Y1agxm-jG4AgsA2wlPP3p8uBH40wYW1KM2ycTTLKUm4,12441
46
+ parrot/loaders/rtd.py,sha256=oKOC9Qn3iwulYx5BEvXy4_kusKRsy5RLYNHS-e5p-1k,1988
47
+ parrot/loaders/vimeo.py,sha256=zOvOOIiaZr_bRswJFI7uIMKISgALOxcSim9ZRUFY1Fc,4114
48
+ parrot/loaders/basepdf.py,sha256=Qh_hzR0JArQEVP31SgWt9utt7qWmbfwVoCzUDyBHcXw,3243
49
+ parrot/loaders/image.py,sha256=A9KCXXoGuhDoyeJaascY7Q1ZK12Kf1ggE1drzJjS3AU,3946
50
+ parrot/loaders/videolocal.py,sha256=3EASzbettSO2tboTe3GndR4p6Nihwj6HGZoiPXekYo0,4302
51
+ parrot/loaders/abstract.py,sha256=_tsGDb7TracwkL20J2VYd5hC9MR262c2mmS9VvYB4vM,15870
52
+ parrot/loaders/csv.py,sha256=DLcFK3z9boMNH3y9Qca5BWDfYXgXjXsGkzxVN1_2wyo,1103
53
+ parrot/loaders/basevideo.py,sha256=WcX-q0Rn_E1dYurbA1eH5NOcUBdOye2iWiFTCY_DVgo,10292
54
+ parrot/loaders/youtube.py,sha256=yNilbmuQs_eeT6eNkvaqLqc6yYu9LvZx-3jMvvGlpZw,7743
55
+ parrot/loaders/json.py,sha256=6B43k591OpvoJLbsJa8CxJue_lAt713SCdldn8bFW3c,1481
56
+ parrot/loaders/__init__.py,sha256=LGEaj54DP3FA5-C2IDaA8u-MF4lj-Lbd_Mx5R19qHYY,665
57
+ parrot/loaders/github.py,sha256=CscyUIqoHTytqCbRUUTcV3QSxI8XoDntq5aTU0vdhzQ,2593
58
+ parrot/loaders/web_base.py,sha256=5SjQddT0Vhne8C9s30iU3Ex_9O1PJ8kyDmy8EdhGBo0,4380
59
+ parrot/loaders/repo.py,sha256=vBqBAnwU6p3_DCvI9DVhi1Bs8iCDYHwFGp0P9zvGRyw,3737
60
+ parrot/loaders/pdfimages.py,sha256=4Q_HKiAee_hALBsG2qF7PpMgKP1AivHXhmcsCkUa9eE,7899
61
+ parrot/loaders/video.py,sha256=pl5Ho69bp5vrWMqg5tLbsnHUus1LByTDoL6NPk57Ays,2929
62
+ parrot/loaders/ppt.py,sha256=6XailMQeQBFMzaSCvNJTHtfpzunTJRatytGT6o3v8-c,832
63
+ parrot/loaders/dir.py,sha256=_CU9kWGCpHnZplUamXLs2yEizA1aCRBASn3F6MggitQ,866
64
+ parrot/loaders/txt.py,sha256=AeGroWffFT--7TYlTSTr5Av5zAr8YIp1fxt8r5qdi-A,2802
65
+ parrot/loaders/pdfchapters.py,sha256=YhA8Cdx3qXBR0vuTVnQ12XgH1DXT_rp1Tawzh4V2U3o,5637
66
+ parrot/loaders/web.py,sha256=3x06JNpfTGFtvSBPAEBVoVdZkpVXePcJeMtj61B2xJk,8867
67
+ parrot/loaders/utils/models.py,sha256=BHcnFzS7oOKUGG-vPy_TlqeFNAC8puRgsIMX2mSgKxY,1059
68
+ parrot/loaders/utils/__init__.py,sha256=SkDyK3MuPGhp0NM6kHvaxQDe97Gcl3n9t5A741OVh1c,28
69
+ parrot/loaders/handlers/__init__.py,sha256=ksEDtUOEJELmyCIi0KNv7tR2fCUyADBVkwCcyqN_sVE,70
70
+ parrot/loaders/handlers/data.py,sha256=olZ2p-wyUMGoazah7tgHY7V9buGX1FOeJ-cv2vGEoH8,7386
71
+ parrot/stores/abstract.py,sha256=aqDhkVr5VwdKqg7StroIXf32-11MLyyMAlZuh5hJeCY,5138
72
+ parrot/stores/milvus.py,sha256=PZPXbr65Rt9LopTCTY53DWrQ11t6yBHYj_C09zf1s4A,20444
73
+ parrot/stores/qdrant.py,sha256=y-jG5sB6ICESyxdpyGBhQ-hgTDLxxPtM5xYZTWIRiAY,4720
74
+ parrot/stores/__init__.py,sha256=ZFjZvcLhcqJqndx9tiEANpyiude1fvjrCxyt2S42VqY,1496
75
+ parrot/tools/duck.py,sha256=UAAZzlF-Q0sZh0_IcS96dwSgCuBPdeepkwRrMM5cJPY,1920
76
+ parrot/tools/asknews.py,sha256=hEpPJMyNBVfj2maHbqnumn3VkY45oFvrjkE3Rq8EdGA,1039
77
+ parrot/tools/wikipedia.py,sha256=oadBTRAupu2dKThEORSHqqVs4u0G9lWOltbP6vSZgPE,1999
78
+ parrot/tools/google.py,sha256=NjijcUWH6Crk5Uty_x3FstjDTGZV8JXfBFDQEtMHhac,6236
79
+ parrot/tools/bing.py,sha256=BtmFD66OIuCaOue5U2_yIqtjWf24IhEgNOX1LAVvHtA,464
80
+ parrot/tools/abstract.py,sha256=pVSZw8MDpbVcQ-CHaGwP6CpqXHIs8hH8Oy1AqUuMmrw,1706
81
+ parrot/tools/__init__.py,sha256=XKZwogdGr6ObPfAGbzAdyDjFnXI286eapsi180VwdjE,614
82
+ parrot/tools/weather.py,sha256=4v9Ft5lkVzb9Pg7afNs7BK5T3WEcsZbHPlBrF9oXSo8,2541
83
+ parrot/tools/stack.py,sha256=M-VRWjIDa18bl5p88dSKtxMj4Kn21YB76to0u6yXA30,942
84
+ parrot/tools/zipcode.py,sha256=knScSvKgK7bHxyLcBkZFiMs65e-PlYU2_YhG6mohcjU,6440
85
+ parrot/interfaces/database.py,sha256=PHy133KTqa9K0tALOQt1q0ufwUZ4n7rndZrhob6Wbk4,609
86
+ parrot/interfaces/__init__.py,sha256=m3FpxsFeEKq_hvQR9YRGAhZS6u8LZZBuzf6-njugiHE,69
87
+ parrot/handlers/bots.py,sha256=GG2W8y_GC71f8_mMHxwAYP-ope7ecNP_GShL9c66_uY,5782
88
+ parrot/handlers/chat.py,sha256=3FjE8PhR4_SFny8ZxplWf25i0qKsCBKoOz8widR3pDY,5166
89
+ parrot/handlers/__init__.py,sha256=WKn2yg4pSi5-IivkQ34uHSfTG7f1nYj4jB8-4wNG2_A,64
90
+ parrot/chatbots/odoo.py,sha256=RMbANmJZP1_vLVGKRNBKmA8otyAiWPkvpA0rJ0U3tZk,796
91
+ parrot/chatbots/dataframe.py,sha256=CfZiLKIwnaku52nl2PNjciqRlH8m2lM4buO6xI7P408,3914
92
+ parrot/chatbots/hragents.py,sha256=PyNIBJ2OH5CtfVydccgpY50V6GI3cLKuVdOMaa7sQz0,574
93
+ parrot/chatbots/bose.py,sha256=z8rm8G_tAwHjDUodXfrAKnhaMzufQyf-GrhxwHeHle4,757
94
+ parrot/chatbots/basic.py,sha256=DIMTPoGc90BRSlokeOdnjlEXAAfZlIFqxXWaMyAX9uk,232
95
+ parrot/chatbots/abstract.py,sha256=CmDn3k4r9uKImOZRN4L9zxLbCdC-1MPUAorDlfZT-kA,26421
96
+ parrot/chatbots/cody.py,sha256=Z0LNiNtZjEe7bA3hwexclBZK5zEF9m2ODVmrzZjC3Bw,623
97
+ parrot/chatbots/__init__.py,sha256=ypskCnME0xUv6psBEGCEyXCrD0J0ULHSllpVmSxqb4A,200
98
+ parrot/chatbots/base.py,sha256=cRw7k5FRKOfLdXQJeQvACVE5ZgE1NUWf3IY7OsSsxuo,12912
99
+ parrot/chatbots/asktroc.py,sha256=gyWzyvpAnmXwXd-3DEKoIJtAxt6NnP5mUZdZbkFky8s,604
100
+ parrot/chatbots/copilot.py,sha256=JTnc-fdszwZ2nLmpNu-tVe6Al8z9PNIYHxv8fd42YQU,2051
101
+ parrot/chatbots/retrievals/__init__.py,sha256=Lx-bNLAbMYwi-eeh5ln_IvqvwKrnjB1tI9ieWKhQRXM,19589
102
+ parrot/chatbots/retrievals/constitutional.py,sha256=x7kFR0KpmkR0Wz6bXNOeU3Hesn_EXc6eOSd4TdXxb8o,600
103
+ settings/settings.py,sha256=9ueEvyLNurUX-AaIeRPV8GKX1c4YjDLbksUAeqEq6Ck,1854
104
+ settings/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
105
+ ai_parrot-0.3.4.dist-info/LICENSE,sha256=vRKOoa7onTsLNvSzJtGtMaNhWWh8B3YAT733Tlu6M4o,1070
106
+ ai_parrot-0.3.4.dist-info/METADATA,sha256=Ou-P0cMP9fbc_Vp93gQ7rgP9TZIPSVoHsAHB3b7ZxyY,10735
107
+ ai_parrot-0.3.4.dist-info/top_level.txt,sha256=qHoO4BhYDfeTkyKnciZSQtn5FSLN3Q-P5xCTkyvbuxg,26
108
+ ai_parrot-0.3.4.dist-info/RECORD,,
109
+ ai_parrot-0.3.4.dist-info/WHEEL,sha256=baMMpUvyD0gnRdCe6fvqCg8rft4FNTdLqZQ01WfKJmc,152
@@ -0,0 +1,6 @@
1
+ Wheel-Version: 1.0
2
+ Generator: bdist_wheel (0.44.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp310-cp310-manylinux_2_17_x86_64
5
+ Tag: cp310-cp310-manylinux2014_x86_64
6
+
@@ -0,0 +1,3 @@
1
+ parrot
2
+ resources
3
+ settings
parrot/__init__.py ADDED
@@ -0,0 +1,21 @@
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 .version import (
9
+ __author__,
10
+ __author_email__,
11
+ __description__,
12
+ __title__,
13
+ __version__
14
+ )
15
+
16
+ os.environ["USER_AGENT"] = "Parrot.AI/1.0"
17
+
18
+ def get_project_root() -> Path:
19
+ return Path(__file__).parent.parent
20
+
21
+ ABS_PATH = get_project_root()
@@ -0,0 +1,7 @@
1
+ from .abstract import AbstractChatbot
2
+ from .basic import Chatbot
3
+ from .asktroc import AskTROC
4
+ from .hragents import HRAgent
5
+ from .bose import BoseBot
6
+ from .odoo import OddieBot
7
+ from .cody import Cody