mindflow-synth extracts and structures insights on deep focus and flow from text, providing consistent, actionable summaries.
Project description
MindFlow Synth
Package designed to extract and structure key insights from text about cognitive processes, such as deep focus and flow states.
Overview
The MindFlow Synth package takes text input describing psychological or neurological concepts and returns a structured summary that highlights the main principles, triggers, and benefits of achieving deep focus. It leverages advanced language models to parse and organize information, providing a reliable and repeatable way to distill complex ideas into actionable insights.
Installation
pip install mindflow_synth
Usage
from mindflow_synth import mindflow_synth
user_input = "Text about cognitive processes..."
response = mindflow_synth(user_input)
print(response)
Function Signature
def mindflow_synth(
user_input: str,
api_key: Optional[str] = None,
llm: Optional[BaseChatModel] = None
) -> List[str]
user_input: str - the user input text to processapi_key: Optional[str] - the api key for llm7, if not provided the default ChatLLM7 will be usedllm: Optional[BaseChatModel] - the langchain llm instance to use, if not provided the default ChatLLM7 will be used
Default LLM
The package uses the ChatLLM7 from langchain_llm7 by default. You can safely pass your own llm instance (based on langchain) if you want to use another LLM, for example:
from langchain_openai import ChatOpenAI
from mindflow_synth import mindflow_synth
llm = ChatOpenAI()
response = mindflow_synth(... llm=llm)
or for example to use the anthropic:
from langchain_anthropic import ChatAnthropic
from mindflow_synth import mindflow_synth
llm = ChatAnthropic()
response = mindflow_synth(... llm=llm)
or google:
from langchain_google_genai import ChatGoogleGenerativeAI
from mindflow_synth import mindflow_synth
llm = ChatGoogleGenerativeAI()
response = mindflow_synth(... 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 for LLM7, you can pass your own API key via environment variable LLM7_API_KEY or via passing it directly like mindflow_synth(... api_key="your_api_key"). You can get a free API key by registering at https://token.llm7.io/
Issues
For any issues or feature requests, please submit a pull request to https://github.com/chigwell/mindflow-synth
Author
Eugene Evstafev (hi@euegne.plus)
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 mindflow_synth-2025.12.21184613.tar.gz.
File metadata
- Download URL: mindflow_synth-2025.12.21184613.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2617f12d57f4d204a7cf77cbfcf46ed8d7100800c4c2aabf29493ec5404dc9b1
|
|
| MD5 |
d099ea1d7a76050b918c24d5dd325e6a
|
|
| BLAKE2b-256 |
794c152d573a4a999b6a4b2a1213cabf22d150d10c38a44c188417a55ce8bf7a
|
File details
Details for the file mindflow_synth-2025.12.21184613-py3-none-any.whl.
File metadata
- Download URL: mindflow_synth-2025.12.21184613-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f70f7bd22b1cbf9cfb220e0f9ba5e1e051182da99fcf277985d8de31fe3d7355
|
|
| MD5 |
b62318a47a44acb42358e072b100a075
|
|
| BLAKE2b-256 |
7356d85383b22c202a8b338294a6bdddaccb1f0aa0b0d11d7dc640876193878b
|