Open saanaz379 opened 4 months ago
something like:
export const SEARCH_FUNC = {
"name": "search_external_sources",
"description": "Search for information in academic papers, patent databases, NASA 'spinoff' ideas, or a general web search.",
"parameters": {
"type": "object",
"properties": {
"search_type": {
"type": "string",
"enum": [ "academic", "patents", "NASA", "general" ],
"description": "The search type relevant to the available sources."
},
"query": {
"type": "string",
"description": "Query for the given search engine optimized for SEO, including all details relevant to the search. No additional information such as flags or filters should be supplied."
},
"links": {
"type": "array",
"description": "List of links to include in query. If provided, results will only be provided matching these links.",
"items": {
"type": "string"
}
},
"get_full_content": {
"type": "boolean",
"description": "Retrieve content such as the full paper, website contents, or patent."
}
},
"required": [
"type",
"query",
"links"
]
}
}
May need to change depending on how this works for functions with additional params (like Semantic Scholar).
Combine biology paper, patent, and NASA Spinoff searches into an all-inclusive search function