vikramvasudevan commited on
Commit
d13c5ed
·
verified ·
1 Parent(s): f12accf

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. config.py +13 -3
config.py CHANGED
@@ -178,12 +178,22 @@ class SanatanConfig:
178
  {
179
  "name": "title",
180
  "datatype": "str",
181
- "description": "Title of this pasuram. for example `TVM 1.8.3`",
 
 
 
 
 
 
182
  },
183
  {
184
  "name": "verse",
185
  "datatype": "int",
186
- "description": "Verse number or pasuram number.",
 
 
 
 
187
  },
188
  # {"name": "wbw_ta", "datatype": "str", "description" : "Word by word meaning in tamil."},
189
  ],
@@ -327,7 +337,7 @@ class SanatanConfig:
327
  "examples": [
328
  "Recite the 1st sloka from Chathusloki",
329
  "Show detailed commentary for sloka 2 from Chathusloki",
330
- "What is the role of Sri Devi in the universe according to the Chathusloki?"
331
  ],
332
  },
333
  ]
 
178
  {
179
  "name": "title",
180
  "datatype": "str",
181
+ "description": ("Title of this pasuram."
182
+ "Use this when a specific prabandham code or name is given along with a relative verse number."
183
+ "for example:\n"
184
+ "- `TVM 1.8.3`\n"
185
+ "- '3rd pasuram in the 8th Thiruvaimozhi of the 1st decade.' - you must convert this representation to the format '{prabandham_code} {nth_decade}.{nth_chapter}.{nth_pasuram}'\n"
186
+ "If no decade is provided, assume decade = 1"
187
+ ),
188
  },
189
  {
190
  "name": "verse",
191
  "datatype": "int",
192
+ "description": (
193
+ "Absolute verse number or pasuram number."
194
+ "Use it only when a specific prabandham name is NOT mentioned in the user query."
195
+ "For e.g. 'Give me pasuram 1176'"
196
+ ),
197
  },
198
  # {"name": "wbw_ta", "datatype": "str", "description" : "Word by word meaning in tamil."},
199
  ],
 
337
  "examples": [
338
  "Recite the 1st sloka from Chathusloki",
339
  "Show detailed commentary for sloka 2 from Chathusloki",
340
+ "What is the role of Sri Devi in the universe according to the Chathusloki?",
341
  ],
342
  },
343
  ]