Spaces:
Running
Running
Update enhanced_search_functions.py
Browse files- enhanced_search_functions.py +1 -28
enhanced_search_functions.py
CHANGED
|
@@ -94,32 +94,6 @@ ENHANCED_SEARCH_FUNCTIONS = [
|
|
| 94 |
"required": ["company"]
|
| 95 |
}
|
| 96 |
}
|
| 97 |
-
},
|
| 98 |
-
{
|
| 99 |
-
"type": "function",
|
| 100 |
-
"function": {
|
| 101 |
-
"name": "multi_source_research",
|
| 102 |
-
"description": "Perform comprehensive multi-source research synthesis across all available sources",
|
| 103 |
-
"parameters": {
|
| 104 |
-
"type": "object",
|
| 105 |
-
"properties": {
|
| 106 |
-
"query": {
|
| 107 |
-
"type": "string",
|
| 108 |
-
"description": "Research query for comprehensive multi-source analysis"
|
| 109 |
-
},
|
| 110 |
-
"priority_sources": {
|
| 111 |
-
"type": "array",
|
| 112 |
-
"items": {
|
| 113 |
-
"type": "string",
|
| 114 |
-
"enum": ["web", "wikipedia", "arxiv", "github", "sec"]
|
| 115 |
-
},
|
| 116 |
-
"description": "Priority list of sources to focus on for this research",
|
| 117 |
-
"default": []
|
| 118 |
-
}
|
| 119 |
-
},
|
| 120 |
-
"required": ["query"]
|
| 121 |
-
}
|
| 122 |
-
}
|
| 123 |
}
|
| 124 |
]
|
| 125 |
|
|
@@ -137,6 +111,5 @@ FUNCTION_ROUTING = {
|
|
| 137 |
"search_wikipedia": "wikipedia_search",
|
| 138 |
"search_academic": "academic_search",
|
| 139 |
"search_technology_trends": "github_search",
|
| 140 |
-
"search_financial_data": "sec_search"
|
| 141 |
-
"multi_source_research": "multi_source_search"
|
| 142 |
}
|
|
|
|
| 94 |
"required": ["company"]
|
| 95 |
}
|
| 96 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
}
|
| 98 |
]
|
| 99 |
|
|
|
|
| 111 |
"search_wikipedia": "wikipedia_search",
|
| 112 |
"search_academic": "academic_search",
|
| 113 |
"search_technology_trends": "github_search",
|
| 114 |
+
"search_financial_data": "sec_search"
|
|
|
|
| 115 |
}
|