Skip to main content

AI Claim Essence

PyPI version License: MIT Downloads LinkedIn

A Python package that extracts and summarizes the core idea from a user's input about AI's societal impact.

Installation

pip install ai_claim_essence

Usage

from ai_claim_essence import ai_claim_essence

response = ai_claim_essence("AI is revolutionary, but not egalitarian")
print(response)

Parameters

  • user_input (str): The user input text to process.
  • llm (Optional[BaseChatModel]): The LangChain LLM instance to use. If not provided, the default ChatLLM7 will be used.
  • api_key (Optional[str]): The API key for LLM7. If not provided, the environment variable LLM7_API_KEY will be used.

Using Different LLMs

By default, this package uses ChatLLM7 from langchain_llm7. You can safely pass your own LLM instance if you want to use another LLM.

Example with OpenAI

from langchain_openai import ChatOpenAI
from ai_claim_essence import ai_claim_essence

llm = ChatOpenAI()
response = ai_claim_essence("AI is revolutionary, but not egalitarian", llm=llm)
print(response)

Example with Anthropic

from langchain_anthropic import ChatAnthropic
from ai_claim_essence import ai_claim_essence

llm = ChatAnthropic()
response = ai_claim_essence("AI is revolutionary, but not egalitarian", llm=llm)
print(response)

Example with Google

from langchain_google_genai import ChatGoogleGenerativeAI
from ai_claim_essence import ai_claim_essence

llm = ChatGoogleGenerativeAI()
response = ai_claim_essence("AI is revolutionary, but not egalitarian", llm=llm)
print(response)

Rate Limits

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

from ai_claim_essence import ai_claim_essence

response = ai_claim_essence("AI is revolutionary, but not egalitarian", api_key="your_api_key")
print(response)

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

Issues

If you encounter any issues, please report them on the GitHub issues page.

Author

Eugene Evstafev

License

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

Metadata

Release files for ai-claim-essence 2025.12.20202921

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-claim-essence 2025.12.20202921
File Size Uploaded Provenance Actions
ai_claim_essence-2025.12.20202921.tar.gz 4.1 kB Without provenance Details for ai_claim_essence-2025.12.20202921.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ai-claim-essence 2025.12.20202921
File Interpreter ABI Platform Actions
ai_claim_essence-2025.12.20202921-py3-none-any.whl Python 3 none any Details for ai_claim_essence-2025.12.20202921-py3-none-any.whl

Total release size: 8.7 kB

Release files / ai_claim_essence-2025.12.20202921.tar.gz

Download URL ai_claim_essence-2025.12.20202921.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
53b4d62fa71b872845f86649635306c650567d4c8dacb11307aad45570ba6d27
BLAKE2b-256 checksum
How to use checksums
6bc8d83b0446866ee73b3fc51c855c36aa29ced5f40791d49ef0eefcb522dc02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.11

Release files / ai_claim_essence-2025.12.20202921-py3-none-any.whl

Download URL ai_claim_essence-2025.12.20202921-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2b13cf9898088d882fa675f80360d97262d75de8d1e4e068fba2797936cc5a6f
BLAKE2b-256 checksum
How to use checksums
8a1bf1acf7831c81364ea8d0415e3503313b542e532d7ef9f9953b4335f03b4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.11

Security for ai-claim-essence 2025.12.20202921

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
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