Skip to content

Instantly share code, notes, and snippets.

View gammaSpeck's full-sized avatar
:octocat:
Open to collaborating oppertunities

Madhu KM gammaSpeck

:octocat:
Open to collaborating oppertunities
View GitHub Profile
// Shortcut: command Home
// Name: Chat with CHAT GPT
// Description: Ask CHAT GPT Anything
import "@johnlindquist/kit";
const { Configuration, OpenAIApi } = await npm("openai");
// Use below line for better TS hints
// import { Configuration, OpenAIApi } from "openai";
// Name: Chat with CHAT GPT
// Description: Ask CHAT GPT Anything
import "@johnlindquist/kit";
const { Configuration, OpenAIApi } = await npm("openai");
// Use below line for better TS hints
// import { Configuration, OpenAIApi } from "openai";
const configuration = new Configuration({