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
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 processllm: Optional[BaseChatModel] - the langchain llm instance to use, defaults to ChatLLM7api_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
- Eugene Evstafev - hi@euegne.plus
- GitHub: chigwell
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0df866958951cac0a0cdaafc6fac39a3922ac53de99e37e651b5fe3c2c231b13
|
|
| MD5 |
356faff23ec58961f20132829953e1aa
|
|
| BLAKE2b-256 |
7654d57d3895470bb0300954f4eed432b15e677301ab2c8f628d75e5da95e758
|
File details
Details for the file avianinsight-2025.12.21175643-py3-none-any.whl.
File metadata
- Download URL: avianinsight-2025.12.21175643-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
221c8cc102500c30c789fb88c018c4cfee7c2359cad7622e689ea3e8c1d46813
|
|
| MD5 |
77067a8d694a3cce15c598c046c8e17f
|
|
| BLAKE2b-256 |
768ea6fec050691a2cecbf0516625ed9ae0c9b38e854a4a232f844f8a1bac3c0
|