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%22Image%20title%22?q=openai&page=5&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 1578 results for "openai"(1171ms)

openAIStreaming2 file matches

@maxm•Updated 11 months ago

OpenAI2 file matches

@pattysi•Updated 11 months ago

openAiExample2 file matches

@yawnxyz•Updated 1 year ago

openAiHelloWorld2 file matches

@yawnxyz•Updated 1 year ago

openaiUploadFile2 file matches

@yawnxyz•Updated 1 year ago

openaiFineTuneData2 file matches

@stevekrouse•Updated 1 year ago

openaiUploadFile2 file matches

@stevekrouse•Updated 1 year ago

openai2 file matches

@stevekrouse•Updated 1 year ago

OpenAI2 file matches

@pomdtr•Updated 1 year ago

chat_openai1 file match

@cosmo•Updated 1 year ago

blogget-old-posts.ts5 matches

@fil•Updated 37 mins ago
198 },
199 {
200 "title": "An Introduction to OpenAI fine-tuning",
201 "slug": "an-introduction-to-openai-fine-tuning",
202 "link": "/blog/an-introduction-to-openai-fine-tuning",
203 "description": "How to customize OpenAI to your liking",
204 "pubDate": "Fri, 25 Aug 2023 00:00:00 GMT",
205 "author": "Steve Krouse",
417 "slug": "val-town-newsletter-16",
418 "link": "/blog/val-town-newsletter-16",
419 "description": "Our seed round, growing team, Codeium completions, @std/openai, and more",
420 "pubDate": "Mon, 22 Apr 2024 00:00:00 GMT",
421 "author": "Steve Krouse",

Towniesystem_prompt.txt4 matches

@charmaine•Updated 50 mins 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": "*",