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/$1?q=function&page=2&format=json

For typeahead suggestions, use the /typeahead endpoint:

https://codesearch.val.run/typeahead?q=function

Returns an array of strings in format "username" or "username/projectName"

Found 24048 results for "function"(1581ms)

nicoFunctionScript2 file matches

@stevekrouse•Updated 1 year ago

functionZilla1 file match

@sdan•Updated 1 year ago

chatSampleFunctionExtraction2 file matches

@webup•Updated 1 year ago

chatSampleFunctionMultiple2 file matches

@webup•Updated 1 year ago

chatSampleFunctionSingle2 file matches

@webup•Updated 1 year ago

multiplicationFunctionTest1 file match

@rodrigotello•Updated 1 year ago

chatSampleFunctionTagging2 file matches

@webup•Updated 1 year ago

FunctionToHTMLForm1 file match

@rodrigotello•Updated 1 year ago

NanoCogsimple-chat.ts2 matches

@zone•Updated 53 mins ago
6const SIMPLE_MEMORIES = 'nanocog_simple_memories_v1';
7
8export async function initSimpleMemories() {
9 await sqlite.execute(`CREATE TABLE IF NOT EXISTS ${SIMPLE_MEMORIES} (
10 id TEXT PRIMARY KEY,
15}
16
17export async function processSimpleChat(message: string, userId: string) {
18 // Initialize simple memories table
19 await initSimpleMemories();

NanoCogschema.ts1 match

@zone•Updated 1 hour ago
6const USERS_TABLE = 'nanocog_users_v1';
7
8export async function initializeDatabase() {
9 // Atoms table - core knowledge representation
10 await sqlite.execute(`CREATE TABLE IF NOT EXISTS ${ATOMS_TABLE} (
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": "*",
webup
LangChain (https://langchain.com) Ambassador, KubeSphere (https://kubesphere.io) Ambassador, CNCF OpenFunction (https://openfunction.dev) TOC Member.