Skip to main content

AI Assistant Provider

Version : 0.0.7

Installation

pip install ai-assistant-provider

Usage

from ai_assistant_provider import AiProvider
class MyAiProvider(AiProvider):
    def __init__(self):
        super().__init__()
    # You must implement this method
    @property
    def name(self) -> str:
        return "Some AI Provider"
    
    def ask(self, prompt: str) -> str:
        self.add_message("user", prompt)
        response = f"Response to: {prompt}"
        self.add_message("assistant", response)
        self.answer = response
        return response
# Usage
provider = MyAiProvider()
response = provider.ask("Hello, how are you?")
print(f"Status: {provider.status}")
print(f"Response: {response}")

Metadata

Release files for ai-assistant-provider 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ai-assistant-provider 0.0.7
File Size Uploaded Provenance
ai_assistant_provider-0.0.7.tar.gz 3.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ai-assistant-provider 0.0.7
File Interpreter ABI Platform
ai_assistant_provider-0.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 8.0 kB

Release files / ai_assistant_provider-0.0.7.tar.gz

Download URL ai_assistant_provider-0.0.7.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2c46cc9f8aeac02827ed2bb94efabd36d2152d031d0189045fc374a04a16366f
BLAKE2b-256 checksum
How to use checksums
fd851b6e1fa8e2ef81f6c8ebfbe9d6de7fbd73580e4770f68aac6142823caac8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / ai_assistant_provider-0.0.7-py3-none-any.whl

Download URL ai_assistant_provider-0.0.7-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d512299f64a4cfd8eb7189a19939ebfd5710a679eaadddc250589194b096a8db
BLAKE2b-256 checksum
How to use checksums
ab734f6a0011044d8315ff7cbc7faee79ed8adb5935906b4551e44f0d7dc20c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Security for ai-assistant-provider 0.0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page