mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix: add nlpentities populate
This commit is contained in:
parent
6a25d47349
commit
61d8938212
@ -158,6 +158,14 @@ export class NlpValueRepository extends BaseRepository<
|
||||
preserveNullAndEmptyArrays: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
$lookup: {
|
||||
from: 'nlpentities',
|
||||
localField: 'entity',
|
||||
foreignField: '_id',
|
||||
as: 'entities',
|
||||
},
|
||||
},
|
||||
{
|
||||
$group: {
|
||||
_id: '$_id',
|
||||
|
Loading…
Reference in New Issue
Block a user