Skip to main content

types

Documentation / types

SearchResultType​

Defined in: packages/ai-research-agent/src/types.d.ts:1

Extends​

  • Partial<{ url: string; title: string; snippet: string; score: string; domain: string; favicon: string; source: string; }>

Properties​

PropertyTypeInherited fromDefined in

url?

string

Partial.url

packages/ai-research-agent/src/types.d.ts:3

title?

string

Partial.title

packages/ai-research-agent/src/types.d.ts:4

snippet?

string

Partial.snippet

packages/ai-research-agent/src/types.d.ts:5

score?

string

Partial.score

packages/ai-research-agent/src/types.d.ts:6

domain?

string

Partial.domain

packages/ai-research-agent/src/types.d.ts:7

favicon?

string

Partial.favicon

packages/ai-research-agent/src/types.d.ts:8

source?

string

Partial.source

packages/ai-research-agent/src/types.d.ts:9


ArticleType​

Defined in: packages/ai-research-agent/src/types.d.ts:12

Extends​

  • Partial<{ url: string; title: string; html: string; cite: string; author: string; author_cite: string; author_type: string; date: string; source: string; word_count: number; error: string; }>

Properties​

PropertyTypeInherited fromDefined in

url?

string

Partial.url

packages/ai-research-agent/src/types.d.ts:14

title?

string

Partial.title

packages/ai-research-agent/src/types.d.ts:15

html?

string

Partial.html

packages/ai-research-agent/src/types.d.ts:16

cite?

string

Partial.cite

packages/ai-research-agent/src/types.d.ts:17

author?

string

Partial.author

packages/ai-research-agent/src/types.d.ts:18

author_cite?

string

Partial.author_cite

packages/ai-research-agent/src/types.d.ts:19

author_type?

string

Partial.author_type

packages/ai-research-agent/src/types.d.ts:20

date?

string

Partial.date

packages/ai-research-agent/src/types.d.ts:21

source?

string

Partial.source

packages/ai-research-agent/src/types.d.ts:22

word_count?

number

Partial.word_count

packages/ai-research-agent/src/types.d.ts:23

error?

string

Partial.error

packages/ai-research-agent/src/types.d.ts:24


AgentPromptType​

Defined in: packages/ai-research-agent/src/types.d.ts:27

Extends​

  • Partial<{ prompt: string; context: string; tools: string[]; variablesNotProvided: any[]; error: string; }>

Properties​

PropertyTypeInherited fromDefined in

prompt?

string

Partial.prompt

packages/ai-research-agent/src/types.d.ts:29

context?

string

Partial.context

packages/ai-research-agent/src/types.d.ts:30

tools?

string[]

Partial.tools

packages/ai-research-agent/src/types.d.ts:31

variablesNotProvided?

any[]

Partial.variablesNotProvided

packages/ai-research-agent/src/types.d.ts:32

error?

string

Partial.error

packages/ai-research-agent/src/types.d.ts:33