Skip to main content

Interface: GeneratedDataStore

Hierarchy

Methods

close

close(): Promise<void>

Returns

Promise<void>

Defined in

packages/mongodb-chatbot-eval/src/generate/GeneratedDataStore.ts:40


find

find(filter): Promise<undefined | SomeGeneratedData[]>

Parameters

NameType
filterunknown

Returns

Promise<undefined | SomeGeneratedData[]>

Defined in

packages/mongodb-chatbot-eval/src/generate/GeneratedDataStore.ts:39


findByCommandRunId

findByCommandRunId(commandRunId): Promise<undefined | SomeGeneratedData[]>

Parameters

NameType
commandRunIdObjectId

Returns

Promise<undefined | SomeGeneratedData[]>

Defined in

packages/mongodb-chatbot-eval/src/generate/GeneratedDataStore.ts:36


findById

findById(generatedDataId): Promise<undefined | SomeGeneratedData>

Parameters

NameType
generatedDataIdObjectId

Returns

Promise<undefined | SomeGeneratedData>

Defined in

packages/mongodb-chatbot-eval/src/generate/GeneratedDataStore.ts:35


insertMany

insertMany(generatedData): Promise<boolean>

Parameters

NameType
generatedDataSomeGeneratedData[]

Returns

Promise<boolean>

Defined in

packages/mongodb-chatbot-eval/src/generate/GeneratedDataStore.ts:34


insertOne

insertOne(generatedData): Promise<boolean>

Parameters

NameType
generatedDataSomeGeneratedData

Returns

Promise<boolean>

Defined in

packages/mongodb-chatbot-eval/src/generate/GeneratedDataStore.ts:33