From 94198f318b93cd33b70032707156db52029d47f1 Mon Sep 17 00:00:00 2001 From: Travis Fischer Date: Mon, 3 Jun 2024 03:55:56 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/fns.ts | 3 +++ src/services/diffbot-client.ts | 14 +++++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/fns.ts b/src/fns.ts index 55422f7..6b6d10d 100644 --- a/src/fns.ts +++ b/src/fns.ts @@ -12,6 +12,9 @@ export interface PrivateAIFunctionMetadata { description: string inputSchema: z.AnyZodObject methodName: string + + // TODO + // pre and post } export abstract class AIFunctionsProvider { diff --git a/src/services/diffbot-client.ts b/src/services/diffbot-client.ts index 8ea45de..08d2075 100644 --- a/src/services/diffbot-client.ts +++ b/src/services/diffbot-client.ts @@ -364,7 +364,15 @@ export namespace diffbot { githubUri?: string crunchbaseUri?: string googlePlusUri?: string + facebookUri?: string + angellistUri?: string + wikipediaUri?: string diffbotUri?: string + origin?: string + origins?: string[] + allUris?: string[] + + // extra metadata educations?: Education[] nationalities?: Nationality[] allNames?: string[] @@ -381,8 +389,6 @@ export namespace diffbot { parents?: Parent[] gender?: Gender importance?: number - origin?: string - wikipediaUri: string wikipediaPageviewsLastQuarterGrowth?: number wikipediaPageviewsLastYear?: number wikipediaPageviewsLastYearGrowth?: number @@ -390,12 +396,9 @@ export namespace diffbot { wikipediaPageviewsLastQuarter?: number wikipediaPageviewsGrowth?: number birthPlace?: BirthPlace - origins: string[] - crawlTimestamp: number types?: string[] unions?: Union[] languages?: Language[] - allUris?: string[] employments?: Employment[] birthDate?: DateTime religion?: Religion @@ -406,6 +409,7 @@ export namespace diffbot { location?: Location interests?: Interest[] age?: number + crawlTimestamp?: number } export interface Education {