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/$2?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 2155 results for "openai"(1027ms)

OpenAI2 file matches

@arthrod•Updated 9 months ago

ownOpenAI2 file matches

@kora•Updated 10 months ago

openaiproxy2 file matches

@mmrech•Updated 10 months ago

openai2 file matches

@willthereader•Updated 10 months ago

OpenAIStreaming2 file matches

@mjweaver01•Updated 10 months ago

openAiProxy2 file matches

@ashryanio•Updated 11 months ago

openAIStreamingExample2 file matches

@stevekrouse•Updated 12 months ago

openAIStreaming2 file matches

@xuybin•Updated 12 months ago

openAIHonoChatStreamExample2 file matches

@yawnxyz•Updated 1 year ago

gettingOpenAiStreamingtoWork2 file matches

@yawnxyz•Updated 1 year ago

untitled-936main.tsx1 match

@tysonwood0000x•Updated 1 hour ago
1import ky from "https://esm.sh/ky";
2
3const response = await fetch("https://www.google.com?q=openai&hl=en&gl=us", {
4 headers: {
5 "User-Agent":

leximain.tsx4 matches

@legal•Updated 2 hours ago
593
594export default async function(req: Request) {
595 const { OpenAI } = await import("https://esm.town/v/std/openai");
596 const { PDFExtract } = await import("npm:pdf.js-extract");
597
607 const action = url.searchParams.get("action");
608 const sourceUrl = import.meta.url.replace("esm.town", "val.town");
609 const openai = new OpenAI();
610 const MAX_TEXT_SUGGEST = 20000;
611 const MAX_TEXT_ANALYZE = 30000;
636 agentName: string,
637 ): Promise<object> {
638 log.push({ agent: agentName, type: "step", message: `Calling OpenAI gpt-4o...` });
639 try {
640 const response = await openai.chat.completions.create({
641 model: "gpt-4o",
642 messages: [{ role: "system", content: systemPrompt }, { role: "user", content: userMessage }],
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