Skip to main content

Interface: EvaluationStore

Hierarchy

Methods

close

close(): Promise<void>

Returns

Promise<void>

Defined in

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


find

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

Parameters

NameType
filterunknown

Returns

Promise<undefined | EvalResult[]>

Defined in

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


insertMany

insertMany(evalResults): Promise<boolean>

Parameters

NameType
evalResultsEvalResult[]

Returns

Promise<boolean>

Defined in

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


insertOne

insertOne(evalResult): Promise<boolean>

Parameters

NameType
evalResultEvalResult

Returns

Promise<boolean>

Defined in

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