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//%22$%7Bconfig.siteUrl%7D/%22?q=openai&page=3&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 3230 results for "openai"(1328ms)

openaiproxy2 file matches

@MM05•Updated 3 months ago

openaiproxy2 file matches

@skutaans•Updated 3 months ago

token-server1 file match

@kwhinnery_openai•Updated 3 months ago
Mint tokens to use with the OpenAI Realtime API for WebRTC

openai_api_project_Pauline2 file matches

@Paulineseemann•Updated 3 months ago

translateToEnglishWithOpenAI1 file match

@shlmt•Updated 4 months ago

testOpenAI1 file match

@stevekrouse•Updated 4 months ago

testOpenAI1 file match

@shouser•Updated 4 months ago

stevens-openai5 file matches

@yash_ing•Updated 4 months ago

fetchAndStoreOpenAiUsage22 file matches

@nbbaier•Updated 5 months ago

openaiPricing9 file matches

@nbbaier•Updated 5 months ago
Project created from val URLs

Towniesystem_prompt.txt4 matches

@Skywalker•Updated 1 hour 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" },

Townie.cursorrules4 matches

@Skywalker•Updated 1 hour ago
94Note: When changing a SQLite table's schema, change the table's name (e.g., add _2 or _3) to create a fresh table.
95
96### OpenAI
97
98```ts
99import { OpenAI } from "https://esm.town/v/std/openai";
100const openai = new OpenAI();
101const completion = await openai.chat.completions.create({
102 messages: [
103 { role: "user", content: "Say hello in a creative way" },
reconsumeralization
import { OpenAI } from "https://esm.town/v/std/openai"; import { sqlite } from "https://esm.town/v/stevekrouse/sqlite"; /** * Practical Implementation of Collective Content Intelligence * Bridging advanced AI with collaborative content creation */ exp
kwhinnery_openai