Val Town Code SearchReturn to Val Town

API Access

You can access search results via JSON API by adding format=json to your query:

https://codesearch.val.run/$%7Burl%7D?q=openai&page=6&format=json

For typeahead suggestions, use the /typeahead endpoint:

https://codesearch.val.run/typeahead?q=openai

Returns an array of strings in format "username" or "username/projectName"

Found 1576 results for "openai"(714ms)

openAiFreeUsage2 file matches

@patrickjm•Updated 1 year ago

openaiOpenAPI2 file matches

@stevekrouse•Updated 1 year ago

openAiTextCompletion2 file matches

@patrickjm•Updated 1 year ago

openaiCompletion2 file matches

@fgeierst•Updated 1 year ago

demoOpenAIGPTSummary2 file matches

@zzz•Updated 1 year ago

openAiFreeQuotaExceeded2 file matches

@patrickjm•Updated 1 year ago

demoOpenAIGPT4Summary2 file matches

@zzz•Updated 1 year ago

openAiModeration2 file matches

@patrickjm•Updated 1 year ago

OpenAISummary2 file matches

@zzz•Updated 1 year ago

openaiFineTune2 file matches

@stevekrouse•Updated 1 year ago

untitled-9126new-file-3797.tsx3 matches

@xiaofei•Updated 6 hours ago
1import { OpenAI } from "https://esm.town/v/std/openai";
2
3export default async function(req: Request): Promise<Response> {
11 });
12 }
13 const openai = new OpenAI();
14
15 try {
28 }
29
30 const stream = await openai.chat.completions.create(body);
31
32 if (!body.stream) {

untitled-6223README.md3 matches

@xiaofei•Updated 6 hours ago
1import { OpenAI } from "https://esm.town/v/std/openai";
2
3export default async function(req: Request): Promise<Response> {
11 });
12 }
13 const openai = new OpenAI();
14
15 try {
28 }
29
30 const stream = await openai.chat.completions.create(body);
31
32 if (!body.stream) {
lost1991
import { OpenAI } from "https://esm.town/v/std/openai"; export default async function(req: Request): Promise<Response> { if (req.method === "OPTIONS") { return new Response(null, { headers: { "Access-Control-Allow-Origin": "*",