Skip to main content

Interface: GeneratedDataStore

Hierarchy

Methods

close

close(): Promise<void>

Returns

Promise<void>

Defined in

packages/mongodb-chatbot-evaluation/src/generate/GeneratedDataStore.ts:50


find

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

Parameters

NameType
filterunknown

Returns

Promise<undefined | SomeGeneratedData[]>

Defined in

packages/mongodb-chatbot-evaluation/src/generate/GeneratedDataStore.ts:49


findByCommandRunId

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

Parameters

NameType
commandRunIdObjectId

Returns

Promise<undefined | SomeGeneratedData[]>

Defined in

packages/mongodb-chatbot-evaluation/src/generate/GeneratedDataStore.ts:46


findById

findById(generatedDataId): Promise<undefined | SomeGeneratedData>

Parameters

NameType
generatedDataIdObjectId

Returns

Promise<undefined | SomeGeneratedData>

Defined in

packages/mongodb-chatbot-evaluation/src/generate/GeneratedDataStore.ts:45


insertMany

insertMany(generatedData): Promise<boolean>

Parameters

NameType
generatedDataSomeGeneratedData[]

Returns

Promise<boolean>

Defined in

packages/mongodb-chatbot-evaluation/src/generate/GeneratedDataStore.ts:44


insertOne

insertOne(generatedData): Promise<boolean>

Parameters

NameType
generatedDataSomeGeneratedData

Returns

Promise<boolean>

Defined in

packages/mongodb-chatbot-evaluation/src/generate/GeneratedDataStore.ts:43