A Python package designed to extract and structure release notes from software update announcements. This tool parses raw text input about software releases and formats key details such as version numbers, new features, bug fixes, and compatibility information.
- Extracts structured release notes from raw text
- Supports custom LLM integration
- Focuses on technical software updates
- Avoids sensitive or non-technical content
pip install update_notes_extractorfrom update_notes_extractor import update_notes_extractor
user_input = "Your software update announcement text here"
response = update_notes_extractor(user_input)
print(response)You can use any LLM compatible with LangChain. Here are examples with different LLMs:
from langchain_openai import ChatOpenAI
from update_notes_extractor import update_notes_extractor
llm = ChatOpenAI()
response = update_notes_extractor(user_input, llm=llm)
print(response)from langchain_anthropic import ChatAnthropic
from update_notes_extractor import update_notes_extractor
llm = ChatAnthropic()
response = update_notes_extractor(user_input, llm=llm)
print(response)from langchain_google_genai import ChatGoogleGenerativeAI
from update_notes_extractor import update_notes_extractor
llm = ChatGoogleGenerativeAI()
response = update_notes_extractor(user_input, llm=llm)
print(response)By default, the package uses the ChatLLM7 from langchain_llm7. You can pass your own API key via an environment variable or directly in the function call.
import os
from update_notes_extractor import update_notes_extractor
os.environ["LLM7_API_KEY"] = "your_api_key"
response = update_notes_extractor(user_input)
print(response)from update_notes_extractor import update_notes_extractor
response = update_notes_extractor(user_input, api_key="your_api_key")
print(response)user_input(str): The user input text to process.llm(Optional[BaseChatModel]): The LangChain LLM instance to use. If not provided, the defaultChatLLM7will be used.api_key(Optional[str]): The API key for LLM7. If not provided, the environment variableLLM7_API_KEYwill be used.
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 get a free API key by registering at LLM7.
If you encounter any issues, please report them on the GitHub issues page.
- Eugene Evstafev
- Email: hi@eugene.plus
- GitHub: chigwell