[EXP] Make rag_search a library tool

This commit is contained in:
akhisud3195 2025-05-08 12:42:58 +05:30
parent bdc7f01ea2
commit 968dfacd65
3 changed files with 150 additions and 84 deletions

View file

@ -33,8 +33,26 @@ export const templates: { [key: string]: z.infer<typeof WorkflowTemplate> } = {
"properties": {},
},
"isLibrary": true
},
{
"name": "rag_search",
"description": "Fetch articles with knowledge relevant to the query",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The query to retrieve articles for"
}
},
"required": [
"query"
]
},
"isLibrary": true
}
],
}
}