Skip to main content

The system takes a brief textual description, prompt, or statement from the user and analyzes it to determine if it correctly expresses a prophetic or visionary statement in the perfect tense. Using p

Project description

ProphecyPerfect

PyPI version License: MIT Downloads LinkedIn

A Python package for analyzing and verifying if textual statements correctly express prophetic or visionary statements in the perfect tense.

Installation

pip install prophecyperfect

Overview

The prophecyperfect package takes a brief textual description, prompt, or statement from the user and analyzes it to determine if it correctly expresses a prophetic or visionary statement in the perfect tense. Using pattern matching and structured responses, it classifies the input as prophetic, reaffirming its status, or identifies inaccuracies or non-prophetic phrasing.

Usage

Basic Usage

from prophecyperfect import prophecyperfect

# Analyze a prophetic statement
user_input = "Thus saith the Lord: I will surely bless you, and I will multiply you exceedingly."
response = prophecyperfect(user_input)
print(response)

Using Custom LLM

You can also use your own LLM instance from LangChain. Here are examples with different providers:

OpenAI

from langchain_openai import ChatOpenAI
from prophecyperfect import prophecyperfect

llm = ChatOpenAI()
response = prophecyperfect(user_input, llm=llm)

Anthropic

from langchain_anthropic import ChatAnthropic
from prophecyperfect import prophecyperfect

llm = ChatAnthropic()
response = prophecyperfect(user_input, llm=llm)

Google

from langchain_google_genai import ChatGoogleGenerativeAI
from prophecyperfect import prophecyperfect

llm = ChatGoogleGenerativeAI()
response = prophecyperfect(user_input, llm=llm)

API Key Configuration

The default rate limits for LLM7 free tier are sufficient for most use cases. If you need higher rate limits, you can:

  1. Set the API key as an environment variable:
export LLM7_API_KEY="your_api_key_here"
  1. Or pass it directly to the function:
response = prophecyperfect(user_input, api_key="your_api_key_here")

You can obtain a free API key by registering at https://token.llm7.io/

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, it will use the environment variable LLM7_API_KEY or the default free tier.

Author

Issues

For any issues or to contribute, please visit the GitHub repository: https://github.com/chigwell/prophecyperfect

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

prophecyperfect-2025.12.21163318.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

prophecyperfect-2025.12.21163318-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file prophecyperfect-2025.12.21163318.tar.gz.

File metadata

File hashes

Hashes for prophecyperfect-2025.12.21163318.tar.gz
Algorithm Hash digest
SHA256 11edd2e5fd86b5db17cafa253137794dd4b11fdfd97a8a2525611f98d6528ade
MD5 6c284ff3074a5f9c09ce4f138067a3a3
BLAKE2b-256 2eebc8f1dece32ad22a49e2d9f8f4d1932fbac8a56af401cd3f6dd2df938ff18

See more details on using hashes here.

File details

Details for the file prophecyperfect-2025.12.21163318-py3-none-any.whl.

File metadata

File hashes

Hashes for prophecyperfect-2025.12.21163318-py3-none-any.whl
Algorithm Hash digest
SHA256 7b4425181c9c906822ff3aea50526770775084f0b4816550ab2608ab0421c0a7
MD5 a78efdf9eac8aa28801ddda326f16cab
BLAKE2b-256 06ab1358e55c909825581ff219dde4453fa65f0a1ae955f9f0994f24a273e07e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page