ai-parrot 0.2.4__tar.gz → 0.2.5__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.
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/PKG-INFO +1 -1
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/ai_parrot.egg-info/PKG-INFO +1 -1
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/stores/abstract.py +2 -1
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/stores/milvus.py +2 -2
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/version.py +1 -1
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/.flake8 +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/.github/dependabot.yml +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/.github/workflows/codeql-analysis.yml +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/.github/workflows/release.yml +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/.gitignore +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/.isort.cfg +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/.pylintrc +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/INSTALL +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/LICENSE +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/Makefile +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/README.md +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/SECURITY.md +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/ai_parrot.egg-info/SOURCES.txt +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/ai_parrot.egg-info/dependency_links.txt +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/ai_parrot.egg-info/requires.txt +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/ai_parrot.egg-info/top_level.txt +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/app.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/documents/ex-code-loaders.txt +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/etc/navigator-ssl.ini +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/etc/navigator.ini +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/etc/ssl/domain.ext +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/etc/ssl/navigator.local.crt +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/etc/ssl/navigator.local.csr +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/etc/ssl/navigator.local.key +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/etc/ssl/rootCA.crt +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/etc/ssl/rootCA.key +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/etc/ssl/rootCA.srl +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/examples/check_bot.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/examples/test_bot.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/examples/test_question.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/mypy.ini +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/__init__.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/chatbots/__init__.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/chatbots/abstract.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/chatbots/asktroc.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/chatbots/base.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/chatbots/basic.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/chatbots/bose.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/chatbots/cody.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/chatbots/copilot.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/chatbots/dataframe.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/chatbots/hragents.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/chatbots/odoo.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/chatbots/retrievals/__init__.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/chatbots/retrievals/constitutional.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/conf.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/crew/__init__.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/crew/tools/__init__.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/crew/tools/bing.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/crew/tools/config.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/crew/tools/duckgo.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/crew/tools/file.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/crew/tools/google.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/crew/tools/gtrends.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/crew/tools/md2pdf.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/crew/tools/rag.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/crew/tools/search.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/crew/tools/url.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/exceptions.c +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/exceptions.pyx +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/handlers/__init__.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/handlers/bots.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/handlers/chat.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/interfaces/__init__.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/interfaces/database.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/llms/__init__.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/llms/abstract.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/llms/anthropic.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/llms/google.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/llms/groq.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/llms/hf.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/llms/openai.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/llms/pipes.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/llms/vertex.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/loaders/__init__.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/loaders/abstract.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/loaders/audio.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/loaders/basepdf.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/loaders/basevideo.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/loaders/csv.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/loaders/dir.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/loaders/excel.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/loaders/github.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/loaders/handlers/__init__.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/loaders/handlers/data.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/loaders/image.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/loaders/json.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/loaders/pdf.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/loaders/pdfchapters.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/loaders/pdffn.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/loaders/pdfimages.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/loaders/pdfmark.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/loaders/pdftables.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/loaders/ppt.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/loaders/qa.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/loaders/repo.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/loaders/rtd.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/loaders/txt.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/loaders/utils/__init__.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/loaders/utils/models.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/loaders/video.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/loaders/videolocal.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/loaders/vimeo.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/loaders/web.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/loaders/web_base.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/loaders/word.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/loaders/youtube.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/manager.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/models.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/py.typed +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/stores/__init__.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/stores/qdrant.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/tools/__init__.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/tools/abstract.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/tools/asknews.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/tools/bing.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/tools/duck.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/tools/google.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/tools/stack.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/tools/weather.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/tools/wikipedia.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/tools/zipcode.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/utils/__init__.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/utils/parsers/__init__.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/utils/parsers/toml.c +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/utils/parsers/toml.pyx +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/utils/toml.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/utils/types.cpp +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/utils/types.pyx +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/parrot/utils/uv.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/pyproject.toml +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/pytest.ini +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/requirements/requirements-dev.txt +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/resources/__init__.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/resources/quick.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/resources/users/__init__.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/resources/users/handlers.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/resources/users/models.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/run.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/settings/__init__.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/settings/settings.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/setup.cfg +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/setup.py +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/templates/.compiled +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/templates/README.md +0 -0
- {ai_parrot-0.2.4 → ai_parrot-0.2.5}/tox.ini +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ai-parrot
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.5
|
|
4
4
|
Summary: Live Chatbots based on Langchain chatbots and Agents Integrated into Navigator Framework or used into aiohttp applications.
|
|
5
5
|
Home-page: https://github.com/phenobarbital/ai-parrot
|
|
6
6
|
Author: Jesus Lara
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ai-parrot
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.5
|
|
4
4
|
Summary: Live Chatbots based on Langchain chatbots and Agents Integrated into Navigator Framework or used into aiohttp applications.
|
|
5
5
|
Home-page: https://github.com/phenobarbital/ai-parrot
|
|
6
6
|
Author: Jesus Lara
|
|
@@ -47,6 +47,7 @@ class AbstractStore(ABC):
|
|
|
47
47
|
self.logger = logging.getLogger(f"Store.{__name__}")
|
|
48
48
|
# client
|
|
49
49
|
self._client = None
|
|
50
|
+
self._client_id = None
|
|
50
51
|
|
|
51
52
|
@property
|
|
52
53
|
def connected(self) -> bool:
|
|
@@ -61,7 +62,7 @@ class AbstractStore(ABC):
|
|
|
61
62
|
self._embed_ = self.create_embedding(
|
|
62
63
|
model_name=self.embedding_name
|
|
63
64
|
)
|
|
64
|
-
self._client, self.
|
|
65
|
+
self._client, self._client_id = self.connect()
|
|
65
66
|
return self
|
|
66
67
|
|
|
67
68
|
@abstractmethod
|
|
@@ -163,7 +163,7 @@ class MilvusStore(AbstractStore):
|
|
|
163
163
|
self._embed_ = None
|
|
164
164
|
del self.tensor
|
|
165
165
|
try:
|
|
166
|
-
self.close(alias=self.
|
|
166
|
+
self.close(alias=self._client_id)
|
|
167
167
|
torch.cuda.empty_cache()
|
|
168
168
|
except RuntimeError:
|
|
169
169
|
pass
|
|
@@ -175,7 +175,7 @@ class MilvusStore(AbstractStore):
|
|
|
175
175
|
else:
|
|
176
176
|
self._client_id = alias
|
|
177
177
|
# making the connection:
|
|
178
|
-
self._client, self.
|
|
178
|
+
self._client, self._client_id = self.connect(
|
|
179
179
|
alias=self._client_id
|
|
180
180
|
)
|
|
181
181
|
return self
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
__title__ = "ai-parrot"
|
|
4
4
|
__description__ = "Live Chatbots based on Langchain chatbots and Agents \
|
|
5
5
|
Integrated into Navigator Framework or used into aiohttp applications."
|
|
6
|
-
__version__ = "0.2.
|
|
6
|
+
__version__ = "0.2.5"
|
|
7
7
|
__author__ = "Jesus Lara"
|
|
8
8
|
__author_email__ = "jesuslarag@gmail.com"
|
|
9
9
|
__license__ = "MIT"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|