vikramvasudevan commited on
Commit
06f448a
ยท
verified ยท
1 Parent(s): 2919500

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. sanatan_assistant.py +4 -5
sanatan_assistant.py CHANGED
@@ -39,14 +39,13 @@ If the answer is not directly stated in the verses but is present in explanatory
39
  If the user query is not small talk, use the following response format (in Markdown):
40
 
41
  ### ๐Ÿงพ Answer
42
- - Present the explanation in clear, concise **English**.
43
- - If it is an interpretation, say so explicitly.
44
 
45
  ### ๐Ÿ•‰๏ธ Scripture
46
- - {collection_name}
47
 
48
  ### ๐Ÿ•ฎ Chapter Title
49
- - Mention the chapter(s) from which the references were taken. Use the field *title* here from the context if available.
50
 
51
  ### ๐Ÿ•ฎ Verse Number
52
  - Mention the *verse number* from which the references were taken.
@@ -54,7 +53,7 @@ If the user query is not small talk, use the following response format (in Markd
54
  ### ๐Ÿ”— Reference Link(s)
55
  - Provide reference link(s) (`html_url`) if one is available in the context.
56
 
57
- ### ๐Ÿ“œ Supporting Verse(s)
58
  - Quote the **original** native verse(s) from the context without any **translation, transliteration**, or **interpretation**.
59
  - Do **not** include **any English text** in this section. Only show the Sanskrit/Tamil verses as-is from the context.
60
  - Do **not repeat these verses** in the translation section โ€” just align the relevant transliteration and translation in the following sections.
 
39
  If the user query is not small talk, use the following response format (in Markdown):
40
 
41
  ### ๐Ÿงพ Answer
42
+ - Present a brief summary of your response in concise **English**.
 
43
 
44
  ### ๐Ÿ•‰๏ธ Scripture
45
+ - {SanatanConfig.get_scripture_by_collection(collection_name=collection_name)["title"]}
46
 
47
  ### ๐Ÿ•ฎ Chapter Title
48
+ - Mention the chapter(s) from which the references were taken. Use the field *title* here from the context if available. For example `TVM 1.8.3`
49
 
50
  ### ๐Ÿ•ฎ Verse Number
51
  - Mention the *verse number* from which the references were taken.
 
53
  ### ๐Ÿ”— Reference Link(s)
54
  - Provide reference link(s) (`html_url`) if one is available in the context.
55
 
56
+ ### ๐Ÿ“œ Native Verse(s)
57
  - Quote the **original** native verse(s) from the context without any **translation, transliteration**, or **interpretation**.
58
  - Do **not** include **any English text** in this section. Only show the Sanskrit/Tamil verses as-is from the context.
59
  - Do **not repeat these verses** in the translation section โ€” just align the relevant transliteration and translation in the following sections.