https://github.com/chigwell/supportinsightcheck
A new package that analyzes user-submitted text descriptions of customer service or technical support interactions to identify potential red flags that could lead to public complaints or negative expo
https://github.com/chigwell/supportinsightcheck
actionable-feedback complaint-prevention consumer-advocacy customer-service lack-of-accountability negative-exposure public-complaints red-flag-detection reputational-risk structured-assessment support-quality-improvement technical-support text-analysis unethical-practices unprofessional-behavior
Last synced: 6 months ago
JSON representation
A new package that analyzes user-submitted text descriptions of customer service or technical support interactions to identify potential red flags that could lead to public complaints or negative expo
- Host: GitHub
- URL: https://github.com/chigwell/supportinsightcheck
- Owner: chigwell
- Created: 2025-12-21T11:08:25.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-12-21T11:08:39.000Z (6 months ago)
- Last Synced: 2025-12-23T02:58:34.016Z (6 months ago)
- Topics: actionable-feedback, complaint-prevention, consumer-advocacy, customer-service, lack-of-accountability, negative-exposure, public-complaints, red-flag-detection, reputational-risk, structured-assessment, support-quality-improvement, technical-support, text-analysis, unethical-practices, unprofessional-behavior
- Language: Python
- Homepage: https://pypi.org/project/supportinsightcheck/
- Size: 3.91 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Support: supportinsightcheck/__init__.py
Awesome Lists containing this project
README
# SupportInsightCheck
[](https://badge.fury.io/py/supportinsightcheck)
[](https://opensource.org/licenses/MIT)
[](https://pepy.tech/project/supportinsightcheck)
[](https://www.linkedin.com/in/eugene-evstafev-716669181/)
A Python package that analyzes customer service or technical support interaction descriptions to identify potential red flags that could lead to public complaints or negative exposure. The system evaluates text for issues like poor communication, unprofessional behavior, lack of accountability, or unethical practices, and returns a structured assessment with actionable feedback.
## Installation
```bash
pip install supportinsightcheck
```
## Usage
### Basic Usage
```python
from supportinsightcheck import supportinsightcheck
user_input = "The support agent was rude and refused to help me with my issue..."
results = supportinsightcheck(user_input)
print(results)
```
### Using Custom LLM
You can use any LangChain-compatible LLM by passing it to the function:
```python
from langchain_openai import ChatOpenAI
from supportinsightcheck import supportinsightcheck
llm = ChatOpenAI()
user_input = "The technician didn't show up for the scheduled appointment..."
response = supportinsightcheck(user_input, llm=llm)
```
```python
from langchain_anthropic import ChatAnthropic
from supportinsightcheck import supportinsightcheck
llm = ChatAnthropic()
user_input = "They charged me for services I didn't request..."
response = supportinsightcheck(user_input, llm=llm)
```
```python
from langchain_google_genai import ChatGoogleGenerativeAI
from supportinsightcheck import supportinsightcheck
llm = ChatGoogleGenerativeAI()
user_input = "The support representative gave me incorrect information..."
response = supportinsightcheck(user_input, llm=llm)
```
### Using Custom API Key
```python
from supportinsightcheck import supportinsightcheck
user_input = "They refused to honor their warranty policy..."
response = supportinsightcheck(user_input, api_key="your_llm7_api_key_here")
```
## Parameters
- `user_input` (str): The text description of the support interaction to analyze
- `llm` (Optional[BaseChatModel]): LangChain LLM instance (defaults to ChatLLM7)
- `api_key` (Optional[str]): API key for LLM7 service (if using default LLM)
## Default LLM Configuration
The package uses `ChatLLM7` from [langchain-llm7](https://pypi.org/project/langchain-llm7/) by default. The free tier rate limits are sufficient for most use cases. For higher rate limits, you can:
1. Set the `LLM7_API_KEY` environment variable
2. Pass your API key directly to the function
3. Get a free API key at [https://token.llm7.io/](https://token.llm7.io/)
## Error Handling
The function will raise a `RuntimeError` if the LLM call fails or if the response doesn't match the expected format.
## Contributing
Found an issue or have a suggestion? Please open an issue on [GitHub](https://github.com/chigwell/supportinsightcheck/issues).
## Author
**Eugene Evstafev**
Email: hi@euegne.plus
GitHub: [chigwell](https://github.com/chigwell)
## License
This project is licensed under the MIT License - see the LICENSE file for details.