Features
Use Cases
Townie
AI
Blog
Docs
Pricing
Log in
Sign up
vlad
Vals
16
Likes
8
Forks
6
Joined
September 11, 2022
Forks
6
Sort
vlad
vscode
HTTP
Manage your blobs using VS Code ! Just fork this val to install it, and use an api token to authenticate.
Forked from
pomdtr/vscode
vlad
blueskyThreadToRss
HTTP
Subscribe to a Bluesky thread as an RSS feed https://vlad-blueskythreadtorss.web.val.run/<thread top post url> would give you the respective RSS Example: https://vlad-blueskythreadtorss.web.val.run/https://bsky.app/profile/maggieappleton.com/post/3lcip64rko22u
Forked from
vladimyr/fetchBlueskyPost
vlad
tempsimplegptexample
HTTP
// Example of action that doesn't accept any input, but returns something
Forked from
xkonti/tempsimplegptexample
vlad
gptApiFramework
Script
Allows for automatic generation of Hono API comatible with GPTs. Endpoints' inputs and outputs need to be specified via types from which the Open API spec is generated automatically and available via /gpt/schema endpoint. Usage example: import { GptApi } from "https://esm.town/v/xkonti/gptApiFramework"; import { z } from "npm:zod"; /** * COMMON TYPES */ const ResponseCommandSchema = z.object({ feedback: z.string().describe("Feedback regarding submitted action"), command: z.string().describe("The command for the Mediator AI to follow strictly"), data: z.string().optional().describe("Additional data related to the given command"), }).describe("Contains feedback and further instructions to follow"); export type ResponseCommand = z.infer<typeof ResponseCommandSchema>; /** * INITIALIZE API */ const api = new GptApi({ url: "https://xkonti-planoverseerai.web.val.run", title: "Overseer AI API", description: "The API for interacting with the Overseer AI", version: "1.0.0", }); /** * REQUIREMENTS GATHERING ENDPOINTS */ api.nothingToJson<ResponseCommand>({ verb: "POST", path: "/newproblem", operationId: "new-problem", desc: "Endpoint for informing Overseer AI about a new problem presented by the User", requestSchema: null, requestDesc: null, responseSchema: ResponseCommandSchema, responseDesc: "Instruction on how to proceed with the new problem", }, async (ctx) => { return { feedback: "User input downloaded. Problem analysis is required.", command: await getPrompt("analyze-problem"), data: "", }; }); export default api.serve();
Forked from
xkonti/gptApiFramework
vlad
blocks
HTTP
// Forked from @tmcw.blocks_inner
Forked from
vlad/blocks_inner
vlad
blocks_inner
Express (deprecated)
// Forked from @tmcw.blocks_inner
Forked from
tmcw/blocks_inner
Prev
Next