Skip to main content

A new package is designed to analyze user-submitted discussions or problem descriptions about improving business interfaces, such as Chase Travel's UI. It processes the input text and outputs a struct

Project description

ui-feedback-parser

PyPI version License: MIT Downloads LinkedIn

A Python package designed to analyze user-submitted discussions or problem descriptions about improving business interfaces. This tool processes input text and outputs structured summaries highlighting key issues, suggested improvements, or actionable insights, helping teams quickly understand and address user feedback.

Installation

pip install ui_feedback_parser

Usage

The main function ui_feedback_parser takes user input text and returns a list of extracted insights:

from ui_feedback_parser import ui_feedback_parser

# Basic usage with default LLM7
user_input = "The Chase Travel app's booking process is confusing. I couldn't find the filter options for flights."
result = ui_feedback_parser(user_input)
print(result)
# Output: ["Booking process is confusing", "Missing filter options for flights"]

Parameters

  • user_input (str): The user input text to process
  • llm (Optional[BaseChatModel]): A Langchain LLM instance to use. If not provided, defaults to ChatLLM7
  • api_key (Optional[str]): API key for LLM7. If not provided, uses the LLM7_API_KEY environment variable or defaults to free tier

Using Different LLM Providers

You can use other LLM providers by passing a Langchain Chat model instance:

# Using OpenAI
from langchain_openai import ChatOpenAI
from ui_feedback_parser import ui_feedback_parser

llm = ChatOpenAI()
result = ui_feedback_parser("The app's search function is too slow", llm=llm)

# Using Anthropic
from langchain_anthropic import ChatAnthropic
llm = ChatAnthropic()
result = ui_feedback_parser("The checkout process has too many steps", llm=llm)

# Using Google
from langchain_google_genai import ChatGoogleGenerativeAI
llm = ChatGoogleGenerativeAI()
result = ui_feedback_parser("The dashboard doesn't show my recent trips", llm=llm)

API Key Configuration

The default rate limits for LLM7's free tier are sufficient for most use cases. For higher rate limits:

  1. Set the environment variable:
export LLM7_API_KEY="your_api_key_here"
  1. Or pass the key directly:
result = ui_feedback_parser(user_input, api_key="your_api_key_here")

Get a free API key at https://token.llm7.io/

Contributing

Report issues or suggest improvements on our GitHub issues page.

Author

Eugene Evstafev
Email: hi@eugene.plus
GitHub: chigwell

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

ui_feedback_parser-2025.12.21172537.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.

ui_feedback_parser-2025.12.21172537-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file ui_feedback_parser-2025.12.21172537.tar.gz.

File metadata

File hashes

Hashes for ui_feedback_parser-2025.12.21172537.tar.gz
Algorithm Hash digest
SHA256 6c06f6d37ce415b3d50aa1d9a5ab45c6014f1b88e8b9a9e84aca8cdd03db4dbe
MD5 71c88c4da883fa12dcb419306ff15a58
BLAKE2b-256 b34e00e52e775801b975ff3226a923d7451cbdde684b3788863635b4609281bb

See more details on using hashes here.

File details

Details for the file ui_feedback_parser-2025.12.21172537-py3-none-any.whl.

File metadata

File hashes

Hashes for ui_feedback_parser-2025.12.21172537-py3-none-any.whl
Algorithm Hash digest
SHA256 8622b6b9efbc71a2603e69f2c020abb22b76a3a97cc27711f1b38fbc84dfa9af
MD5 ffc8cef58c12e64cd75224e14b221817
BLAKE2b-256 34879f3d270ca1e6d0a6068548ab91d81f90c62b8634572e6bcdc1ba9ece2f3d

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