old-agentic-v1^2
Travis Fischer 2023-06-16 00:48:11 -07:00
rodzic 1cbe4a6683
commit d752f63fae
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -9,7 +9,7 @@ async function main() {
const agentic = new Agentic({ openai }) const agentic = new Agentic({ openai })
const res = await agentic const res = await agentic
.gpt4(`Summarize latest news about {{topic}} using markdown.`) .gpt4(`Summarize the latest news on {{topic}} using markdown.`)
.tools([new SerpAPITool()]) .tools([new SerpAPITool()])
.input( .input(
z.object({ z.object({