Skip to main content

Interface: MongoDbEvaluationStore

Hierarchy

Methods

close

close(): Promise<void>

Returns

Promise<void>

Inherited from

EvaluationStore.close

Defined in

packages/mongodb-chatbot-eval/src/evaluate/EvaluationStore.ts:20


find

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

Parameters

NameType
filterFilter<EvalResult>

Returns

Promise<undefined | EvalResult[]>

Overrides

EvaluationStore.find

Defined in

packages/mongodb-chatbot-eval/src/evaluate/EvaluationStore.ts:33


insertMany

insertMany(evalResults): Promise<boolean>

Parameters

NameType
evalResultsEvalResult[]

Returns

Promise<boolean>

Inherited from

EvaluationStore.insertMany

Defined in

packages/mongodb-chatbot-eval/src/evaluate/EvaluationStore.ts:18


insertOne

insertOne(evalResult): Promise<boolean>

Parameters

NameType
evalResultEvalResult

Returns

Promise<boolean>

Inherited from

EvaluationStore.insertOne

Defined in

packages/mongodb-chatbot-eval/src/evaluate/EvaluationStore.ts:17