Skip to main content

Interface: MongoDbGeneratedDataStore

Hierarchy

Methods

close

close(): Promise<void>

Returns

Promise<void>

Inherited from

GeneratedDataStore.close

Defined in

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


find

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

Parameters

NameType
filterFilter<SomeGeneratedData>

Returns

Promise<undefined | SomeGeneratedData[]>

Overrides

GeneratedDataStore.find

Defined in

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


findByCommandRunId

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

Parameters

NameType
commandRunIdObjectId

Returns

Promise<undefined | SomeGeneratedData[]>

Inherited from

GeneratedDataStore.findByCommandRunId

Defined in

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


findById

findById(generatedDataId): Promise<undefined | SomeGeneratedData>

Parameters

NameType
generatedDataIdObjectId

Returns

Promise<undefined | SomeGeneratedData>

Inherited from

GeneratedDataStore.findById

Defined in

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


insertMany

insertMany(generatedData): Promise<boolean>

Parameters

NameType
generatedDataSomeGeneratedData[]

Returns

Promise<boolean>

Inherited from

GeneratedDataStore.insertMany

Defined in

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


insertOne

insertOne(generatedData): Promise<boolean>

Parameters

NameType
generatedDataSomeGeneratedData

Returns

Promise<boolean>

Inherited from

GeneratedDataStore.insertOne

Defined in

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