Skip to main content

@nuclia/core / Exports / Ask / Answer

Interface: Answer

Ask.Answer

Table of contents

Properties

Properties

citations

Optional citations: Citations

Defined in

libs/sdk-core/src/lib/db/search/ask.models.ts:26


id

id: string

Defined in

libs/sdk-core/src/lib/db/search/ask.models.ts:24


inError

Optional inError: boolean

Defined in

libs/sdk-core/src/lib/db/search/ask.models.ts:29


incomplete

Optional incomplete: boolean

Defined in

libs/sdk-core/src/lib/db/search/ask.models.ts:28


jsonAnswer

Optional jsonAnswer: any

Defined in

libs/sdk-core/src/lib/db/search/ask.models.ts:27


metadata

Optional metadata: Object

Type declaration

NameType
timings?AskTimings
tokens?AskTokens

Defined in

libs/sdk-core/src/lib/db/search/ask.models.ts:30


promptContext

Optional promptContext: string[]

Defined in

libs/sdk-core/src/lib/db/search/ask.models.ts:31


sources

Optional sources: FindResults

Defined in

libs/sdk-core/src/lib/db/search/ask.models.ts:25


text

text: string

Defined in

libs/sdk-core/src/lib/db/search/ask.models.ts:23


type

type: "answer"

Defined in

libs/sdk-core/src/lib/db/search/ask.models.ts:22