biblemate 0.0.24__tar.gz → 0.0.26__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.
- {biblemate-0.0.24 → biblemate-0.0.26}/PKG-INFO +1 -1
- {biblemate-0.0.24 → biblemate-0.0.26}/biblemate/bible_study_mcp.py +22 -0
- {biblemate-0.0.24 → biblemate-0.0.26}/biblemate/main.py +1 -1
- {biblemate-0.0.24 → biblemate-0.0.26}/biblemate.egg-info/PKG-INFO +1 -1
- {biblemate-0.0.24 → biblemate-0.0.26}/setup.py +1 -1
- {biblemate-0.0.24 → biblemate-0.0.26}/biblemate/README.md +0 -0
- {biblemate-0.0.24 → biblemate-0.0.26}/biblemate/__init__.py +0 -0
- {biblemate-0.0.24 → biblemate-0.0.26}/biblemate/config.py +0 -0
- {biblemate-0.0.24 → biblemate-0.0.26}/biblemate/core/systems.py +0 -0
- {biblemate-0.0.24 → biblemate-0.0.26}/biblemate/package_name.txt +0 -0
- {biblemate-0.0.24 → biblemate-0.0.26}/biblemate/requirements.txt +0 -0
- {biblemate-0.0.24 → biblemate-0.0.26}/biblemate/ui/info.py +0 -0
- {biblemate-0.0.24 → biblemate-0.0.26}/biblemate/ui/prompts.py +0 -0
- {biblemate-0.0.24 → biblemate-0.0.26}/biblemate.egg-info/SOURCES.txt +0 -0
- {biblemate-0.0.24 → biblemate-0.0.26}/biblemate.egg-info/dependency_links.txt +0 -0
- {biblemate-0.0.24 → biblemate-0.0.26}/biblemate.egg-info/entry_points.txt +0 -0
- {biblemate-0.0.24 → biblemate-0.0.26}/biblemate.egg-info/requires.txt +0 -0
- {biblemate-0.0.24 → biblemate-0.0.26}/biblemate.egg-info/top_level.txt +0 -0
- {biblemate-0.0.24 → biblemate-0.0.26}/setup.cfg +0 -0
@@ -360,6 +360,28 @@ def simple_bible_study(request:str) -> PromptMessage:
|
|
360
360
|
|
361
361
|
# User Request
|
362
362
|
|
363
|
+
---
|
364
|
+
{request}
|
365
|
+
---
|
366
|
+
"""
|
367
|
+
return PromptMessage(role="user", content=TextContent(type="text", text=prompt_text))
|
368
|
+
|
369
|
+
@mcp.prompt
|
370
|
+
def bible_devotion(request:str) -> PromptMessage:
|
371
|
+
"""Write bible devotion based on user content"""
|
372
|
+
global PromptMessage, TextContent
|
373
|
+
prompt_text = f"""
|
374
|
+
You are a bible devotional agent. You check the user content, under the `User Content` section, and write a devotional about it with the following steps in order:
|
375
|
+
|
376
|
+
1. Analyze the themes using @study_new_testament_themes for new testament passages or @study_old_testament_themes for old testament passages.
|
377
|
+
2. Identify and explain key biblical keywords from the passage using @identify_bible_keywords.
|
378
|
+
3. Write insights for the devotion using @write_bible_insights.
|
379
|
+
4. Relate the passage to daily life using @write_bible_applications.
|
380
|
+
5. Compose a touching devotion using @write_bible_devotion.
|
381
|
+
Ensure each step is clearly addressed and the final output is cohesive and inspiring.
|
382
|
+
|
383
|
+
# User Content
|
384
|
+
|
363
385
|
---
|
364
386
|
{request}
|
365
387
|
---
|
@@ -467,7 +467,7 @@ Available tools are: {available_tools}.
|
|
467
467
|
messages.append({"role": "user", "content": next_step})
|
468
468
|
|
469
469
|
await process_tool(next_tool, next_step, step_number=step)
|
470
|
-
console.print(Markdown(f"\n## Output [{step}]\n\n{messages[-1][
|
470
|
+
console.print(Markdown(f"\n## Output [{step}]\n\n{messages[-1]['content']}"))
|
471
471
|
|
472
472
|
# iteration count
|
473
473
|
step += 1
|
@@ -27,7 +27,7 @@ with open(os.path.join(package, "requirements.txt"), "r") as fileObj:
|
|
27
27
|
# https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/
|
28
28
|
setup(
|
29
29
|
name=package,
|
30
|
-
version="0.0.
|
30
|
+
version="0.0.26",
|
31
31
|
python_requires=">=3.8, <3.13",
|
32
32
|
description=f"BibleMate AI - Automate Your Bible Study",
|
33
33
|
long_description=long_description,
|
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
|