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/image-url.jpg%20%22Optional%20title%22?q=openai&page=1&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 1580 results for "openai"(1253ms)

testOpenAI1 file match

@stevekrouse•Updated 1 day ago

testOpenAI1 file match

@shouser•Updated 3 days ago

stevens-openai5 file matches

@yash_ing•Updated 1 week ago

fetchAndStoreOpenAiUsage22 file matches

@nbbaier•Updated 2 weeks ago

openaiPricing9 file matches

@nbbaier•Updated 2 weeks ago
Project created from val URLs

OpenAI2 file matches

@dmartinez•Updated 3 weeks ago

openaiStreamingDemo2 file matches

@stevekrouse•Updated 1 month ago

openaistreaminghtml2 file matches

@stevekrouse•Updated 1 month ago

OpenAIProxy1 file match

@harveyfullstack•Updated 1 month ago

OpenAI2 file matches

@mjoshimanhar•Updated 2 months ago

stevensDemo.cursorrules4 matches

@simonf•Updated 2 hours ago
100Note: When changing a SQLite table's schema, change the table's name (e.g., add _2 or _3) to create a fresh table.
101
102### OpenAI
103```ts
104import { OpenAI } from "https://esm.town/v/std/openai";
105const openai = new OpenAI();
106const completion = await openai.chat.completions.create({
107 messages: [
108 { role: "user", content: "Say hello in a creative way" },

OpenTowniesystem_prompt.txt4 matches

@charmaine•Updated 2 hours ago
88Note: When changing a SQLite table's schema, change the table's name (e.g., add _2 or _3) to create a fresh table.
89
90### OpenAI
91
92```ts
93import { OpenAI } from "https://esm.town/v/std/openai";
94const openai = new OpenAI();
95const completion = await openai.chat.completions.create({
96 messages: [
97 { role: "user", content: "Say hello in a creative way" },
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": "*",