markdown-flow 0.3.0__tar.gz → 0.3.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/PKG-INFO +1 -1
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow/__init__.py +1 -1
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow/constants.py +8 -1
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow/system_prompt.md +1 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow.egg-info/PKG-INFO +1 -1
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/LICENSE +0 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/README.md +0 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow/constants_system_prompt.py +0 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow/core.py +0 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow/enums.py +0 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow/exceptions.py +0 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow/formatter/__init__.py +0 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow/formatter/classifier.py +0 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow/formatter/format.py +0 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow/formatter/patterns.py +0 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow/formatter/sanitize.py +0 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow/formatter/stream.py +0 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow/formatter/types.py +0 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow/higher_priority_prompt.md +0 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow/llm.py +0 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow/models.py +0 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow/parser/__init__.py +0 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow/parser/code_fence_utils.py +0 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow/parser/html_comment_utils.py +0 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow/parser/interaction.py +0 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow/parser/json_parser.py +0 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow/parser/output.py +0 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow/parser/preprocessor.py +0 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow/parser/validation.py +0 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow/parser/variable.py +0 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow/providers/__init__.py +0 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow/providers/config.py +0 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow/providers/openai.py +0 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow/tag_filter.py +0 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow.egg-info/SOURCES.txt +0 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow.egg-info/dependency_links.txt +0 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/markdown_flow.egg-info/top_level.txt +0 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/pyproject.toml +0 -0
- {markdown_flow-0.3.0 → markdown_flow-0.3.1}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: markdown-flow
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.1
|
|
4
4
|
Summary: An agent library designed to parse and process MarkdownFlow documents
|
|
5
5
|
Project-URL: Homepage, https://github.com/ai-shifu/markdown-flow-agent-py
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/ai-shifu/markdown-flow-agent-py/issues
|
|
@@ -250,9 +250,16 @@ CONTEXT_BUTTON_OPTIONS_TEMPLATE = (
|
|
|
250
250
|
)
|
|
251
251
|
|
|
252
252
|
# Next interaction context prompt templates
|
|
253
|
+
# The Markdown heading marker delimits the note the same way the other
|
|
254
|
+
# context sections do (see CONTEXT_QUESTION_MARKER above); the system prompt
|
|
255
|
+
# references this heading by name to forbid echoing the note into the output
|
|
256
|
+
# (models occasionally reproduced the undelimited note verbatim as content).
|
|
257
|
+
NEXT_INTERACTION_CONTEXT_MARKER = "# Next Interaction Note"
|
|
253
258
|
NEXT_INTERACTION_CONTEXT_INTRO = (
|
|
259
|
+
f"{NEXT_INTERACTION_CONTEXT_MARKER}\n"
|
|
254
260
|
"The next interaction will appear immediately after this content. When generating the current content, connect to it naturally. "
|
|
255
|
-
"You may briefly restate, explain, or set up the available choices so the user understands what they will decide next, but do not output the interaction syntax or answer on the user's behalf."
|
|
261
|
+
"You may briefly restate, explain, or set up the available choices so the user understands what they will decide next, but do not output the interaction syntax or answer on the user's behalf. "
|
|
262
|
+
"This note is internal guidance and is never shown to the user: never quote, translate, or reproduce any part of this section in your output."
|
|
256
263
|
)
|
|
257
264
|
NEXT_INTERACTION_TEXT_INPUT_TEMPLATE = "The next interaction asks the user to answer in text: {question}"
|
|
258
265
|
NEXT_INTERACTION_SINGLE_CHOICE_TEMPLATE = "The next interaction is a single-choice question. The user will choose one option from: {options}"
|
|
@@ -7,6 +7,7 @@ The following are rules you must strictly follow:
|
|
|
7
7
|
3. Do not respond with conversational filler or acknowledgments such as "Ok", "Good", or "Sure". Directly output the requested content
|
|
8
8
|
4. Do not guide the next action: do not ask questions or rhetorical questions
|
|
9
9
|
5. Do not introduce yourself or greet the user unless the user requests it
|
|
10
|
+
6. A user message may end with a `# Next Interaction Note` section. It is internal guidance about the interaction that follows the content: use it to shape a natural ending, but never quote, translate, or reproduce any text from that section in your output. This applies to every occurrence, including ones inside earlier conversation turns
|
|
10
11
|
|
|
11
12
|
# HTML Display Content Generation Rules
|
|
12
13
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: markdown-flow
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.1
|
|
4
4
|
Summary: An agent library designed to parse and process MarkdownFlow documents
|
|
5
5
|
Project-URL: Homepage, https://github.com/ai-shifu/markdown-flow-agent-py
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/ai-shifu/markdown-flow-agent-py/issues
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|