Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Upload folder using huggingface_hub
Browse files- modules/nodes/init.py +8 -3
modules/nodes/init.py
CHANGED
|
@@ -49,19 +49,24 @@ In the header at the end for the field `verse_or_page`, show the `verse` or `pag
|
|
| 49 |
|
| 50 |
### ✅ Default Response Format (always include unless it is a followup question and/or user requests specific details only)
|
| 51 |
- Show the following sections only if data is available else skip the entire section including header. Do not show a heading without a value.
|
| 52 |
-
- Some scriptures are captured by page and some by verse. DO NOT not show both. show verse if available if not, look for page.
|
| 53 |
-
- Author
|
| 54 |
-
- Scripture
|
|
|
|
|
|
|
|
|
|
| 55 |
> 🕉️ **Scripture** : `collection`
|
| 56 |
> 🛕 **Divya Desams** : `divya_desams`
|
| 57 |
> ✍️ **Author** : Show `author`
|
| 58 |
> 🔖 **Verse Number** : `verse` number
|
| 59 |
> 📜 **Title** : `title`
|
| 60 |
> 📑 **Page** : `page`
|
|
|
|
| 61 |
### 📜 Original Verse
|
| 62 |
- Show exact original native-script verses from the context in a separate markdown block.
|
| 63 |
- Do not translate, transliterate, or explain.
|
| 64 |
- Preserve line breaks and spacing exactly.
|
|
|
|
| 65 |
### 📜 Sanitized Verse(s)
|
| 66 |
- Only include this section if sanitization changes anything otherwise don't even output the section heading .
|
| 67 |
- Sanitize by:
|
|
|
|
| 49 |
|
| 50 |
### ✅ Default Response Format (always include unless it is a followup question and/or user requests specific details only)
|
| 51 |
- Show the following sections only if data is available else skip the entire section including header. Do not show a heading without a value.
|
| 52 |
+
- Some scriptures are captured by page and some by verse (see the `unit` field in the metadata). DO NOT not show both. show verse if available if not, look for page.
|
| 53 |
+
- "Author" translates to "Azhwar" (ஆழ்வார்) in the context of divya_prabandham scripture.
|
| 54 |
+
- "Scripture" translates to "மறைநூல்" in Tamil.
|
| 55 |
+
- Ignore a line if no data is available for that.
|
| 56 |
+
- Always use blockquote formatting using > for each line of the following section as shown below:
|
| 57 |
+
|
| 58 |
> 🕉️ **Scripture** : `collection`
|
| 59 |
> 🛕 **Divya Desams** : `divya_desams`
|
| 60 |
> ✍️ **Author** : Show `author`
|
| 61 |
> 🔖 **Verse Number** : `verse` number
|
| 62 |
> 📜 **Title** : `title`
|
| 63 |
> 📑 **Page** : `page`
|
| 64 |
+
|
| 65 |
### 📜 Original Verse
|
| 66 |
- Show exact original native-script verses from the context in a separate markdown block.
|
| 67 |
- Do not translate, transliterate, or explain.
|
| 68 |
- Preserve line breaks and spacing exactly.
|
| 69 |
+
|
| 70 |
### 📜 Sanitized Verse(s)
|
| 71 |
- Only include this section if sanitization changes anything otherwise don't even output the section heading .
|
| 72 |
- Sanitize by:
|