ai-parrot 0.5.13__tar.gz → 0.5.15__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.5.13 → ai_parrot-0.5.15}/PKG-INFO +1 -1
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/abstract.py +30 -27
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/version.py +1 -1
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/.flake8 +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/.github/dependabot.yml +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/.github/workflows/codeql-analysis.yml +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/.github/workflows/release.yml +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/.gitignore +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/.isort.cfg +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/.pylintrc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/INSTALL +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/LICENSE +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/MANIFEST.in +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/Makefile +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/README.md +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/SECURITY.md +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/ai_parrot.egg-info/SOURCES.txt +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/app.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/mypy.ini +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/__init__.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/__pycache__/__init__.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/__pycache__/conf.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/__pycache__/manager.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/__pycache__/models.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/__pycache__/version.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/__init__.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/__pycache__/__init__.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/__pycache__/a.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/__pycache__/abstract.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/__pycache__/agent.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/__pycache__/askbrett.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/__pycache__/asktroc.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/__pycache__/base.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/__pycache__/basic.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/__pycache__/bose.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/__pycache__/chatbot.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/__pycache__/cody.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/__pycache__/copilot.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/__pycache__/dataframe.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/__pycache__/hragents.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/__pycache__/hrbot.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/__pycache__/oddie.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/__pycache__/odoo.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/__pycache__/troc.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/agent.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/basic.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/bose.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/chatbot.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/cody.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/copilot.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/dataframe.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/hrbot.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/interfaces/__init__.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/interfaces/__pycache__/__init__.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/interfaces/__pycache__/retrievers.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/interfaces/retrievers.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/odoo.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/prompts/__init__.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/prompts/__pycache__/__init__.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/prompts/__pycache__/agents.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/prompts/agents.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/retrievals/__init__.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/retrievals/__pycache__/__init__.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/retrievals/__pycache__/multi.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/retrievals/constitutional.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/retrievals/multi.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/retrievals/retrieval.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/troc.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/conf.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/crew/__init__.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/crew/__pycache__/__init__.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/crew/tools/__init__.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/crew/tools/__pycache__/__init__.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/crew/tools/__pycache__/bing.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/crew/tools/__pycache__/config.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/crew/tools/__pycache__/duckgo.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/crew/tools/__pycache__/file.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/crew/tools/__pycache__/google.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/crew/tools/__pycache__/md2pdf.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/crew/tools/__pycache__/rag.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/crew/tools/__pycache__/url.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/crew/tools/__pycache__/weather.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/crew/tools/bing.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/crew/tools/config.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/crew/tools/duckgo.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/crew/tools/file.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/crew/tools/google.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/crew/tools/gtrends.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/crew/tools/md2pdf.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/crew/tools/rag.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/crew/tools/search.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/crew/tools/url.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/exceptions.c +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/exceptions.cpython-311-x86_64-linux-gnu.so +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/exceptions.pxd +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/exceptions.pyx +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/handlers/__init__.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/handlers/__pycache__/__init__.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/handlers/__pycache__/bots.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/handlers/__pycache__/chat.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/handlers/bots.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/handlers/chat.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/interfaces/__init__.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/interfaces/__pycache__/__init__.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/interfaces/__pycache__/database.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/interfaces/__pycache__/http.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/interfaces/database.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/interfaces/http.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/llms/__init__.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/llms/__pycache__/__init__.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/llms/__pycache__/abstract.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/llms/__pycache__/anthropic.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/llms/__pycache__/google.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/llms/__pycache__/groq.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/llms/__pycache__/hf.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/llms/__pycache__/openai.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/llms/__pycache__/pipes.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/llms/__pycache__/vertex.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/llms/abstract.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/llms/anthropic.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/llms/google.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/llms/groq.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/llms/hf.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/llms/openai.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/llms/pipes.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/llms/vertex.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/manager.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/models.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/py.typed +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/__init__.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/__pycache__/__init__.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/__pycache__/abstract.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/__pycache__/base.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/__pycache__/chroma.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/__pycache__/duck.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/__pycache__/empty.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/__pycache__/faiss.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/__pycache__/milvus.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/__pycache__/postgres.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/__pycache__/qdrant.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/abstract.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/chroma.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/duck.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/embeddings/__init__.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/embeddings/__pycache__/__init__.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/embeddings/__pycache__/abstract.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/embeddings/__pycache__/base.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/embeddings/__pycache__/huggingface.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/embeddings/__pycache__/transformers.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/embeddings/abstract.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/embeddings/base.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/embeddings/bge.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/embeddings/fastembed.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/embeddings/google.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/embeddings/huggingface.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/embeddings/ollama.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/embeddings/openai.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/embeddings/transformers.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/embeddings/vertexai.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/empty.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/faiss.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/milvus.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/postgres.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/qdrant.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/tools/__init__.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/tools/__pycache__/__init__.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/tools/__pycache__/abstract.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/tools/__pycache__/asknews.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/tools/__pycache__/basic.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/tools/__pycache__/bby.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/tools/__pycache__/bing.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/tools/__pycache__/duck.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/tools/__pycache__/execute.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/tools/__pycache__/google.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/tools/__pycache__/stack.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/tools/__pycache__/weather.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/tools/__pycache__/wikipedia.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/tools/__pycache__/zipcode.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/tools/abstract.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/tools/asknews.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/tools/basic.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/tools/bby.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/tools/bing.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/tools/duck.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/tools/execute.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/tools/google.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/tools/stack.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/tools/weather.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/tools/wikipedia.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/tools/zipcode.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/utils/__init__.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/utils/__pycache__/__init__.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/utils/__pycache__/toml.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/utils/parsers/__init__.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/utils/parsers/__pycache__/__init__.cpython-311.pyc +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/utils/parsers/toml.c +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/utils/parsers/toml.cpython-311-x86_64-linux-gnu.so +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/utils/parsers/toml.pyx +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/utils/toml.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/utils/types.cpp +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/utils/types.cpython-311-x86_64-linux-gnu.so +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/utils/types.pyx +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/utils/uv.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/pyproject.toml +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/pytest.ini +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/requirements/requirements-dev.txt +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/run.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/setup.cfg +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/setup.py +0 -0
- {ai_parrot-0.5.13 → ai_parrot-0.5.15}/tox.ini +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: ai-parrot
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.15
|
|
4
4
|
Summary: Live Chatbots based on Langchain chatbots and Agents Integrated into Navigator Framework or used into any aiohttp applications.
|
|
5
5
|
Home-page: https://github.com/phenobarbital/ai-parrot
|
|
6
6
|
Author: Jesus Lara
|
|
@@ -540,11 +540,12 @@ class AbstractBot(DBInterface, ABC):
|
|
|
540
540
|
f"Error clearing chat history: {e}"
|
|
541
541
|
)
|
|
542
542
|
|
|
543
|
-
def get_response(self, response: dict):
|
|
543
|
+
def get_response(self, response: dict, query: str = None):
|
|
544
544
|
if 'error' in response:
|
|
545
545
|
return response # return this error directly
|
|
546
546
|
try:
|
|
547
547
|
response = ChatResponse(**response)
|
|
548
|
+
response.query = query
|
|
548
549
|
response.response = self.as_markdown(
|
|
549
550
|
response,
|
|
550
551
|
return_sources=self.return_sources
|
|
@@ -697,15 +698,15 @@ class AbstractBot(DBInterface, ABC):
|
|
|
697
698
|
)
|
|
698
699
|
# re-configure LLM:
|
|
699
700
|
new_llm = kwargs.pop('llm', None)
|
|
700
|
-
llm_config = kwargs.pop(
|
|
701
|
-
'llm_config',
|
|
702
|
-
{
|
|
703
|
-
"temperature": 0.2,
|
|
704
|
-
"top_k": 30,
|
|
705
|
-
"Top_p": 0.6
|
|
706
|
-
}
|
|
707
|
-
)
|
|
708
701
|
if new_llm:
|
|
702
|
+
llm_config = kwargs.pop(
|
|
703
|
+
'llm_config',
|
|
704
|
+
{
|
|
705
|
+
"temperature": 0.2,
|
|
706
|
+
"top_k": 30,
|
|
707
|
+
"Top_p": 0.6
|
|
708
|
+
}
|
|
709
|
+
)
|
|
709
710
|
self.configure_llm(llm=new_llm, config=llm_config)
|
|
710
711
|
# Combine into a ChatPromptTemplate
|
|
711
712
|
prompt = PromptTemplate(
|
|
@@ -765,11 +766,11 @@ class AbstractBot(DBInterface, ABC):
|
|
|
765
766
|
"query": question,
|
|
766
767
|
"error": str(e)
|
|
767
768
|
}
|
|
768
|
-
return self.get_response(response)
|
|
769
|
+
return self.get_response(response, question)
|
|
769
770
|
|
|
770
771
|
def as_markdown(self, response: ChatResponse, return_sources: bool = False) -> str:
|
|
771
772
|
markdown_output = f"**Question**: {response.question} \n"
|
|
772
|
-
markdown_output += f"**Answer**: {response.answer} \n"
|
|
773
|
+
markdown_output += f"**Answer**: \n {response.answer} \n"
|
|
773
774
|
if return_sources is True and response.source_documents:
|
|
774
775
|
source_documents = response.source_documents
|
|
775
776
|
current_sources = []
|
|
@@ -968,23 +969,25 @@ class AbstractBot(DBInterface, ABC):
|
|
|
968
969
|
)
|
|
969
970
|
async with self.store as store: #pylint: disable=E1101
|
|
970
971
|
print('STORES > ', self.stores, store)
|
|
972
|
+
# Check if we have multiple stores:
|
|
971
973
|
if self._use_vector:
|
|
972
974
|
if len(self.stores) > 1:
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
975
|
+
store = self.stores[0]
|
|
976
|
+
# retriever = MultiVectorStoreRetriever(
|
|
977
|
+
# stores=self.stores,
|
|
978
|
+
# metric_type=metric_type,
|
|
979
|
+
# search_type=search_type,
|
|
980
|
+
# chain_type=chain_type,
|
|
981
|
+
# search_kwargs=search_kwargs
|
|
982
|
+
# )
|
|
983
|
+
# else:
|
|
984
|
+
vector = store.get_vector(metric_type=metric_type)
|
|
985
|
+
retriever = VectorStoreRetriever(
|
|
986
|
+
vectorstore=vector,
|
|
987
|
+
search_type=search_type,
|
|
988
|
+
chain_type=chain_type,
|
|
989
|
+
search_kwargs=search_kwargs
|
|
990
|
+
)
|
|
988
991
|
else:
|
|
989
992
|
retriever = EmptyRetriever()
|
|
990
993
|
if self.kb:
|
|
@@ -1011,7 +1014,7 @@ class AbstractBot(DBInterface, ABC):
|
|
|
1011
1014
|
response = await chain.ainvoke(
|
|
1012
1015
|
{"question": question}
|
|
1013
1016
|
)
|
|
1014
|
-
return self.get_response(response)
|
|
1017
|
+
return self.get_response(response, question)
|
|
1015
1018
|
except asyncio.CancelledError:
|
|
1016
1019
|
# Handle task cancellation
|
|
1017
1020
|
print("Conversation task was cancelled.")
|
|
@@ -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 any aiohttp applications."
|
|
6
|
-
__version__ = "0.5.
|
|
6
|
+
__version__ = "0.5.15"
|
|
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
|
{ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/interfaces/__pycache__/__init__.cpython-311.pyc
RENAMED
|
File without changes
|
{ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/interfaces/__pycache__/retrievers.cpython-311.pyc
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/prompts/__pycache__/__init__.cpython-311.pyc
RENAMED
|
File without changes
|
{ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/prompts/__pycache__/agents.cpython-311.pyc
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/retrievals/__pycache__/__init__.cpython-311.pyc
RENAMED
|
File without changes
|
{ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/bots/retrievals/__pycache__/multi.cpython-311.pyc
RENAMED
|
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
|
{ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/crew/tools/__pycache__/__init__.cpython-311.pyc
RENAMED
|
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
|
{ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/interfaces/__pycache__/__init__.cpython-311.pyc
RENAMED
|
File without changes
|
{ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/interfaces/__pycache__/database.cpython-311.pyc
RENAMED
|
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
|
{ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/embeddings/__pycache__/__init__.cpython-311.pyc
RENAMED
|
File without changes
|
{ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/embeddings/__pycache__/abstract.cpython-311.pyc
RENAMED
|
File without changes
|
{ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/stores/embeddings/__pycache__/base.cpython-311.pyc
RENAMED
|
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
|
{ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/utils/parsers/__pycache__/__init__.cpython-311.pyc
RENAMED
|
File without changes
|
|
File without changes
|
{ai_parrot-0.5.13 → ai_parrot-0.5.15}/parrot/utils/parsers/toml.cpython-311-x86_64-linux-gnu.so
RENAMED
|
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
|