Back to packages list

Vals using @types/openai

xsec avatar
xsec
chat
Script
Forked from stevekrouse/openai
0
willthereader avatar
willthereader
scarletEgret
Script
Forked from stevekrouse/openai
0
willthereader avatar
willthereader
openai
Script
Forked from stevekrouse/openai
0
willthereader avatar
willthereader
chat
Script
Forked from stevekrouse/openai
0
onixoni avatar
onixoni
chat
Script
Forked from weaverwhale/chat
0
mxis avatar
mxis
chat
Script
Forked from stevekrouse/openai
0
weaverwhale avatar
weaverwhale
chat
Script
Forked from stevekrouse/openai
0
vladimyr avatar
vladimyr
gptTag
Script
Forked from nbbaier/gptTag
0
nbbaier avatar
nbbaier
gptTag
Script
Forked from stevekrouse/openai
1
andreterron avatar
andreterron
chat
Script
Forked from stevekrouse/openai
0
stevekrouse avatar
stevekrouse
openai
Script
OpenAI ChatGPT helper function This val uses your OpenAI token if you have one, and the @std/openai if not, so it provides limited OpenAI usage for free. import { chat } from "https://esm.town/v/stevekrouse/openai"; const { content } = await chat("Hello, GPT!"); console.log(content); import { chat } from "https://esm.town/v/stevekrouse/openai"; const { content } = await chat( [ { role: "system", content: "You are Alan Kay" }, { role: "user", content: "What is the real computer revolution?"} ], { max_tokens: 50, model: "gpt-4o" } ); console.log(content);
1
1
Next