Skip to main content

AI Reliability Analyzer

PyPI version License: MIT Downloads LinkedIn

Overview

The ai_reliability_analyzer package is designed to analyze user queries about AI tool reliability and generate structured insights. It takes a text input, such as a question or comment about AI code editor performance issues, and uses a Language Model (LLM) to produce a categorized breakdown of potential reasons (e.g., latency, model limitations, integration challenges). The output is formatted for easy parsing, ensuring consistency and actionable feedback without delving into sensitive or restricted topics.

Features

  • Analyzes user queries about AI tool reliability.
  • Generates structured insights and categorizes potential reasons.
  • Supports custom LLM instances for flexibility.
  • Defaults to using ChatLLM7 from langchain_llm7 if no LLM instance is provided.
  • Ensures output consistency and actionable feedback.

Installation

You can install the package using pip:

pip install ai_reliability_analyzer

Usage

Basic Usage

from ai_reliability_analyzer import ai_reliability_analyzer

user_input = "Why is my AI code editor so slow?"
response = ai_reliability_analyzer(user_input)
print(response)

Using a Custom LLM Instance

You can use a custom LLM instance by passing it to the function. For example, to use ChatOpenAI from langchain_openai:

from langchain_openai import ChatOpenAI
from ai_reliability_analyzer import ai_reliability_analyzer

llm = ChatOpenAI()
user_input = "Why is my AI code editor so slow?"
response = ai_reliability_analyzer(user_input, llm=llm)
print(response)

Similarly, you can use other LLM instances like ChatAnthropic or ChatGoogleGenerativeAI:

from langchain_anthropic import ChatAnthropic
from ai_reliability_analyzer import ai_reliability_analyzer

llm = ChatAnthropic()
user_input = "Why is my AI code editor so slow?"
response = ai_reliability_analyzer(user_input, llm=llm)
print(response)
from langchain_google_genai import ChatGoogleGenerativeAI
from ai_reliability_analyzer import ai_reliability_analyzer

llm = ChatGoogleGenerativeAI()
user_input = "Why is my AI code editor so slow?"
response = ai_reliability_analyzer(user_input, llm=llm)
print(response)

Using a Custom API Key

If you want to use a custom API key for ChatLLM7, you can pass it directly or set it via the environment variable LLM7_API_KEY:

from ai_reliability_analyzer import ai_reliability_analyzer

user_input = "Why is my AI code editor so slow?"
api_key = "your_custom_api_key"
response = ai_reliability_analyzer(user_input, api_key=api_key)
print(response)

Or set the environment variable:

export LLM7_API_KEY="your_custom_api_key"

Then use the package without passing the API key:

from ai_reliability_analyzer import ai_reliability_analyzer

user_input = "Why is my AI code editor so slow?"
response = ai_reliability_analyzer(user_input)
print(response)

Rate Limits

The default rate limits for the LLM7 free tier are sufficient for most use cases of this package. If you need higher rate limits, you can pass your own API key via the environment variable LLM7_API_KEY or directly in the function call.

You can get a free API key by registering at LLM7 Token.

Contributing

Contributions are welcome! Please open an issue or submit a pull request on GitHub.

License

This project is licensed under the MIT License.

Author

Release files for ai-reliability-analyzer 2025.12.21171415

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-reliability-analyzer 2025.12.21171415
File Size Uploaded
ai_reliability_analyzer-2025.12.21171415.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ai-reliability-analyzer 2025.12.21171415
File Interpreter ABI Platform
ai_reliability_analyzer-2025.12.21171415-py3-none-any.whl Python 3 none any Details

Total release size: 9.8 kB

Release files / ai_reliability_analyzer-2025.12.21171415.tar.gz

Download URL ai_reliability_analyzer-2025.12.21171415.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ce080032773ee4c210888a554e59b59baa376caf343d9e98322a43fdf3471007
BLAKE2b-256 checksum
How to use checksums
caa4414b4a75db7c8fe9b3b1b2873f0ff09c688aae30586f738c41b77d86615c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.1

Release files / ai_reliability_analyzer-2025.12.21171415-py3-none-any.whl

Download URL ai_reliability_analyzer-2025.12.21171415-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8bac7b04107c9325cda67780245a5d90fd462919d4e73dd5b35225e6c441eaf0
BLAKE2b-256 checksum
How to use checksums
2a09f1acec3bb8dcda5816f6182a0165054b85601538044fef8e234be21a7313
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.1

Release history Release notifications | RSS feed

This release

2025.12.21171415 This release

2 release files

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