Skip to main content

Intelisys: Your Advanced AI Assistant Library

Welcome to Intelisys, a powerful and versatile AI assistant library that provides a unified interface for interacting with various AI models and providers. Intelisys is designed to make AI integration seamless and efficient for developers of all levels.

What's New in Version 0.5.6

  • Enhanced max_history_words functionality for improved conversation management
  • Optimized history trimming for efficient memory usage
  • Improved asynchronous support with better error handling
  • Added support for structured output with OpenAI provider using Pydantic models
  • Expanded reference capabilities, now supporting various document types (PDF, Word, Excel, PowerPoint)
  • Improved performance for long-running conversations

Key Features

  • Multi-provider support (OpenAI, Anthropic, OpenRouter, Groq)
  • Asynchronous operations for improved performance
  • Template-based chat for easy customization
  • Structured output support using Pydantic models (OpenAI only)
  • Image processing capabilities
  • Efficient conversation history management
  • Reference information support from various sources

Installation

Install Intelisys using pip:

pip install intelisys

Quick Start

Here's a simple example to get you started:

from intelisys import Intelisys

# Create an Intelisys instance
ai = Intelisys(provider="openai", model="gpt-4")

# Chat with the AI
response = ai.chat("What is the capital of France?")
print(response)

Advanced Usage

Template-Based Chat

Use templates for more structured interactions:

ai = Intelisys(provider="anthropic", model="claude-3-5-sonnet-20240620")
ai.set_default_template("Explain {{topic}} in simple terms.")
response = ai.template_chat(render_data={"topic": "quantum computing"})
print(response)

Asynchronous Operations

Perform asynchronous chats for improved efficiency:

import asyncio

async def async_chat():
    ai = Intelisys(provider="openai", model="gpt-4", use_async=True)
    response = await ai.chat_async("Discuss the future of AI")
    print(response)

asyncio.run(async_chat())

Structured Output

Get structured responses using Pydantic models (OpenAI only):

from pydantic import BaseModel

class MovieReview(BaseModel):
    title: str
    rating: float
    summary: str

ai = Intelisys(provider="openai", model="gpt-4")
ai.set_output_model(MovieReview)
result = ai.chat("Review the movie 'Inception'")
print(result)  # This will be a MovieReview instance

Reference Information

Provide context to your AI assistant:

ai = Intelisys(provider="openai", model="gpt-4")
ai.reference("https://example.com/article.html")
ai.reference("/path/to/local/document.pdf")
response = ai.chat("Summarize the referenced information")
print(response)

API Reference

For a complete API reference, please refer to our documentation.

Contributing

We welcome contributions to Intelisys! Please see our Contributing Guidelines for more details.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Changelog

For a detailed list of changes and version history, please refer to the CHANGELOG.md file.

Metadata

Release files for intelisys 0.5.6

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

Source distribution (sdist)

Source distribution for intelisys 0.5.6
File Size Uploaded Provenance Actions
intelisys-0.5.6.tar.gz 26.2 kB Without provenance Details for intelisys-0.5.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for intelisys 0.5.6
File Interpreter ABI Platform Actions
intelisys-0.5.6-py3-none-any.whl Python 3 none any Details for intelisys-0.5.6-py3-none-any.whl

Total release size: 51.6 kB

Release files / intelisys-0.5.6.tar.gz

Download URL intelisys-0.5.6.tar.gz
Size 26.2 kB
Tags Source
SHA-256 checksum
How to use checksums
1da6d727a49f6f07930217209efe95ffdac7bb9e0b0a930db31e0c8bad0a9c5a
BLAKE2b-256 checksum
How to use checksums
4387cfd26ac49dbd039b6f4eedc7a8e9b145a2951a9fd50731d16265fc4a073d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.0

Release files / intelisys-0.5.6-py3-none-any.whl

Download URL intelisys-0.5.6-py3-none-any.whl
Size 25.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9085c588dde0426eeb48f73cc927175ab0a631ba884e7f30f6f4b44f64d53775
BLAKE2b-256 checksum
How to use checksums
1ff81fa0e98fd374e7169eb81728960df8f0d513a7d08bb05c4ba64edc23abf9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.0

Security for intelisys 0.5.6

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.

Release history Release notifications | RSS feed

This release

0.5.6 This release

2 release files No provenance

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