Chronicle AI
Extract and summarize key information from historical or factual queries.
Overview
Chronic AI is a Python package that helps users obtain well-structured information from complex or detailed queries. It takes a user's input text, such as a question about historical events or facts, and returns a structured summary. This summary includes the main points, context, and relevant details, ensuring the information is presented in a clear and organized manner.
Features
- Structured Summaries: Obtain clear and organized summaries of complex queries.
- Predefined Format: Ensure output adheres to a predefined format with the help of llmatch-messages.
- Easy to Use: Leverage the package to quickly obtain structured information from detailed queries.
Installation
pip install chronicle_ai
Usage
from chronicle_ai import chronicle_ai
response = chronicle_ai(user_input="What were the main causes of World War I?")
print(response)
Parameters
user_input: The user input text to process. (Type:str)llm: The langchain llm instance to use. If not provided, the default ChatLLM7 will be used. (Type:Optional[BaseChatModel])api_key: The api key for llm7. If not provided, the free tier api key will be used. (Type:Optional[str])
Defaults
- The package uses the ChatLLM7 from langchain_llm7 by default. Devs can safely pass their own llm instance (based on https://docs.langchain.com/) if they want to use another LLM.
Examples
from langchain_openai import ChatOpenAI
from chronicle_ai import chronicle_ai
llm = ChatOpenAI()
response = chronicle_ai(user_input="What were the main causes of World War I?", llm=llm)
from langchain_anthropic import ChatAnthropic
from chronicle_ai import chronicle_ai
llm = ChatAnthropic()
response = chronicle_ai(user_input="What were the main causes of World War I?", llm=llm)
from langchain_google_genai import ChatGoogleGenerativeAI
from chronicle_ai import chronicle_ai
llm = ChatGoogleGenerativeAI()
response = chronicle_ai(user_input="What were the main causes of World War I?", llm=llm)
Rate Limits
The default rate limits for LLM7 free tier are sufficient for most use cases of this package. If devs want higher rate limits for LLM7 they can pass their own api_key via environment variable LLM7_API_KEY or via passing it directly like chronicle_ai(user_input, api_key="their_api_key").
Getting a Free API Key
Dev can get a free api key by registering at https://token.llm7.io/.
Author
Eugene Evstafev ( GitHub: chigwell ) ( hi@eugegne.plus )
GitHub Issues
Metadata
Release files for chronicle-ai 2025.12.22081740
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| chronicle_ai-2025.12.22081740.tar.gz | 4.2 kB | Without provenance | Details for chronicle_ai-2025.12.22081740.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| chronicle_ai-2025.12.22081740-py3-none-any.whl | Python 3 | none | any | Details for chronicle_ai-2025.12.22081740-py3-none-any.whl |
Total release size: 9.0 kB
Release files / chronicle_ai-2025.12.22081740.tar.gz
| Download URL | chronicle_ai-2025.12.22081740.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
33c35e2439250b104f57c01c7c4b5d40416cdb19908b19d45e6fa5f84a960101
|
|
BLAKE2b-256 checksum How to use checksums |
1a812cc036a2beeb567f932d5e01906f46ec0cf3ed034bd0e9769ed161442f33
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|
Release files / chronicle_ai-2025.12.22081740-py3-none-any.whl
| Download URL | chronicle_ai-2025.12.22081740-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6b3b453277d3963194bc1007fae9549d81dd31268c1afde1948299b50fb8ceaf
|
|
BLAKE2b-256 checksum How to use checksums |
29c7bf2e3cf0d902e549fa096fb2d2971c00a47805b242edb0a68b3974779f3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|
Security for chronicle-ai 2025.12.22081740
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.