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/$%7Bsuccess?q=openai&page=147&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 1573 results for "openai"(1279ms)

schemasWeatherREADME.md1 match

@webup•Updated 1 year ago
1Migrated from folder: openai/samples/functions/schemasWeather

chatSampleFunctionSingleREADME.md1 match

@webup•Updated 1 year ago
1Migrated from folder: openai/samples/functions/chatSampleFunctionSingle

genvalREADME.md1 match

@andreterron•Updated 1 year ago
1# [Generate a Val](https://andreterron-genval.express.val.run)
2
3Uses the OpenAI API to generate code for a val based on the description given by the user.
4
5TODO:

openaiOpenAPIREADME.md1 match

@stevekrouse•Updated 1 year ago
1Migrated from folder: Archive/gptPlugin/openaiOpenAPI

moderateSampleHateREADME.md1 match

@webup•Updated 1 year ago
1Migrated from folder: openai/samples/moderateSampleHate

moderateSampleViolenceREADME.md1 match

@webup•Updated 1 year ago
1Migrated from folder: openai/samples/moderateSampleViolence

completeSampleExplainCodeREADME.md1 match

@webup•Updated 1 year ago
1Migrated from folder: openai/samples/completeSampleExplainCode

completeREADME.md1 match

@webup•Updated 1 year ago
1Migrated from folder: openai/complete

chatSampleSystemRoleExpertREADME.md1 match

@webup•Updated 1 year ago
1Migrated from folder: openai/samples/chatSampleSystemRoleExpert

chatSampleSystemRoleSimpleLineREADME.md1 match

@webup•Updated 1 year ago
1Migrated from folder: openai/samples/chatSampleSystemRoleSimpleLine

testOpenAI1 file match

@stevekrouse•Updated 54 mins ago

testOpenAI1 file match

@shouser•Updated 2 days ago
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": "*",