old-agentic-v1^2
Travis Fischer 2023-06-14 22:13:21 -07:00
rodzic 8edecc0df8
commit 65b33021c4
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,