An agent library designed to parse and process MarkdownFlow documents
Project description
MarkdownFlow Agent (Python)
MarkdownFlow Agent is a library designed to transform MarkdownFlow documents into personalized & interactive pages.
MarkdownFlow (also known as MDFlow) extends standard Markdown with AI-powered intelligence to create personalized, interactive documents. The tagline: "Write Once, Deliver Personally".
Learn more about MarkdownFlow at markdownflow.ai.
🚀 Quick Start
Prerequisites
- Python 3.10+
- Pip
Installation
Install from PyPI
pip install markdown-flow
Local Development Installation
cd markdown-flow
pip install -e .
Usage
from markdown_flow import MarkdownFlow, ProcessMode
# Create interactive Markdown document
document = """
Ask {{name}} about his/her Python experience level.
?[%{{level}} Beginner | Intermediate | Expert]
The user's Python experience level is {{level}}. Give some suggestions about the learning path.
"""
# Initialize and process
mf = MarkdownFlow(document, llm_provider=your_llm)
result = await mf.process(0, variables={'name': 'User'})
🔗 Related Links
- PyPI Package: https://pypi.org/project/markdownflow/
- GitHub Repository: https://github.com/ai-shifu/markdown-flow-agent-py
Built with ❤️ by AI Shifu Team
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 markdown_flow-0.1.1.tar.gz.
File metadata
- Download URL: markdown_flow-0.1.1.tar.gz
- Upload date:
- Size: 21.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
368b7cff4a5d4c59c7efc0565084d46c00ad99efc073459fb070e7d4e9e2d1c5
|
|
| MD5 |
5677686ca776e36b9c5cca34efab3bbb
|
|
| BLAKE2b-256 |
0971a37f8fb8c9b2eec4db913bbc1367a65e6eac2829b55e7e8609d94edb4b67
|
File details
Details for the file markdown_flow-0.1.1-py3-none-any.whl.
File metadata
- Download URL: markdown_flow-0.1.1-py3-none-any.whl
- Upload date:
- Size: 22.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57821b0e4d113c9e67612cb66d7ec02c9c0898a652e6d07b5463b6922d83ca02
|
|
| MD5 |
c16510a038e42405c0489119edf8b467
|
|
| BLAKE2b-256 |
4f6029133f52f1565222419770fee47d3495c74d8c045d4251c4dbbe18c97af5
|