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/$%7Bart_info.art.src%7D?q=openai&page=4&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 1567 results for "openai"(777ms)

OpenAI2 file matches

@arthrod•Updated 7 months ago

ownOpenAI2 file matches

@kora•Updated 9 months ago

openaiproxy2 file matches

@mmrech•Updated 9 months ago

openai2 file matches

@willthereader•Updated 9 months ago

OpenAIStreaming2 file matches

@mjweaver01•Updated 9 months ago

openAiProxy2 file matches

@ashryanio•Updated 10 months ago

openAIStreamingExample2 file matches

@stevekrouse•Updated 10 months ago

openAIStreaming2 file matches

@xuybin•Updated 10 months ago

openAIHonoChatStreamExample2 file matches

@yawnxyz•Updated 11 months ago

gettingOpenAiStreamingtoWork2 file matches

@yawnxyz•Updated 11 months ago

stevensDemo.cursorrules4 matches

@kuanche•Updated 55 mins 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" },

a4595dc5b24_.cursorrules4 matches

@vtTestLocal•Updated 6 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" },
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": "*",