Skip to main content

A new package that analyzes user-provided text descriptions of bird behaviors and returns structured insights about potential bird consciousness indicators, such as problem-solving, social interaction

Project description

Avian Insight

PyPI version License: MIT Downloads LinkedIn

A package that extracts insights on bird behavior from text descriptions using pattern-matched LLM responses.

Installation

pip install avianinsight

Usage

from avianinsight import avianinsight

response = avianinsight(user_input, api_key="your_api_key", llm=your_llm_instance)

Parameters

  • user_input: str - the user input text to process
  • llm: Optional[BaseChatModel] - the langchain llm instance to use, defaults to ChatLLM7
  • api_key: Optional[str] - the api key for llm7, defaults to LLM7_API_KEY environment variable or "None"

Using alternative LLM instances

You can pass your own llm instance (based on https://docs.langchain.com/) by passing it like avianinsight(user_input, llm=their_llm_instance), for example:

from langchain_openai import ChatOpenAI from avianinsight import avianinsight
llm = ChatOpenAI()
response = avianinsight(user_input, llm=llm)
from langchain_anthropic import ChatAnthropic from avianinsight import avianinsight
llm = ChatAnthropic()
response = avianinsight(user_input, llm=llm)
from langchain_google_genai import ChatGoogleGenerativeAI from avianinsight import avianinsight
llm = ChatGoogleGenerativeAI()
response = avianinsight(user_input, llm=llm)

API Key Limitations

The default rate limits for LLM7 free tier are sufficient for most use cases of this package. If you need higher rate limits for LLM7, you can pass your own api_key via environment variable LLM7_API_KEY or via passing it directly like avianinsight(user_input, api_key="your_api_key".

Contributing

If you encounter any issues or have suggestions for improvement, please report them on the GitHub issues page: https://github.com/chigwell/avianinsight

Author

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

avianinsight-2025.12.21175643.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

avianinsight-2025.12.21175643-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file avianinsight-2025.12.21175643.tar.gz.

File metadata

  • Download URL: avianinsight-2025.12.21175643.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for avianinsight-2025.12.21175643.tar.gz
Algorithm Hash digest
SHA256 0df866958951cac0a0cdaafc6fac39a3922ac53de99e37e651b5fe3c2c231b13
MD5 356faff23ec58961f20132829953e1aa
BLAKE2b-256 7654d57d3895470bb0300954f4eed432b15e677301ab2c8f628d75e5da95e758

See more details on using hashes here.

File details

Details for the file avianinsight-2025.12.21175643-py3-none-any.whl.

File metadata

File hashes

Hashes for avianinsight-2025.12.21175643-py3-none-any.whl
Algorithm Hash digest
SHA256 221c8cc102500c30c789fb88c018c4cfee7c2359cad7622e689ea3e8c1d46813
MD5 77067a8d694a3cce15c598c046c8e17f
BLAKE2b-256 768ea6fec050691a2cecbf0516625ed9ae0c9b38e854a4a232f844f8a1bac3c0

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