kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
old-agentic-v1^2
rodzic
1cbe4a6683
commit
d752f63fae
|
@ -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({
|
||||||
|
|
Ładowanie…
Reference in New Issue