Spaces:
Sleeping
Sleeping
Commit
•
9412355
1
Parent(s):
0b4bbd1
modified query engine
Browse files
app.py
CHANGED
@@ -115,24 +115,6 @@ query_engine_tools = [
|
|
115 |
'''
|
116 |
),
|
117 |
),
|
118 |
-
),
|
119 |
-
QueryEngineTool(
|
120 |
-
query_engine=query_engine_pada_details,
|
121 |
-
metadata=ToolMetadata(
|
122 |
-
name="pandas_pada_engine",
|
123 |
-
description=(
|
124 |
-
'''Helpful to answer the queries related to count on padas/terms/words from vedic scriptures based on csv files.\
|
125 |
-
Different columns from csv file containing comprehensive information about the padas.\
|
126 |
-
The column names as follows:\
|
127 |
-
'scripture_name', 'mantra_level_1', 'mantra_level_2', 'mantra_level_3',\
|
128 |
-
'mantra_level_4', 'mantra_number', 'mantra_id', 'word_index',\
|
129 |
-
'segmentation', 'term_json_new', 'word'.\
|
130 |
-
Sample Query:\
|
131 |
-
1. How many times the word yāsyan appeared in RigVeda?\
|
132 |
-
2. How many total distrinct terms are there in AtharvaVeda?
|
133 |
-
'''
|
134 |
-
),
|
135 |
-
),
|
136 |
)
|
137 |
]
|
138 |
|
|
|
115 |
'''
|
116 |
),
|
117 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
118 |
)
|
119 |
]
|
120 |
|