Interface: MongoDbGeneratedDataStore
Hierarchy
-
↳
MongoDbGeneratedDataStore
Methods
close
▸ close(): Promise
<void
>
Returns
Promise
<void
>
Inherited from
Defined in
packages/mongodb-chatbot-evaluation/src/generate/GeneratedDataStore.ts:50
find
▸ find(filter
): Promise
<undefined
| SomeGeneratedData
[]>
Parameters
Name | Type |
---|---|
filter | Filter <SomeGeneratedData > |
Returns
Promise
<undefined
| SomeGeneratedData
[]>
Overrides
Defined in
packages/mongodb-chatbot-evaluation/src/generate/GeneratedDataStore.ts:64
findByCommandRunId
▸ findByCommandRunId(commandRunId
): Promise
<undefined
| SomeGeneratedData
[]>
Parameters
Name | Type |
---|---|
commandRunId | ObjectId |
Returns
Promise
<undefined
| SomeGeneratedData
[]>
Inherited from
GeneratedDataStore.findByCommandRunId
Defined in
packages/mongodb-chatbot-evaluation/src/generate/GeneratedDataStore.ts:46
findById
▸ findById(generatedDataId
): Promise
<undefined
| SomeGeneratedData
>
Parameters
Name | Type |
---|---|
generatedDataId | ObjectId |
Returns
Promise
<undefined
| SomeGeneratedData
>
Inherited from
Defined in
packages/mongodb-chatbot-evaluation/src/generate/GeneratedDataStore.ts:45
insertMany
▸ insertMany(generatedData
): Promise
<boolean
>
Parameters
Name | Type |
---|---|
generatedData | SomeGeneratedData [] |
Returns
Promise
<boolean
>
Inherited from
Defined in
packages/mongodb-chatbot-evaluation/src/generate/GeneratedDataStore.ts:44
insertOne
▸ insertOne(generatedData
): Promise
<boolean
>
Parameters
Name | Type |
---|---|
generatedData | SomeGeneratedData |
Returns
Promise
<boolean
>
Inherited from
Defined in
packages/mongodb-chatbot-evaluation/src/generate/GeneratedDataStore.ts:43