vikramvasudevan commited on
Commit
be0f52a
·
verified ·
1 Parent(s): be9dacf

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. tools.py +5 -4
tools.py CHANGED
@@ -26,10 +26,11 @@ tool_search_db = StructuredTool.from_function(
26
  query,
27
  name="tool_semantic_vector_search",
28
  description=(
29
- f"Do **NOT** use this tool if the user asks for specific verse numbers or pasuram numbers."
30
- " Use this when the user asks **about themes, stories, ideas, emotions, or meanings** in the scriptures."
31
- " This tool uses semantic vector search and can understand context and meaning beyond keywords."
32
- f" The collection_name must be one of: {', '.join(allowed_collections)}."
 
33
  ),
34
  )
35
 
 
26
  query,
27
  name="tool_semantic_vector_search",
28
  description=(
29
+ "🚫 Never use this tool if the user asks for a verse number, pasuram number, or any explicit metadata field "
30
+ "(like azhwar name, prabandham, divya desam, decade, or chapter). "
31
+ " Only use this tool when the query is vague or thematic, e.g. "
32
+ "'Which pasurams talk about Krishna's childhood?' or 'Show me verses about compassion'. "
33
+ f"The collection_name must be one of: {', '.join(allowed_collections)}."
34
  ),
35
  )
36