Skip to content

A new package that simplifies and structures user feedback or descriptions about VPN sign-up experiences. It takes text input from users describing their sign-up process with a VPN service, such as ea

Notifications You must be signed in to change notification settings

chigwell/vpnfeedbacker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

VPNFeedbacker

PyPI version License: MIT Downloads LinkedIn

Simplify and structure user feedback about VPN sign-up experiences with this package.

Overview

VPNFeedbacker takes text input from users describing their sign-up process with a VPN service and returns a structured output categorizing the feedback into key aspects like simplicity, speed, and user satisfaction.

Installation

pip install vpnfeedbacker

Usage

from vpnfeedbacker import vpnfeedbacker

response = vpnfeedbacker(user_input)

Or with a custom LLModel instance (based on langchain):

from langchain_openai import ChatOpenAI
from vpnfeedbacker import vpnfeedbacker

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

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 defaults to None or the value of the LLM7_API_KEY environment variable.

Defaults

By default, the package uses the ChatLLM7 instance from langchain_llm7.

Custom LLMs

You can use other LLMs from langchain by passing your own LLm instance, e.g. OpenAI, Anthropic, Google Generative AI:

from langchain_openai import ChatOpenAI
from vpnfeedbacker import vpnfeedbacker

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

or

from langchain_anthropic import ChatAnthropic
from vpnfeedbacker import vpnfeedbacker

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

or

from langchain_google_genai import ChatGoogleGenerativeAI
from vpnfeedbacker import vpnfeedbacker

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

LLM7 Rate Limits

The default rate limits for LLM7 free tier are sufficient for most use cases of this package. If you need higher rate limits, you can pass your own API key via environment variable LLM7_API_KEY or directly like vpnfeedbacker(user_input, api_key="your_api_key"). Get a free API key at https://token.llm7.io/.

Contributing

Open issues and pull requests are welcome at https://github.com/chigwell/vpnfeedbacker.

Author

Eugene Evstafev hi@eugene.plus

About

A new package that simplifies and structures user feedback or descriptions about VPN sign-up experiences. It takes text input from users describing their sign-up process with a VPN service, such as ea

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages