old-agentic-v1^2
Travis Fischer 2023-06-14 22:13:21 -07:00
rodzic 30e0d21e31
commit 28f9b4baa3
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -82,6 +82,8 @@ export class SerpAPITool extends BaseTask<SerpAPIInput, SerpAPIOutput> {
num: ctx.input!.numResults
})
this._logger.debug(res, `SerpAPI response for query "${ctx.input!.query}"`)
return this.outputSchema.parse({
knowledgeGraph: res.knowledge_graph,
answerBox: res.answer_box,