aiSimpleGroq
Script
v12
Fork
1
2
3
4
5
6
7
8
import
{
ai
}
from
"https://esm.town/v/yawnxyz/ai"
;
// set Deno.env.get("GROQ_API_KEY")
// console.log(await ai("tell me a joke in Spanish"))
console
.
log
(
await
ai
(
"tell me a reddit joke"
,
{
provider
:
"anthropic"
,
model
:
"claude-3-haiku-20240307"
,
}
)
)