vikramvasudevan commited on
Commit
5f3c368
·
verified ·
1 Parent(s): acfcefc

Upload folder using huggingface_hub

Browse files
modules/config/divya_prabandham_taniyans.py CHANGED
@@ -33,6 +33,7 @@ divya_prabandham_taniyans_config = {
33
  "label": "Prabandham Code",
34
  "datatype": "str",
35
  "description": "contains the short prabandham_code. e.g. `TPL` for `Thiruppallandu`",
 
36
  },
37
  {
38
  "name": "prabandham_name",
@@ -45,6 +46,16 @@ divya_prabandham_taniyans_config = {
45
  p.prabandham_name
46
  for p in nalayiram_helper.get_standardized_prabandham_names()
47
  ],
 
 
 
 
 
 
 
 
 
 
48
  },
49
  {
50
  "name": "azhwar_name",
@@ -74,9 +85,7 @@ divya_prabandham_taniyans_config = {
74
  "name": "title",
75
  "label": "Taniyan Title",
76
  "datatype": "str",
77
- "description": (
78
- "Exact title of a Taniyan."
79
- ),
80
  "show_as_filter": True,
81
  },
82
  {
@@ -97,9 +106,7 @@ divya_prabandham_taniyans_config = {
97
  "pdf_path": "./data/divya_prabandham_taniyans.pdf",
98
  "source": "https://uveda.org",
99
  "language": "tamil",
100
- "example_labels": [
101
- "Specific taniyan"
102
- ],
103
  "examples": [
104
  "Show me a Taniyan",
105
  ],
 
33
  "label": "Prabandham Code",
34
  "datatype": "str",
35
  "description": "contains the short prabandham_code. e.g. `TPL` for `Thiruppallandu`",
36
+ "is_unique": True,
37
  },
38
  {
39
  "name": "prabandham_name",
 
46
  p.prabandham_name
47
  for p in nalayiram_helper.get_standardized_prabandham_names()
48
  ],
49
+ "is_unique": True,
50
+ },
51
+ {
52
+ "name": "verse",
53
+ "label": "Absolute Taniyan Number",
54
+ "datatype": "int",
55
+ "is_unique": True,
56
+ "description": (
57
+ "Absolute verse number of the taniyan. Each verse has a unique number."
58
+ ),
59
  },
60
  {
61
  "name": "azhwar_name",
 
85
  "name": "title",
86
  "label": "Taniyan Title",
87
  "datatype": "str",
88
+ "description": ("Exact title of a Taniyan."),
 
 
89
  "show_as_filter": True,
90
  },
91
  {
 
106
  "pdf_path": "./data/divya_prabandham_taniyans.pdf",
107
  "source": "https://uveda.org",
108
  "language": "tamil",
109
+ "example_labels": ["Specific taniyan"],
 
 
110
  "examples": [
111
  "Show me a Taniyan",
112
  ],