Skip to main content

Product Advisor and selection matching components for AI-Parrot

Project description

AI-Parrot Advisors

Async-first Product Advisor and selection matching components for AI-Parrot.

Features

  • ProductCatalog: Hybrid search (semantic + structured) for product matching.
  • ProductAdvisorMixin: Easily add recommendation capabilities to any Agent.
  • QuestionGenerator: Automatically generate discriminant questions to narrow down selections.
  • SelectionStateManager: Managed selection state with Redis persistence and Undo/Redo support.

Installation

pip install ai-parrot-advisors

Usage

Inherit from ProductAdvisorMixin to give your agent advisor powers:

from parrot.advisors import ProductAdvisorMixin
from parrot.bots import Agent

class ShoppingAgent(ProductAdvisorMixin, Agent):
    async def configure(self):
        await super().configure()
        await self.configure_advisor()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ai_parrot_advisors-0.1.24.tar.gz (66.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai_parrot_advisors-0.1.24-py3-none-any.whl (77.8 kB view details)

Uploaded Python 3

File details

Details for the file ai_parrot_advisors-0.1.24.tar.gz.

File metadata

  • Download URL: ai_parrot_advisors-0.1.24.tar.gz
  • Upload date:
  • Size: 66.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for ai_parrot_advisors-0.1.24.tar.gz
Algorithm Hash digest
SHA256 76ded131d9eeb7705679a0325c6130089573a8a7d2eb534b06cb7f006659ae67
MD5 c6265b16061c0cb29cddccdfaa650dd4
BLAKE2b-256 a9058962430a46afa8ec4e289e802d7cf1ffaf046287db1e463f7c2cb038a9aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_parrot_advisors-0.1.24.tar.gz:

Publisher: release.yml on phenobarbital/ai-parrot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ai_parrot_advisors-0.1.24-py3-none-any.whl.

File metadata

File hashes

Hashes for ai_parrot_advisors-0.1.24-py3-none-any.whl
Algorithm Hash digest
SHA256 c5719222592675bb4ddd7c33f0c983fe497b6b0a12bf9c2f431bb0ceb2e77ad4
MD5 a24e416ca0c209ae892613698b4df4fc
BLAKE2b-256 697b2253fde26e05a9ef70e456317910bf89c7ad10a7e29676a4473c182cda0b

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_parrot_advisors-0.1.24-py3-none-any.whl:

Publisher: release.yml on phenobarbital/ai-parrot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page