matt HOFFNER
initial attempt to use vad for detecting end of speech
c8758af
raw
history blame
No virus
523 Bytes
import { Tool } from 'openai-function-calling-tools';
import { z } from 'zod';
function createUrlSurfer() {
const paramsSchema = z.object({
input: z.string(),
});
const name = 'surfer';
const description = 'A custom URL navigator. Useful when a URL is provided with a question. A URL IS REQUIRED FOR THIS TO WORK along with user intent. Input should be a valid URL. Outputs a JSON array of relevant results.';
return new Tool(paramsSchema, name, description, {} as any).tool;
}
export { createUrlSurfer };