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/$%7BsvgDataUrl%7D?q=openai&page=2&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 2240 results for "openai"(4576ms)

openaiproxy2 file matches

@std•Updated 1 month ago

testOpenAI1 file match

@shouser•Updated 1 month ago

stevens-openai5 file matches

@yash_ing•Updated 1 month ago

fetchAndStoreOpenAiUsage22 file matches

@nbbaier•Updated 1 month ago

openaiPricing9 file matches

@nbbaier•Updated 1 month ago
Project created from val URLs

OpenAI2 file matches

@dmartinez•Updated 2 months ago

OpenAI2 file matches

@Lucianoc•Updated 2 months ago

openaiStreamingDemo2 file matches

@stevekrouse•Updated 2 months ago

openaistreaminghtml2 file matches

@stevekrouse•Updated 2 months ago

OpenAIProxy1 file match

@harveyfullstack•Updated 3 months ago

anchorPDSval-town.md4 matches

@tijs•Updated 1 hour ago
87Note: When changing a SQLite table's schema, change the table's name (e.g., add _2 or_3) to create a fresh table.
88
89### OpenAI
90
91```ts
92import { OpenAI } from "https://esm.town/v/std/openai";
93const openai = new OpenAI();
94const completion = await openai.chat.completions.create({
95 messages: [
96 { role: "user", content: "Say hello in a creative way" },

stevensDemo.cursorrules4 matches

@lurst•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" },
kwhinnery_openai
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