A new package that helps users extract and organize practical design tips from text inputs. Users can input text containing design advice, and the package will use llmatch-messages to process the info
Project description
Design Insight Builder
Design Insight Builder is a Python package that helps users extract and organize practical design tips from text inputs. Users can input text containing design advice, and the package will process the information, identifying and structuring key design tips, techniques, and insights. The output will be a well-organized list of actionable design tips, making it easy for users to quickly grasp and apply the advice. This is particularly useful for designers, students, or anyone looking to improve their design skills by extracting valuable insights from text sources.
Features
- Extracts and organizes design tips from text inputs.
- Uses advanced language models to process and structure information.
- Supports custom language models via LangChain.
- Easy to integrate and use in your projects.
Installation
You can install the package using pip:
pip install design_insight_builder
Usage
Here is a basic example of how to use the design_insight_builder package:
from design_insight_builder import design_insight_builder
user_input = "Your text containing design advice goes here."
response = design_insight_builder(user_input)
print(response)
Input Parameters
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 default API key will be used.
Using Custom Language Models
You can use custom language models from LangChain by passing an instance of BaseChatModel. Here are examples using different LLMs:
Using OpenAI
from langchain_openai import ChatOpenAI
from design_insight_builder import design_insight_builder
llm = ChatOpenAI()
response = design_insight_builder(user_input, llm=llm)
print(response)
Using Anthropic
from langchain_anthropic import ChatAnthropic
from design_insight_builder import design_insight_builder
llm = ChatAnthropic()
response = design_insight_builder(user_input, llm=llm)
print(response)
Using Google Generative AI
from langchain_google_genai import ChatGoogleGenerativeAI
from design_insight_builder import design_insight_builder
llm = ChatGoogleGenerativeAI()
response = design_insight_builder(user_input, llm=llm)
print(response)
API Key
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 the environment variable LLM7_API_KEY or directly in the function call:
response = design_insight_builder(user_input, api_key="your_api_key")
You can get a free API key by registering at LLM7 Token.
Contributing
Contributions are welcome! Please open an issue or submit a pull request on GitHub.
License
This project is licensed under the MIT License.
Author
- Eugene Evstafev
- Email: 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 design_insight_builder-2025.12.21114125.tar.gz.
File metadata
- Download URL: design_insight_builder-2025.12.21114125.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b1b2a5a02f2c7b76b8c9c723a3b0888bfdebe0a3662bb9f40c16ae4e0e3b6ea
|
|
| MD5 |
8967041c0cfcb6ddf1ce657a5e9cc01e
|
|
| BLAKE2b-256 |
5ab1559dbfd61669cd47690f3c8cd1da8e86f15bb5d75040f05c91eb4663d7ca
|
File details
Details for the file design_insight_builder-2025.12.21114125-py3-none-any.whl.
File metadata
- Download URL: design_insight_builder-2025.12.21114125-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
295e5c49de455dbe3397ac5db28872b0673426fddaa019e7cec0d0c657bb64b9
|
|
| MD5 |
97c0d7a2bcc4883ec0a2da3a69a4953a
|
|
| BLAKE2b-256 |
66295150e7fbf53864e9c48be9be3f262fec1eccfb1dcdda967db67d1db6cfc0
|